-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor WebAppFrameToolbarView ownership 3/x: Linux.
This makes PWAs work on Linux with the WebAppFrameToolbarInBrowserView feature enabled. Besides changes guarded by that flag, this also includes one small change when the flag is disabled: when calculating the space taken up by window controls overlay in "web" coordinates, the code did subtract top insets from the y coordinate, but did not subtract the same distance from the height of the area. This CL fixes this (since replicating the buggy behavior in the new implementation would be harder). While this doesn't change the layout of anything directly, since it does change what values are exposed via the web API, websites using Window Controls Overlay might look slightly different. Bug: 1407240 Change-Id: I4c3cdc98a626aa421d1451973b4a35b4444a0869 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4179737 Reviewed-by: Peter Kasting <pkasting@chromium.org> Commit-Queue: Marijn Kruisselbrink <mek@chromium.org> Cr-Commit-Position: refs/heads/main@{#1099019}
- Loading branch information
1 parent
1775e55
commit c2d7a78
Showing
8 changed files
with
123 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters