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

Unified Diff: ui/views/animation/ink_drop_delegate.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: Removed CustomButton::set_ink_drop_action_on_click() method. 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/animation/ink_drop_delegate.h
diff --git a/ui/views/animation/ink_drop_delegate.h b/ui/views/animation/ink_drop_delegate.h
index f8f7861d2c9d43c875c5aa81c3b084c070af489a..576b742a610b989a570245275a1b53bbe2fb709d 100644
--- a/ui/views/animation/ink_drop_delegate.h
+++ b/ui/views/animation/ink_drop_delegate.h
@@ -37,6 +37,9 @@ class VIEWS_EXPORT InkDropDelegate {
virtual void OnLayout() = 0;
// Called when ink ripple state changes.
+ // TODO(bruthig): Replace the InkDropState parameter with an InkDropAction
+ // enum. The InkDropAction enum should be a subset of the InkDropState values
+ // as well as a NONE value.
virtual void OnAction(InkDropState state) = 0;
private:
« no previous file with comments | « ui/views/animation/ink_drop_animation_controller_factory_unittest.cc ('k') | ui/views/animation/ink_drop_delegate_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698