Chromium Code Reviews| Index: chrome/browser/ui/views/toolbar/toolbar_button.h |
| diff --git a/chrome/browser/ui/views/toolbar/toolbar_button.h b/chrome/browser/ui/views/toolbar/toolbar_button.h |
| index c61d85cb07d293772c90469ebdd48de66cf8d1c3..1a48f7e2d5dcb1f5767756cfa20e801858dcc86a 100644 |
| --- a/chrome/browser/ui/views/toolbar/toolbar_button.h |
| +++ b/chrome/browser/ui/views/toolbar/toolbar_button.h |
| @@ -68,6 +68,9 @@ class ToolbarButton : public views::LabelButton, |
| // to the PUSHED state. |
| bool ShouldEnterPushedState(const ui::Event& event) override; |
| + // views::LabelButton: |
| + void NotifyClick(const ui::Event& event) override; |
|
Peter Kasting
2015/09/03 21:53:06
Nit: No subclasses need to call this, so make this
bruthig
2015/09/09 18:00:36
Incorrect, HomeButton::OnNotifyClick() calls Toolb
|
| + |
| // Returns if menu should be shown. Override this to change default behavior. |
| virtual bool ShouldShowMenu(); |