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

Unified Diff: chrome/browser/ui/libgtkui/native_theme_gtk3.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_gtk2.cc ('k') | ui/native_theme/common_theme.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/libgtkui/native_theme_gtk3.cc
diff --git a/chrome/browser/ui/libgtkui/native_theme_gtk3.cc b/chrome/browser/ui/libgtkui/native_theme_gtk3.cc
index 8e5eba027bbabfd083c1dd8f548514d8f6d61b83..097b80a6b4f17dca3c9aa58a4ef29853fa716bc5 100644
--- a/chrome/browser/ui/libgtkui/native_theme_gtk3.cc
+++ b/chrome/browser/ui/libgtkui/native_theme_gtk3.cc
@@ -195,6 +195,8 @@ SkColor NativeThemeGtk3::LookupGtkThemeColor(ColorId color_id) const {
return GetFGColor("menu menuitem label", GTK_STATE_FLAG_SELECTED);
case kColorId_DisabledMenuItemForegroundColor:
return GetFGColor("menu menuitem label", GTK_STATE_FLAG_INSENSITIVE);
+ case kColorId_MenuItemSubtitleColor:
+ return GetFGColor("menu menuitem accelerator", GTK_STATE_FLAG_NORMAL);
case kColorId_MenuSeparatorColor:
// MenuButton borders are used the same way as menu separtors in Chrome.
case kColorId_EnabledMenuButtonBorderColor:
« no previous file with comments | « chrome/browser/ui/libgtkui/native_theme_gtk2.cc ('k') | ui/native_theme/common_theme.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698