commit | b140c9966254766b7e3b4bf4f180cb89f3fa7bf9 | [log] [tgz] |
---|---|---|
author | Zhengzheng Liu <zhzhliu@chromium.org> | Fri Nov 08 22:21:52 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Nov 08 22:21:52 2024 |
tree | 04bd8c983be7e78d89f9694bf34f4b4e9133c08b | |
parent | 37894950491b1617987a48104f4f863ece9a2744 [diff] |
Apply os setting of overlay scrollbar to web instances This is the last CL to use ChromeOS OverlayScrollbar system pref to determine whether to always show scrollbars. With this CL, relaunch is not needed to apply the overlay scrollbar os settings change. Control logic : overlay scrollbar will be turned off only when overlayscrollbar feature flag off and always show scrollbar os settings on. Demos 1: overlay scrollbar feature flag is off, os setting is on. scrollbar is controlled by alawys show scrollbar os setting. https://drive.google.com/file/d/1TDTW3jrnRb1WiB20UJU1e9U0YXzA8ZL1/view?usp=sharing&resourcekey=0-_JTjOZWyEFX4nGs0gxkgdQ Demo 2: overlay scrollbar feature flag is on, os setting is on. scrollbar will always be on no matter always show scrollbar os setting. https://drive.google.com/file/d/1tpJAH-qksMIoagXg4SDHs69UBr85KM3Q/view?usp=sharing&resourcekey=0-ZNU4HggvoQ8WoeBEJQVvDg Demo 3: os setting is off. Always show scrollbar os setting will be invisible. scrollbar will be controlled by overlay scrollbar feature flag. https://drive.google.com/file/d/1DeK00Sv3IdY2Rj4OGhKAtd2J0saABpKg/view?usp=sharing&resourcekey=0-oaOukitbXoF_aV8iSIl_sQ https://drive.google.com/file/d/1iiE126hT4fXuhNvIKjvy37xyhYf61-Bx/view?usp=sharing&resourcekey=0-KHvG7I_iaNvro-xvEwyh3w Bug: b:367789464 Change-Id: I8b8a4a2f263ca6b465f0cc8de56c2b0ccccd07ca Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5977022 Reviewed-by: Dave Tapuska <dtapuska@chromium.org> Commit-Queue: Zhengzheng Liu <zhzhliu@chromium.org> Reviewed-by: Alex Gough <ajgo@chromium.org> Reviewed-by: Xiyuan Xia <xiyuan@chromium.org> Cr-Commit-Position: refs/heads/main@{#1380652}
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.