diff options
Diffstat (limited to 'ui/touch_selection/touch_selection_menu_runner.h')
-rw-r--r-- | ui/touch_selection/touch_selection_menu_runner.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ui/touch_selection/touch_selection_menu_runner.h b/ui/touch_selection/touch_selection_menu_runner.h index 8db3213..f4e05da 100644 --- a/ui/touch_selection/touch_selection_menu_runner.h +++ b/ui/touch_selection/touch_selection_menu_runner.h @@ -42,6 +42,10 @@ class UI_TOUCH_SELECTION_EXPORT TouchSelectionMenuRunner { static TouchSelectionMenuRunner* GetInstance(); + // Checks whether there is any command available to show in the menu. + virtual bool IsMenuAvailable( + const TouchSelectionMenuClient* client) const = 0; + // Creates and displays the quick menu, if there is any command available. // |anchor_rect| is in screen coordinates. virtual void OpenMenu(TouchSelectionMenuClient* client, |