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

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

Issue 1478303003: Converted all Views to use an InkDropDelegate instead of a InkDropAnimationController. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Moved some ripple controlling logic up the Button hierarchy. Created 5 years 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/custom_button.h
diff --git a/ui/views/controls/button/custom_button.h b/ui/views/controls/button/custom_button.h
index ef250c0b81f1087bc8b3478f4db6138421c4a67b..d08c94c09b682865e46cf14326885ee5754d975e 100644
--- a/ui/views/controls/button/custom_button.h
+++ b/ui/views/controls/button/custom_button.h
@@ -137,6 +137,10 @@ class VIEWS_EXPORT CustomButton : public Button,
const ViewHierarchyChangedDetails& details) override;
void OnBlur() override;
+ // Overridden from Button:
+ void NotifyClick(const ui::Event& event) override;
+ void OnClickCanceled(const ui::Event& event) override;
+
// The button state (defined in implementation)
ButtonState state_;

Powered by Google App Engine
This is Rietveld 408576698