Index: app/menus/menu_model.h |
diff --git a/app/menus/menu_model.h b/app/menus/menu_model.h |
index c91efc905fc2bf949ea2c25df4ee69c063e295cd..1cb356a6a7a2168ed8dc25f2caf5f2e48ada8d35 100644 |
--- a/app/menus/menu_model.h |
+++ b/app/menus/menu_model.h |
@@ -94,6 +94,9 @@ class MenuModel { |
// Returns the enabled state of the item at the specified index. |
virtual bool IsEnabledAt(int index) const = 0; |
+ // Returns true if the menu item is visible. |
+ virtual bool IsVisibleAt(int index) const; |
+ |
// Returns the model for the submenu at the specified index. |
virtual MenuModel* GetSubmenuModelAt(int index) const = 0; |