Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2455)

Unified Diff: app/menus/simple_menu_model.h

Issue 6142013: Allow printing/saving a plugin through right click menu, even if it's in a fr... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: app/menus/simple_menu_model.h
===================================================================
--- app/menus/simple_menu_model.h (revision 70859)
+++ app/menus/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

Powered by Google App Engine
This is Rietveld 408576698