commit | 4e1c63a05bda3af72503c16fbbe5d8746b356d6d | [log] [tgz] |
---|---|---|
author | Tau Gärtli <google@tau.garden> | Mon Aug 11 18:41:52 2025 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Aug 11 18:41:52 2025 |
tree | 4e0712b67d2c981a1bd5e5319597191c7d3c5aee | |
parent | 5ddebaf6ad0b91fd2b661ce14ff80ca0ddcaf301 [diff] |
[AccentColor] Pump Linux system accent color This change pumps the system accent color for CSS property "accent-color" and AccentColor on Linux. Currently, Chromium uses "DarkModeManagerLinux" to get the system accent color using the Settings[1] portal. This change repurposes the manager to update NativeTheme instance for Web, which in turn sets `accent_color` in ThemeHelper. See also the previous change that enabled the same for Windows: https://crrev.com/c/5763388 [1]: https://flatpak.github.io/xdg-desktop-portal/docs/doc-org.freedesktop.impl.portal.Settings.html Bug: 391917949 Change-Id: I9a1813dd6ae7a138e2abac053189a010cf0d360d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6831464 Reviewed-by: Bo Liu <boliu@chromium.org> Commit-Queue: Thomas Anderson <thomasanderson@chromium.org> Reviewed-by: Thomas Anderson <thomasanderson@chromium.org> Cr-Commit-Position: refs/heads/main@{#1499721}
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.