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

Unified Diff: ui/native_theme/common_theme.cc

Issue 2575343005: Native themes: Add MenuItemSubtitleColor (Closed)
Patch Set: Address estade@'s comments Created 4 years 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
« no previous file with comments | « chrome/browser/ui/libgtkui/native_theme_gtk3.cc ('k') | ui/native_theme/native_theme.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/native_theme/common_theme.cc
diff --git a/ui/native_theme/common_theme.cc b/ui/native_theme/common_theme.cc
index 599f2473b1c3a45a8efd9e9e389714739b1189ba..173ea4ef32a53ac70d7531fd3306d895e21069c6 100644
--- a/ui/native_theme/common_theme.cc
+++ b/ui/native_theme/common_theme.cc
@@ -183,6 +183,9 @@ SkColor GetAuraColor(NativeTheme::ColorId color_id,
return kEnabledMenuItemForegroundColor;
case NativeTheme::kColorId_DisabledMenuItemForegroundColor:
return kDisabledMenuItemForegroundColor;
+ case NativeTheme::kColorId_MenuItemSubtitleColor:
+ return base_theme->GetSystemColor(
+ NativeTheme::kColorId_DisabledMenuItemForegroundColor);
// Label
case NativeTheme::kColorId_LabelEnabledColor:
« no previous file with comments | « chrome/browser/ui/libgtkui/native_theme_gtk3.cc ('k') | ui/native_theme/native_theme.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698