commit | ad426e5a712b700142e13c461d602f0051a05fbf | [log] [tgz] |
---|---|---|
author | Maggie Chen <magchen@chromium.org> | Thu Dec 05 19:48:35 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Dec 05 19:48:35 2024 |
tree | f95c24a04365418d1b948034d9718b29414b4d85 | |
parent | ffea6c62b74c853bf8b7586d370ae5f0c5d0140e [diff] |
Update max_safe_area_insets in Blink Page (1) Scale max_safe_area_insets by the device scale factor in Blink and pass this scaled insets to CC. (2) Change the max_safe_area_insets to the float type gfx::InsetsF (3) In CC, store |max_safe_area_insets| in LayerTreeImpl (the pending tree and the active tree). It's no longer stored in LayerTreeHostImpl since |max_safe_area_insets| could change after a new device scale factor . Bug: 373980016 Change-Id: I05dabead96c9748c130019b51cb0b8cc748e719e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6068811 Commit-Queue: Maggie Chen <magchen@chromium.org> Reviewed-by: Steve Kobes <skobes@chromium.org> Cr-Commit-Position: refs/heads/main@{#1392466}
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.