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

Unified Diff: ui/views/controls/button/button.cc

Issue 1411523009: Adds OnClickCanceled callback to views::Button (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Adds NotifyReleasedWithoutClick callback to views::Button (corrections) Created 5 years, 2 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: ui/views/controls/button/button.cc
diff --git a/ui/views/controls/button/button.cc b/ui/views/controls/button/button.cc
index b9b8b22ab03542119ad079ff21ea64bd9a032fd8..2631d4ce984e59bb9a7b5dee3dd1692fb81f09f5 100644
--- a/ui/views/controls/button/button.cc
+++ b/ui/views/controls/button/button.cc
@@ -74,4 +74,6 @@ void Button::NotifyClick(const ui::Event& event) {
listener_->ButtonPressed(this, event);
}
+void Button::NotifyReleasedWithoutClick(const ui::Event& event) {}
+
} // namespace views

Powered by Google App Engine
This is Rietveld 408576698