Index: app/menus/button_menu_item_model.h |
=================================================================== |
--- app/menus/button_menu_item_model.h (revision 54011) |
+++ app/menus/button_menu_item_model.h (working copy) |
@@ -84,6 +84,9 @@ |
// Returns the enabled state of the button at |index|. |
bool IsEnabledAt(int index) const; |
+ // Returns the enabled state of the command specified by |command_id|. |
+ bool IsCommandIdEnabled(int command_id) const; |
+ |
const string16& label() const { return item_label_; } |
private: |