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

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

Issue 1515203002: Update closing of nested asynchronous menus (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 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
« no previous file with comments | « no previous file | ui/views/controls/menu/menu_controller.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.h
diff --git a/ui/views/controls/menu/menu_controller.h b/ui/views/controls/menu/menu_controller.h
index c04fb57d0dd4ccccd590d68748cd004125da7bcd..8322f6b63ac287d263b3c26bc55adfc87d5bbc2a 100644
--- a/ui/views/controls/menu/menu_controller.h
+++ b/ui/views/controls/menu/menu_controller.h
@@ -543,6 +543,11 @@ class VIEWS_EXPORT MenuController : public WidgetObserver {
// if any message loop is terminated.
bool TerminateNestedMessageLoopIfNecessary();
+ // Performs the teardown of menus launched with |async_run_|. This will
+ // notifiy the |delegate_|. If |exit_type_| is EXIT_ALL all nested
+ // asynchronous runs will be exited.
+ void ExitAsyncRun();
+
// Performs the teardown of the menu launched by Run(). The selected item is
// returned.
MenuItemView* ExitMenuRun();
« no previous file with comments | « no previous file | ui/views/controls/menu/menu_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698