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

Unified Diff: ui/native_theme/native_theme_win.cc

Issue 12096094: Finalizing the 'OnClick' behavior of the Launcher items. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Corrected Windows Created 7 years, 11 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 3e04dcb78d42ec242d45807294742770af0ff803..c9fbc5fa1e996c4d5499346f839ff7669139ecc1 100644
--- a/ui/native_theme/native_theme_win.cc
+++ b/ui/native_theme/native_theme_win.cc
@@ -52,6 +52,9 @@ const SkColor kEnabledMenuItemForegroundColor = SkColorSetRGB(6, 45, 117);
const SkColor kDisabledMenuItemForegroundColor = SkColorSetRGB(161, 161, 146);
const SkColor kFocusedMenuItemBackgroundColor = SkColorSetRGB(246, 249, 253);
const SkColor kMenuSeparatorColor = SkColorSetARGB(50, 0, 0, 0);
+const SkColor kSelectedMenuItemBackgroundColor = SkColorSetRGB(203, 219, 241);
+const SkColor kFocusedSelectedMenuItemBackgroundColor =
+ SkColorSetRGB(193, 211, 236);
// Textfield:
const SkColor kTextfieldSelectionBackgroundUnfocused = SK_ColorLTGRAY;
// Table:
@@ -504,6 +507,10 @@ SkColor NativeThemeWin::GetSystemColor(ColorId color_id) const {
return kFocusedMenuItemBackgroundColor;
case kColorId_MenuSeparatorColor:
return kMenuSeparatorColor;
+ case kColorId_SelectedMenuItemBackground:
+ return kSelectedMenuItemBackgroundColor;
+ case kColorId_FocusedSelectedMenuItemBackground:
+ return kFocusedSelectedMenuItemBackgroundColor;
// Label
case kColorId_LabelEnabledColor:

Powered by Google App Engine
This is Rietveld 408576698