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

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: Fix lifetime issues with BorderView's widget_ and address review comments. Created 4 years, 1 month 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
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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 case kColorId_FocusedMenuItemBackgroundColor: 111 case kColorId_FocusedMenuItemBackgroundColor:
112 case kColorId_MenuSeparatorColor: 112 case kColorId_MenuSeparatorColor:
113 case kColorId_MenuBackgroundColor: 113 case kColorId_MenuBackgroundColor:
114 case kColorId_MenuBorderColor: 114 case kColorId_MenuBorderColor:
115 case kColorId_EnabledMenuButtonBorderColor: 115 case kColorId_EnabledMenuButtonBorderColor:
116 case kColorId_FocusedMenuButtonBorderColor: 116 case kColorId_FocusedMenuButtonBorderColor:
117 case kColorId_HoverMenuButtonBorderColor: 117 case kColorId_HoverMenuButtonBorderColor:
118 case kColorId_LinkDisabled: 118 case kColorId_LinkDisabled:
119 case kColorId_TextfieldReadOnlyColor: 119 case kColorId_TextfieldReadOnlyColor:
120 case kColorId_TextfieldReadOnlyBackground: 120 case kColorId_TextfieldReadOnlyBackground:
121 case kColorId_TextfieldSelectionBackgroundUnfocused:
msw 2016/11/09 02:08:53 It seems odd that any textfield colors aren't defi
121 case kColorId_TooltipBackground: 122 case kColorId_TooltipBackground:
122 case kColorId_TooltipText: 123 case kColorId_TooltipText:
123 case kColorId_TreeBackground: 124 case kColorId_TreeBackground:
124 case kColorId_TreeText: 125 case kColorId_TreeText:
125 case kColorId_TreeSelectedText: 126 case kColorId_TreeSelectedText:
126 case kColorId_TreeSelectedTextUnfocused: 127 case kColorId_TreeSelectedTextUnfocused:
127 case kColorId_TreeSelectionBackgroundFocused: 128 case kColorId_TreeSelectionBackgroundFocused:
128 case kColorId_TreeSelectionBackgroundUnfocused: 129 case kColorId_TreeSelectionBackgroundUnfocused:
129 case kColorId_TreeArrow: 130 case kColorId_TreeArrow:
130 case kColorId_TableBackground: 131 case kColorId_TableBackground:
(...skipping 18 matching lines...) Expand all
149 150
150 NOTREACHED(); 151 NOTREACHED();
151 return gfx::kPlaceholderColor; 152 return gfx::kPlaceholderColor;
152 } 153 }
153 154
154 NativeThemeDarkAura::NativeThemeDarkAura() {} 155 NativeThemeDarkAura::NativeThemeDarkAura() {}
155 156
156 NativeThemeDarkAura::~NativeThemeDarkAura() {} 157 NativeThemeDarkAura::~NativeThemeDarkAura() {}
157 158
158 } // namespace ui 159 } // namespace ui
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698