Index: app/menus/menu_model.h |
=================================================================== |
--- app/menus/menu_model.h (revision 39463) |
+++ app/menus/menu_model.h (working copy) |
@@ -11,6 +11,12 @@ |
class SkBitmap; |
+namespace gfx { |
+ |
+class Font; |
+ |
+} // namespace gfx |
+ |
namespace menus { |
class Accelerator; |
@@ -59,6 +65,10 @@ |
// menu item will be updated each time the menu is shown. |
virtual bool IsLabelDynamicAt(int index) const = 0; |
+ // Returns the font use for the label at the specified index. |
+ // If NULL, then use default font. |
+ virtual const gfx::Font* GetLabelFontAt(int index) const { return NULL; } |
+ |
// Gets the acclerator information for the specified index, returning true if |
// there is a shortcut accelerator for the item, false otherwise. |
virtual bool GetAcceleratorAt(int index, |