commit | 84a764c812a837c0e729796d2d0db86b015867e4 | [log] [tgz] |
---|---|---|
author | Wenyu Fu <wenyufu@chromium.org> | Thu Jun 27 22:24:19 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Jun 27 22:24:19 2024 |
tree | fc3a4cf6d6b751829f876ba0f71a51a11f209623 | |
parent | 8a2840a26bb652a4dc33b83bc21599d55ec94699 [diff] |
[SafeArea] Align Fullscreen behavior of SafeAreaInsetsHostImpl with DisplayCutoutHostImpl In fullscreen mode, DisplayCutoutInsetHostImpl sends insets to the fullscreened frame and clears insets on that frame when exiting fullscreen. If there's a cross document navigation in the primary main frame while in fullscreen mode, DisplayCutoutInsetHostImpl sends insets to the main frame, regardless whether a fullscreen frame exists or not. SafeAreaInsetsHostImpl currently doesn't clear insets when exiting fullscreen nor does it track navigations in the same way as DisplayCutoutInsetHostImpl when in fullscreen mode. This CL brings DisplayCutoutInsetHostImpl and SafeAreaInsetsHostImpl behavior closer together. Bug: 324436581, 349187600 Change-Id: Icbe5655ce746b3af1cafc222778624f823da0fc4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5661579 Reviewed-by: Bo Liu <boliu@chromium.org> Commit-Queue: Wenyu Fu <wenyufu@chromium.org> Reviewed-by: Theresa Sullivan <twellington@chromium.org> Cr-Commit-Position: refs/heads/main@{#1320678}
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.