0
Files
src/ui/color
Devon Loehr 7f0fff599c Stringify bools consistently
This changes instances of `b ? "true" : "false"` to use
`base::ToString(b)` instead, for consistency.

This change applies to the following directories:
ui

This CL was uploaded by git cl split.

Bug: 335797528
Change-Id: I43addf03cccb2892815d923230042bce33cf848c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6327587
Reviewed-by: Keren Zhu <kerenzhu@chromium.org>
Reviewed-by: Xiyuan Xia <xiyuan@chromium.org>
Auto-Submit: Devon Loehr <dloehr@google.com>
Commit-Queue: Devon Loehr <dloehr@google.com>
Cr-Commit-Position: refs/heads/main@{#1428453}
2025-03-05 10:58:31 -08:00
..

Color Pipeline

This directory implements the cross-platform Color Pipeline machinery, including all core classes and the //ui-level mixers/recipes. Embedders may add more mixers/recipes to define additional colors or modify how these appear (for an example in Chrome, see the chrome/browser/ui/color/ directory).

To the greatest degree possible, colors in Chromium should be identified using ColorIds and their physical values obtained from an appropriate ColorProvider; direct use of SkColor outside ColorRecipes should be limited to colors which are necessarily transient, e.g. colors based on a current animation state or colors sampled dynamically from playing media.