Index: ui/views/animation/ink_drop_animation_controller.h |
diff --git a/ui/views/animation/ink_drop_animation_controller.h b/ui/views/animation/ink_drop_animation_controller.h |
index 77aed3b2982981e1d1536612c7ba78628461ecd9..9a950d2afbef5a16280e1477e3e125b6f8a1f112 100644 |
--- a/ui/views/animation/ink_drop_animation_controller.h |
+++ b/ui/views/animation/ink_drop_animation_controller.h |
@@ -20,8 +20,8 @@ class Layer; |
namespace views { |
-// Pure virtual base class that manages an ink drop animation's lifetime and |
-// state. |
+// Pure virtual base class that manages the lifetime and state of an ink drop |
+// animation as well as visual hover state feedback. |
class VIEWS_EXPORT InkDropAnimationController { |
public: |
virtual ~InkDropAnimationController() {} |
@@ -32,6 +32,16 @@ class VIEWS_EXPORT InkDropAnimationController { |
// Animates from the current InkDropState to |ink_drop_state|. |
virtual void AnimateToState(InkDropState ink_drop_state) = 0; |
+ // Returns true if the ink drop animation will automatically transition to the |
+ // HIDDEN state when the current state animation completes. |
+ virtual bool WillAutoAnimateToHidden() const = 0; |
+ |
+ // Enables or disables the hover state. |
+ virtual void SetHovered(bool is_hovered) = 0; |
+ |
+ // Returns true if the hover state is enabled. |
+ virtual bool IsHovered() const = 0; |
+ |
virtual gfx::Size GetInkDropLargeSize() const = 0; |
// Sets the different sizes of the ink drop. |