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

Unified Diff: ui/native_theme/common_theme.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/common_theme.cc
diff --git a/ui/native_theme/common_theme.cc b/ui/native_theme/common_theme.cc
index 4da91acea12919249415e4cf571cbdfa9b4eb434..173c2592c622aa5c94f20d5e69ca602bce9a179e 100644
--- a/ui/native_theme/common_theme.cc
+++ b/ui/native_theme/common_theme.cc
@@ -353,6 +353,8 @@ SkColor GetAuraColor(NativeTheme::ColorId color_id,
return kTextfieldSelectionColor;
case NativeTheme::kColorId_TextfieldSelectionBackgroundFocused:
return kTextfieldSelectionBackgroundFocused;
+ case NativeTheme::kColorId_TextfieldSelectionBackgroundUnfocused:
+ return kTextfieldSelectionBackgroundFocused;
// Tooltip
case NativeTheme::kColorId_TooltipBackground:

Powered by Google App Engine
This is Rietveld 408576698