Index: ui/views/animation/ink_drop_animation.h |
diff --git a/ui/views/animation/ink_drop_animation.h b/ui/views/animation/ink_drop_animation.h |
index e7b4bf02b53e72099c7ed0e4f8f5c3ace7cba572..3d4c62fc97e8bccdc08abb1c4d9b6aa1fb2d0a3e 100644 |
--- a/ui/views/animation/ink_drop_animation.h |
+++ b/ui/views/animation/ink_drop_animation.h |
@@ -46,6 +46,10 @@ class VIEWS_EXPORT InkDropAnimation { |
InkDropAnimation(); |
virtual ~InkDropAnimation(); |
+ // In the event that an animation is in progress for ink drop state 's1' and |
+ // an animation to a new state 's2' is triggered, then |
+ // AnimationEnded(s1, PRE_EMPTED) will be called before |
+ // AnimationStarted(s2). |
void set_observer(InkDropAnimationObserver* observer) { |
observer_ = observer; |
} |