summaryrefslogtreecommitdiffstats
path: root/views/controls/menu/menu_controller.h
diff options
context:
space:
mode:
Diffstat (limited to 'views/controls/menu/menu_controller.h')
-rw-r--r--views/controls/menu/menu_controller.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/views/controls/menu/menu_controller.h b/views/controls/menu/menu_controller.h
index 83beb17..53887e4 100644
--- a/views/controls/menu/menu_controller.h
+++ b/views/controls/menu/menu_controller.h
@@ -112,6 +112,10 @@ class MenuController : public MessageLoopForUI::Dispatcher {
void OnDragEnteredScrollButton(SubmenuView* source, bool is_up);
void OnDragExitedScrollButton(SubmenuView* source);
+ // Invoked once for any Widget activation change. This allows the menu
+ // to be canceled if the window manager changes the active window.
+ void OnWidgetActivationChanged();
+
private:
class MenuScrollTask;