commit | 5898350b2e1d74f8791b5d190311aa04db234e5f | [log] [tgz] |
---|---|---|
author | Keren Zhu <kerenzhu@chromium.org> | Fri Sep 05 17:51:30 2025 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Sep 05 17:51:30 2025 |
tree | b71ade2d19222b5c2028ee9a9004a1eefa428369 | |
parent | 450938a00b1ff7dad12ceb6a566f080b67b998fe [diff] |
views: Split SetBackgroundColor() out of Widget::SetColorModeOverride() The existing Widget::SetColorModeOverride() can set both color mode and a background color. This CL splits SetBackgroundColor() out of SetColorModeOverride() to improve clarity. Call sites have been updated to use the appropriate new method. Bug: none Change-Id: Ie531b337fc4142ee5b0dbd631a2ed499b37efe39 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6914440 Commit-Queue: Keren Zhu <kerenzhu@chromium.org> Reviewed-by: Colin Blundell <blundell@chromium.org> Cr-Commit-Position: refs/heads/main@{#1511717}
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.