Index: ui/views/animation/ink_drop_animation_controller_impl.h |
diff --git a/ui/views/animation/ink_drop_animation_controller_impl.h b/ui/views/animation/ink_drop_animation_controller_impl.h |
index fdd713e6b1ff89ae180c3ea593f3e0273df50ce2..5a3ed5f4f45ea2d7296c51f24c91bd5a75cd65eb 100644 |
--- a/ui/views/animation/ink_drop_animation_controller_impl.h |
+++ b/ui/views/animation/ink_drop_animation_controller_impl.h |
@@ -37,6 +37,7 @@ class VIEWS_EXPORT InkDropAnimationControllerImpl |
// InkDropAnimationController: |
InkDropState GetInkDropState() const override; |
void AnimateToState(InkDropState ink_drop_state) override; |
+ bool WillAutoAnimateToHidden() const override; |
void SetHovered(bool is_hovered) override; |
bool IsHovered() const override; |
gfx::Size GetInkDropLargeSize() const override; |
@@ -122,6 +123,10 @@ class VIEWS_EXPORT InkDropAnimationControllerImpl |
// CreateInkDropAnimation(). |
scoped_ptr<InkDropAnimation> ink_drop_animation_; |
+ // Tracks whether the InkDropAnimation can be destroyed when a |
+ // InkDropState::HIDDEN animation completes. |
+ bool can_destroy_after_hidden_animation_; |
+ |
// The timer used to delay the hover fade in after an ink drop animation. |
scoped_ptr<base::Timer> hover_after_animation_timer_; |