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

Unified Diff: ui/views/controls/menu/menu_controller_delegate.h

Issue 2790773002: Cleanup MenuRunner API (Closed)
Patch Set: Rebase Created 3 years, 8 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 | « ui/views/controls/menu/menu_controller.cc ('k') | ui/views/controls/menu/menu_controller_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/menu/menu_controller_delegate.h
diff --git a/ui/views/controls/menu/menu_controller_delegate.h b/ui/views/controls/menu/menu_controller_delegate.h
index 85e92069082e03790361900641c60cd4a44175b6..273ec7b7eeab88cfe9b8e0d493c9f154f10564b2 100644
--- a/ui/views/controls/menu/menu_controller_delegate.h
+++ b/ui/views/controls/menu/menu_controller_delegate.h
@@ -22,10 +22,9 @@ class MenuControllerDelegate {
DONT_NOTIFY_DELEGATE
};
- // Invoked when MenuController closes a menu and the MenuController was
- // configured for asynchronous or drop (MenuRunner::ASYNC,
- // MenuRunner::FOR_DROP). |mouse_event_flags| are the flags set on the
- // ui::MouseEvent which selected |menu|, otherwise 0.
+ // Invoked when MenuController closes. unless the owner deletes the
+ // MenuController during MenuDelegate::ExecuteCommand. |mouse_event_flags| are
+ // the flags set on the ui::MouseEvent which selected |menu|, otherwise 0.
virtual void OnMenuClosed(NotifyType type,
MenuItemView* menu,
int mouse_event_flags) = 0;
« no previous file with comments | « ui/views/controls/menu/menu_controller.cc ('k') | ui/views/controls/menu/menu_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698