commit | e4929111a83c589ab00cc087445e827c25b8fb9c | [log] [tgz] |
---|---|---|
author | Kaan Alsan <alsan@chromium.org> | Wed Jan 29 00:59:04 2025 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Jan 29 00:59:04 2025 |
tree | 6c1ed91b1a386249e4b908c31f74bc8770dfca98 | |
parent | 6261d39ff76dc04543abc9d7a1af536dfa0c67af [diff] |
Track tab (de)activation in PageActionController This CL updates PageActionController to be notified of tab activation events, and updating the model accordingly. The model now also considers tab activation in its `GetVisible()` calculation, making it an appropriate source of truth for feature controllers that want to respond to changes in their page actions. Prior to this, feature controllers couldn't rely on `GetVisible()` to be the truth, since PageActionModel is per-tab and is effectively "dormant" until its tab is active. Change-Id: Ib9e69c75ebc4a0b49207b92bc12866a2917bf58c Bug: 391894420 Fixed: 391894420 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6182330 Reviewed-by: Christopher Grant <cjgrant@chromium.org> Reviewed-by: Darryl James <dljames@chromium.org> Commit-Queue: Kaan Alsan <alsan@chromium.org> Cr-Commit-Position: refs/heads/main@{#1412641}
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.