commit | b0c5ecff614a6bc15d2e4ce7e44a7b70a7ad99cf | [log] [tgz] |
---|---|---|
author | Toni Barzic <tbarzic@chromium.org> | Mon Apr 17 20:10:02 2023 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Apr 17 20:10:02 2023 |
tree | 2719777a000e6868055dd2ec81a27cd7f81eb299 | |
parent | 3fdab0edc9179e989893cc308f6f008be169a5ea [diff] |
Fix toast bounds with extended hotseat When adjusting the toast work area for extended hotseat, the work needs to be reduced to account for padding between the shelf widget and the hotseat widget. Fixes user work area bounds on secondary display in tablet mode - the shelf bounds used for work area calculation in tablet mode were in root window coordinates instead of screen coordinates. This fixes the toast position on secondary display in tablet mode - toast was previously positioned under the shelf. BUG=b:278273268 Change-Id: Id01f2442329ec8867cfc1732d9bb6adfe58fb889 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4429316 Commit-Queue: Toni Barzic <tbarzic@chromium.org> Reviewed-by: Alex Newcomer <newcomer@chromium.org> Code-Coverage: Findit <findit-for-me@appspot.gserviceaccount.com> Cr-Commit-Position: refs/heads/main@{#1131456}
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.