commit | 165748f3cc69ca277294246947f16dc464117767 | [log] [tgz] |
---|---|---|
author | Joseph Park <josephjoopark@chromium.org> | Fri Nov 01 16:33:22 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Nov 01 16:33:22 2024 |
tree | 7dbf8368886d5e89b3b5efdeb6a816822f66d991 | |
parent | dd4e824d62a1e71f69c04654436d11860e867ede [diff] |
Move some Cast toolbar button functionality into a controller This CL moves out some of the functionality for the Cast toolbar button out into a per-browser controller. This is being done in preparation as we replace the existing Cast button to a PinnedActionToolbarButton. The current observer pattern employed by the Cast button will no longer work, so we create this controller to update the pinned button as needed. Low-Coverage-Reason: TESTS_IN_SEPARATE_CL Tests required for CastBrowserController are dependent on some changes in the following CL. Will add tests there. Change-Id: I70dd585984ba306ffdaf958c6e64af9451b81f97 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5914333 Reviewed-by: David Pennington <dpenning@chromium.org> Commit-Queue: Joseph Park <josephjoopark@chromium.org> Reviewed-by: Caroline Rising <corising@chromium.org> Cr-Commit-Position: refs/heads/main@{#1376912}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure.
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.