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

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

Issue 1138523006: Enable keyboard accelerators while a menu is open (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixed a bug in restoring the delegate of the parent nested runloop. Created 5 years, 4 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: 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 a528e04c914c0f90df4384cad926ba326960ff21..9e1e3bb46b520c5780bba6e010116232864b8396 100644
--- a/ui/views/controls/menu/menu_controller.h
+++ b/ui/views/controls/menu/menu_controller.h
@@ -53,6 +53,7 @@ class MenuRunnerImpl;
namespace test {
class MenuControllerTest;
+class MenuControllerTestDeleter;
}
// MenuController -------------------------------------------------------------
@@ -188,6 +189,8 @@ class VIEWS_EXPORT MenuController : public WidgetObserver {
friend class internal::MenuMessagePumpDispatcher;
friend class internal::MenuRunnerImpl;
friend class test::MenuControllerTest;
+ friend class test::MenuControllerTestDeleter;
+ friend class MenuEventFilter;
friend class MenuHostRootView;
friend class MenuItemView;
friend class SubmenuView;

Powered by Google App Engine
This is Rietveld 408576698