Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1784)

Unified Diff: chrome/browser/ui/views/toolbar/toolbar_button.h

Issue 1298513003: Implemented prototype for new ink drop specs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed outstanding concerns and improved documentation. Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();

Powered by Google App Engine
This is Rietveld 408576698