
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}
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
ColorId
s and their physical values obtained from an appropriate
ColorProvider
; direct use of SkColor
outside
ColorRecipe
s 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.