Chromium Code Reviews| Index: ui/native_theme/native_theme_win.cc |
| diff --git a/ui/native_theme/native_theme_win.cc b/ui/native_theme/native_theme_win.cc |
| index 674352c4a22f553e26c974d337371fb0efd907dc..cc90f3e2060515fbbc6dab55763fcec1f0a1763d 100644 |
| --- a/ui/native_theme/native_theme_win.cc |
| +++ b/ui/native_theme/native_theme_win.cc |
| @@ -517,6 +517,8 @@ SkColor NativeThemeWin::GetSystemColor(ColorId color_id) const { |
| const SkColor kResultsTableUrlColor = |
| md ? gfx::kGoogleBlue700 : SkColorSetRGB(0x0b, 0x80, 0x43); |
| const SkColor kResultsTableSelectedUrlColor = SK_ColorWHITE; |
| + // Label: |
| + const SkColor kLabelTextSelectionBackgroundFocusedColor = gfx::kGoogleBlue700; |
| switch (color_id) { |
| // Windows |
| @@ -549,6 +551,10 @@ SkColor NativeThemeWin::GetSystemColor(ColorId color_id) const { |
| return system_colors_[COLOR_BTNTEXT]; |
| case kColorId_LabelDisabledColor: |
| return system_colors_[COLOR_GRAYTEXT]; |
| + case kColorId_LabelTextSelectionColor: |
| + return system_colors_[COLOR_HIGHLIGHTTEXT]; |
| + case kColorId_LabelTextSelectionBackgroundFocused: |
| + return kLabelTextSelectionBackgroundFocusedColor; |
|
karandeepb
2016/11/07 04:06:36
Tested the patch on Windows as well.
Had to chan
|
| // Textfield |
| case kColorId_TextfieldDefaultColor: |