commit | 2b832346ea97bd660ef675f42813e9557feff344 | [log] [tgz] |
---|---|---|
author | Adam Kassi Lahlou <adamkl@google.com> | Tue Jun 17 12:19:00 2025 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Jun 17 12:19:00 2025 |
tree | f0eff9ae9550c662b109fdc0db958d7dd7bb2818 | |
parent | 9b263dc9b3d1158cbd0788f1c6beab643c203185 [diff] |
[Watermark 2.0] Apply user preferences : Opacity from Policy This CL updates the watermark settings to fetch fill and outline opacity values from the user's preference via PrefService. Key changes include: - Modify GetFillColor and GetOutlineColor to get preference values. - Passing preference values after retrieving the user profile from the browser in the browser view and the data protection navigation code. - Implementing precedence rules to get opacity from the desired source. This approach provides more granular control over the watermark's appearance. Bug: 423935985 Change-Id: I2b44d0831c8dc3528faad50a5048804d6dc61eb9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6637796 Reviewed-by: Jan Keitel <jkeitel@google.com> Commit-Queue: Adam Kassi Lahlou <adamkl@google.com> Reviewed-by: Nasser Al-shawwa <alshawwa@chromium.org> Cr-Commit-Position: refs/heads/main@{#1474890}
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.