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

Unified Diff: ui/native_theme/native_theme_win.cc

Issue 2345183002: Views: Draw Textfield selected text in gray when top-level Widget loses focus.
Patch Set: Fix up diff & add colors to Windows/Mac. Created 4 years, 3 months 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 side-by-side diff with in-line comments
Download patch
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 043a3d47278a278e01d1c455157a9ae06ceec4b9..1d3527c903a82e17fe785e81182957912794ac1d 100644
--- a/ui/native_theme/native_theme_win.cc
+++ b/ui/native_theme/native_theme_win.cc
@@ -536,6 +536,8 @@ SkColor NativeThemeWin::GetSystemColor(ColorId color_id) const {
return system_colors_[COLOR_HIGHLIGHTTEXT];
case kColorId_TextfieldSelectionBackgroundFocused:
return system_colors_[COLOR_HIGHLIGHT];
+ case kColorId_TextfieldSelectionBackgroundUnfocused:
+ return system_colors_[COLOR_HIGHLIGHT];
tapted 2016/09/20 06:57:55 This should maybe be the same as kColorId_TableSel
Patti Lor 2016/10/12 05:53:00 Done.
// Tooltip
case kColorId_TooltipBackground:

Powered by Google App Engine
This is Rietveld 408576698