Index: ui/base/models/simple_menu_model.h |
=================================================================== |
--- ui/base/models/simple_menu_model.h (revision 71495) |
+++ ui/base/models/simple_menu_model.h (working copy) |
@@ -48,6 +48,9 @@ |
// Performs the action associated with the specified command id. |
virtual void ExecuteCommand(int command_id) = 0; |
+ // Notifies the delegate that the menu has closed. |
+ virtual void MenuClosed(); |
+ |
protected: |
virtual ~Delegate() {} |
}; |
@@ -115,6 +118,7 @@ |
virtual void HighlightChangedTo(int index); |
virtual void ActivatedAt(int index); |
virtual MenuModel* GetSubmenuModelAt(int index) const; |
+ virtual void MenuClosed(); |
protected: |
// Some variants of this model (SystemMenuModel) relies on items to be |