| 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..51c115d5e518c8296d8fca162d2ff6d46f00386d 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,12 @@ class VIEWS_EXPORT InkDropAnimationController {
|
| // Animates from the current InkDropState to |ink_drop_state|.
|
| virtual void AnimateToState(InkDropState ink_drop_state) = 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.
|
|
|