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

Unified Diff: ui/views/controls/menu/menu_delegate.h

Issue 2382443007: Clean up NativeTheme (particularly CommonTheme). (Closed)
Patch Set: share color constant Created 4 years, 2 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
« no previous file with comments | « ui/views/controls/label.cc ('k') | ui/views/controls/menu/menu_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/menu/menu_delegate.h
diff --git a/ui/views/controls/menu/menu_delegate.h b/ui/views/controls/menu/menu_delegate.h
index cca690f243130b7fd9f5b171d2ff05296d962022..3b7cb7f6241deca546aacdb32ad628fabad93a12 100644
--- a/ui/views/controls/menu/menu_delegate.h
+++ b/ui/views/controls/menu/menu_delegate.h
@@ -73,9 +73,9 @@ class VIEWS_EXPORT MenuDelegate {
// The font for the menu item label.
virtual const gfx::FontList* GetLabelFontList(int id) const;
- // Whether this item should be displayed with a bolder color when disabled.
- virtual bool GetShouldUseDisabledEmphasizedForegroundColor(
- int command_id) const;
+ // Whether this item should be displayed with the normal text color, even if
+ // it's disabled.
+ virtual bool GetShouldUseNormalForegroundColor(int command_id) const;
// Override the text color of a given menu item dependent on the
// |command_id| and its |is_hovered| state. Returns true if it chooses to
« no previous file with comments | « ui/views/controls/label.cc ('k') | ui/views/controls/menu/menu_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698