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

Unified Diff: ui/views/controls/button/menu_button.h

Issue 1409183003: Adds ripple animation to extension buttons on a toolbar (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Adds ripple animation to extension buttons on a toolbar (fix for bug 546683) Created 5 years, 1 month 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: ui/views/controls/button/menu_button.h
diff --git a/ui/views/controls/button/menu_button.h b/ui/views/controls/button/menu_button.h
index 1881fd2412ceecf9a8c0a958a3e9e7cd8edf2029..3b87753979a28f50e2067f9631f504985d2a3efe 100644
--- a/ui/views/controls/button/menu_button.h
+++ b/ui/views/controls/button/menu_button.h
@@ -64,6 +64,9 @@ class VIEWS_EXPORT MenuButton : public LabelButton {
// Activate the button (called when the button is pressed).
bool Activate();
+ // Called to signal that the action will not be activated.
+ void WillNotActivate();
sadrul 2015/11/18 22:56:31 This is .. confusing. The way it is done now, it o
varkha 2015/11/18 23:27:54 This is inlined in OnMouseReleased (see https://co
+
// Overridden from View:
gfx::Size GetPreferredSize() const override;
const char* GetClassName() const override;

Powered by Google App Engine
This is Rietveld 408576698