| commit | 958e32a827bacac75a325149d6f648011c4cacba | [log] [tgz] |
|---|---|---|
| author | Keren Zhu <kerenzhu@chromium.org> | Fri Jan 31 22:05:32 2025 |
| committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Jan 31 22:05:32 2025 |
| tree | 957299c10dded822832f98f9d8e00c45b91149ef | |
| parent | 1623f5a164edcb7e6507f4077bb62e4cc5f94f1e [diff] |
Add browser window scrim when showing window-modal dialogs This change shows a scrim that covers the entire browser window while a window-modal dialog is showing. This is to help users realize their window is not interactable. Implementation wise, a new event is added to WidgetObserver that notifies a widget when a window-modal child widget's visibility changes. MacOS is excluded from this change because it already shows a window scrim for window-modal dialogs. This scrim was a visual effect of Cocoa sheets since macOS 11. screenshot: https://screenshot.googleplex.com/9bLcWwoFT2fvxmo Bug: 391903216 Change-Id: I6c349ed3af7e12d6f919851ca4af23cb3cf157e6 Screenshots: https://screenshot.googleplex.com/9bLcWwoFT2fvxmo Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6219849 Reviewed-by: Peter Kasting <pkasting@chromium.org> Commit-Queue: Keren Zhu <kerenzhu@chromium.org> Cr-Commit-Position: refs/heads/main@{#1414398}
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.