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

Unified Diff: ui/views/controls/menu/menu_item_view.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 | « ui/native_theme/native_theme_dark_aura.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/menu/menu_item_view.cc
diff --git a/ui/views/controls/menu/menu_item_view.cc b/ui/views/controls/menu/menu_item_view.cc
index 7e94375e2b5c4459b632ab9ae50aabc4675ee1b3..b4129049cb5d0137b0bca03cd65993198fa1a17f 100644
--- a/ui/views/controls/menu/menu_item_view.cc
+++ b/ui/views/controls/menu/menu_item_view.cc
@@ -845,7 +845,7 @@ void MenuItemView::PaintButton(gfx::Canvas* canvas, PaintButtonMode mode) {
subtitle_,
font_list,
GetNativeTheme()->GetSystemColor(
- ui::NativeTheme::kColorId_ButtonDisabledColor),
+ ui::NativeTheme::kColorId_MenuItemSubtitleColor),
text_bounds + gfx::Vector2d(0, font_list.GetHeight()),
flags);
}
@@ -891,7 +891,7 @@ void MenuItemView::PaintMinorText(gfx::Canvas* canvas,
GetFontList(),
GetNativeTheme()->GetSystemColor(render_selection ?
ui::NativeTheme::kColorId_SelectedMenuItemForegroundColor :
- ui::NativeTheme::kColorId_ButtonDisabledColor),
+ ui::NativeTheme::kColorId_MenuItemSubtitleColor),
accel_bounds,
flags);
}
« no previous file with comments | « ui/native_theme/native_theme_dark_aura.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698