Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8)

Side by Side Diff: ui/native_theme/native_theme_dark_aura.cc

Issue 2345183002: Views: Draw Textfield selected text in gray when top-level Widget loses focus.
Patch Set: Refactor to use SelectionController(Delegate). Unfinished! Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ui/native_theme/native_theme.h ('k') | ui/native_theme/native_theme_mac.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ui/native_theme/native_theme_dark_aura.h" 5 #include "ui/native_theme/native_theme_dark_aura.h"
6 6
7 #include "ui/gfx/color_palette.h" 7 #include "ui/gfx/color_palette.h"
8 8
9 namespace ui { 9 namespace ui {
10 10
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 case kColorId_FocusedMenuItemBackgroundColor: 114 case kColorId_FocusedMenuItemBackgroundColor:
115 case kColorId_MenuSeparatorColor: 115 case kColorId_MenuSeparatorColor:
116 case kColorId_MenuBackgroundColor: 116 case kColorId_MenuBackgroundColor:
117 case kColorId_MenuBorderColor: 117 case kColorId_MenuBorderColor:
118 case kColorId_EnabledMenuButtonBorderColor: 118 case kColorId_EnabledMenuButtonBorderColor:
119 case kColorId_FocusedMenuButtonBorderColor: 119 case kColorId_FocusedMenuButtonBorderColor:
120 case kColorId_HoverMenuButtonBorderColor: 120 case kColorId_HoverMenuButtonBorderColor:
121 case kColorId_LinkDisabled: 121 case kColorId_LinkDisabled:
122 case kColorId_TextfieldReadOnlyColor: 122 case kColorId_TextfieldReadOnlyColor:
123 case kColorId_TextfieldReadOnlyBackground: 123 case kColorId_TextfieldReadOnlyBackground:
124 case kColorId_TextfieldSelectionBackgroundUnfocused:
124 case kColorId_TooltipBackground: 125 case kColorId_TooltipBackground:
125 case kColorId_TooltipText: 126 case kColorId_TooltipText:
126 case kColorId_TreeBackground: 127 case kColorId_TreeBackground:
127 case kColorId_TreeText: 128 case kColorId_TreeText:
128 case kColorId_TreeSelectedText: 129 case kColorId_TreeSelectedText:
129 case kColorId_TreeSelectedTextUnfocused: 130 case kColorId_TreeSelectedTextUnfocused:
130 case kColorId_TreeSelectionBackgroundFocused: 131 case kColorId_TreeSelectionBackgroundFocused:
131 case kColorId_TreeSelectionBackgroundUnfocused: 132 case kColorId_TreeSelectionBackgroundUnfocused:
132 case kColorId_TreeArrow: 133 case kColorId_TreeArrow:
133 case kColorId_TableBackground: 134 case kColorId_TableBackground:
(...skipping 18 matching lines...) Expand all
152 153
153 NOTREACHED(); 154 NOTREACHED();
154 return gfx::kPlaceholderColor; 155 return gfx::kPlaceholderColor;
155 } 156 }
156 157
157 NativeThemeDarkAura::NativeThemeDarkAura() : NativeThemeAura(false) {} 158 NativeThemeDarkAura::NativeThemeDarkAura() : NativeThemeAura(false) {}
158 159
159 NativeThemeDarkAura::~NativeThemeDarkAura() {} 160 NativeThemeDarkAura::~NativeThemeDarkAura() {}
160 161
161 } // namespace ui 162 } // namespace ui
OLDNEW
« no previous file with comments | « ui/native_theme/native_theme.h ('k') | ui/native_theme/native_theme_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698