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

Unified Diff: ui/native_theme/native_theme_aura.cc

Issue 12096094: Finalizing the 'OnClick' behavior of the Launcher items. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed 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_aura.cc
diff --git a/ui/native_theme/native_theme_aura.cc b/ui/native_theme/native_theme_aura.cc
index b1f41e42fe8b9443b6d4066c791b6dce8d6d826f..5b7ddc1e5a48cf051b652f87f7917fed7452c4f3 100644
--- a/ui/native_theme/native_theme_aura.cc
+++ b/ui/native_theme/native_theme_aura.cc
@@ -39,6 +39,9 @@ const SkColor kEnabledMenuItemForegroundColor = kTextButtonEnabledColor;
const SkColor kDisabledMenuItemForegroundColor = kTextButtonDisabledColor;
const SkColor kFocusedMenuItemBackgroundColor = SkColorSetRGB(0xF1, 0xF1, 0xF1);
const SkColor kMenuSeparatorColor = SkColorSetRGB(0xED, 0xED, 0xED);
+const SkColor kSelectedMenuItemBackgroundColor = SkColorSetRGB(203 , 219, 241);
+const SkColor kFocusedSelectedMenuItemBackgroundColor =
+ SkColorSetRGB(193, 211, 236);
// Label:
const SkColor kLabelEnabledColor = kTextButtonEnabledColor;
const SkColor kLabelDisabledColor = kTextButtonDisabledColor;
@@ -132,6 +135,10 @@ SkColor NativeThemeAura::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