Commit c04c9984 authored by Rune Lillesveen's avatar Rune Lillesveen Committed by Commit Bot

Add dark scheme color constants to NativeThemeBase.

They are currently all gfx::kPlaceholderColor (red), but will be changed
in following CLs.

Bug: 939811
Change-Id: Ie1a8d2ba23b2cac84095eb5897a43be8db7392a4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1827430
Commit-Queue: Rune Lillesveen <futhark@chromium.org>
Reviewed-by: default avatarEvan Stade <estade@chromium.org>
Cr-Commit-Position: refs/heads/master@{#701733}
parent 49bf8c27
This diff is collapsed.
...@@ -201,13 +201,13 @@ class NATIVE_THEME_EXPORT NativeThemeBase : public NativeTheme { ...@@ -201,13 +201,13 @@ class NATIVE_THEME_EXPORT NativeThemeBase : public NativeTheme {
SkColor OutlineColor(SkScalar* hsv1, SkScalar* hsv2) const; SkColor OutlineColor(SkScalar* hsv1, SkScalar* hsv2) const;
// Paint the common parts of the checkboxes and radio buttons. // Paint the common parts of the checkboxes and radio buttons.
// borderRadius specifies how rounded the corners should be. // border_radius specifies how rounded the corners should be.
SkRect PaintCheckboxRadioCommon(cc::PaintCanvas* canvas, SkRect PaintCheckboxRadioCommon(cc::PaintCanvas* canvas,
State state, State state,
const gfx::Rect& rect, const gfx::Rect& rect,
const ButtonExtraParams& button, const ButtonExtraParams& button,
bool is_checkbox, bool is_checkbox,
const SkScalar borderRadius, const SkScalar border_radius,
ColorScheme color_scheme) const; ColorScheme color_scheme) const;
// The length of the arrow buttons, 0 means no buttons are drawn. // The length of the arrow buttons, 0 means no buttons are drawn.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment