| 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 e50ec8e5ce0d6c28865cf6954288470d9c4215f2..37c2db8038024aed48c04619414797356f37ffe4 100644
|
| --- a/ui/views/controls/menu/menu_delegate.h
|
| +++ b/ui/views/controls/menu/menu_delegate.h
|
| @@ -66,9 +66,16 @@ 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;
|
| +
|
| // 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
|
| // override the color.
|
| + //
|
| + // TODO(erg): Remove this interface. Injecting raw colors into the menu
|
| + // circumvents the NativeTheme.
|
| virtual bool GetForegroundColor(int command_id,
|
| bool is_hovered,
|
| SkColor* override_color) const;
|
| @@ -76,6 +83,9 @@ class VIEWS_EXPORT MenuDelegate {
|
| // Override the background color of a given menu item dependent on the
|
| // |command_id| and its |is_hovered| state. Returns true if it chooses to
|
| // override the color.
|
| + //
|
| + // TODO(erg): Remove this interface. Injecting raw colors into the menu
|
| + // circumvents the NativeTheme.
|
| virtual bool GetBackgroundColor(int command_id,
|
| bool is_hovered,
|
| SkColor* override_color) const;
|
|
|