| commit | 25e4bc7a3beb78efeee44bc38a50229a1dba4cee | [log] [tgz] |
|---|---|---|
| author | Tom Lukaszewicz <tluk@chromium.org> | Fri Aug 05 20:18:19 2022 |
| committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Aug 05 20:18:19 2022 |
| tree | f52250b6d45f62da5baac5647ad60212f4165a52 | |
| parent | e44239db56f3652b666cbacb24c1ac0330b2f4fd [diff] |
[webui tab strip] Close the context menu when the TabStripModel changes This CL updates the page handler to close the context menu when the tab strip model changes. Currently the tab strip model may remain open if the tab strip changes in a non-interactive way (programmatically via extensions for e.g.). This ensures that the context menu options accurately reflect the tab strip state and avoids having performing incorrect actions that could potentially leave the tab strip in an inconsistent state or cause crashes. Bug: 1350023 Change-Id: I899b78bb7a004c7c09f7214b0bb8b990de033c21 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3809912 Commit-Queue: Thomas Lukaszewicz <tluk@chromium.org> Reviewed-by: Yuheng Huang <yuhengh@chromium.org> Cr-Commit-Position: refs/heads/main@{#1032084}
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.