commit | 0d71c47ae6d383587cdbbef1bf8c50f6b6e3016b | [log] [tgz] |
---|---|---|
author | Ben Chin <[email protected]> | Thu Oct 09 01:28:52 2025 |
committer | Chromium LUCI CQ <[email protected]> | Thu Oct 09 01:28:52 2025 |
tree | 8df73c8d2ccf967d8427ffb0820de0817c43f292 | |
parent | e488f6054441dcbba93fd502519ac1b812d585cc [diff] |
Dismiss extension popup on window resize This change implements two improvements to the extension popup menu: 1. The popup now automatically dismisses when the application window is resized. This is achieved by enabling `setDismissOnScreenSizeChange` on the `AnchoredPopupWindow`, which utilizes a `WindowBoundsChangeDetector` to listen for layout changes and close the popup accordingly. This ensures the popup's position remains valid and improves user experience. 2. The extensions menu button now properly toggles the menu's visibility. Previously, clicking the button while the menu was open would cause it to quickly close and reopen. Now, it cleanly dismisses the menu if it is already visible. Bug: 443868365 Change-Id: Iaa2b8669dac369943bce073b21f27ad74b9e4821 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7015867 Reviewed-by: Ted Choc <[email protected]> Reviewed-by: David Trainor <[email protected]> Commit-Queue: Ben Chin <[email protected]> Cr-Commit-Position: refs/heads/main@{#1527277}
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.