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

Unified Diff: ui/base/models/simple_menu_model.h

Issue 7492054: Don't send ViewMsg_ContextMenuClosed to the renderer process for submenus. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 9 years, 5 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
« no previous file with comments | « content/renderer/pepper_plugin_delegate_impl.cc ('k') | ui/base/models/simple_menu_model.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/models/simple_menu_model.h
diff --git a/ui/base/models/simple_menu_model.h b/ui/base/models/simple_menu_model.h
index de233fdd753b71d86fedd2197b39630795958f15..9f7136d92e14b5df8e8e76dd14cefd9901a67075 100644
--- a/ui/base/models/simple_menu_model.h
+++ b/ui/base/models/simple_menu_model.h
@@ -50,10 +50,10 @@ class UI_API SimpleMenuModel : public MenuModel {
virtual void ExecuteCommand(int command_id) = 0;
// Notifies the delegate that the menu is about to show.
- virtual void MenuWillShow();
+ virtual void MenuWillShow(SimpleMenuModel* source);
// Notifies the delegate that the menu has closed.
- virtual void MenuClosed();
+ virtual void MenuClosed(SimpleMenuModel* source);
protected:
virtual ~Delegate() {}
« no previous file with comments | « content/renderer/pepper_plugin_delegate_impl.cc ('k') | ui/base/models/simple_menu_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698