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 c3ab9bfd2d5e4c9c121b117ee86998315e398fdb..33c149d41d24abd0976a49e22c414569d02640a4 100644 |
--- a/ui/views/controls/menu/menu_controller.h |
+++ b/ui/views/controls/menu/menu_controller.h |
@@ -160,6 +160,10 @@ class VIEWS_EXPORT MenuController : public WidgetObserver { |
// corresponds to whether or not the menu should close. |
void OnDragComplete(bool should_close); |
+ // Called while dispatching messages inside a menu run loop to intercept key |
+ // events. |
+ ui::PostDispatchAction OnWillDispatchEvent(const ui::Event& event); |
+ |
// Update the submenu's selection based on the current mouse location |
void UpdateSubmenuSelection(SubmenuView* source); |