| Index: chrome/browser/ui/toolbar/toolbar_action_view_controller.h
|
| diff --git a/chrome/browser/ui/toolbar/toolbar_action_view_controller.h b/chrome/browser/ui/toolbar/toolbar_action_view_controller.h
|
| index 5dba746575b466bcbef40e2689ce2a7a8364e666..98b14ad8ab0f4abee4567d6f3d6d28b2d917ddf2 100644
|
| --- a/chrome/browser/ui/toolbar/toolbar_action_view_controller.h
|
| +++ b/chrome/browser/ui/toolbar/toolbar_action_view_controller.h
|
| @@ -90,6 +90,10 @@ class ToolbarActionViewController {
|
| // Updates the current state of the action.
|
| virtual void UpdateState() = 0;
|
|
|
| + // Returns true if clicking on an otherwise-disabled action should open the
|
| + // context menu.
|
| + virtual bool DisabledClickOpensMenu() const = 0;
|
| +
|
| // Registers an accelerator. Called when the view is added to the hierarchy.
|
| // Unregistering any commands is the responsibility of the controller.
|
| virtual void RegisterCommand() {
|
|
|