| Index: ui/views/animation/ink_drop.h
|
| diff --git a/ui/views/animation/ink_drop.h b/ui/views/animation/ink_drop.h
|
| index 0eb419e11105867f8c25447dee516146f55fd213..9980bb0ceea09e317699943c179d158949e8669a 100644
|
| --- a/ui/views/animation/ink_drop.h
|
| +++ b/ui/views/animation/ink_drop.h
|
| @@ -13,6 +13,7 @@
|
| #include "ui/events/event_handler.h"
|
| #include "ui/gfx/geometry/rect.h"
|
| #include "ui/gfx/geometry/size.h"
|
| +#include "ui/views/animation/ink_drop_observer.h"
|
| #include "ui/views/animation/ink_drop_state.h"
|
| #include "ui/views/view.h"
|
| #include "ui/views/views_export.h"
|
| @@ -46,8 +47,17 @@ class VIEWS_EXPORT InkDrop {
|
| // Enables or disables the focus state.
|
| virtual void SetFocused(bool is_focused) = 0;
|
|
|
| + // Returns true if the highlight animation is in the process of fading in or
|
| + // is visible.
|
| + virtual bool IsHighlightFadingInOrVisible() const = 0;
|
| +
|
| + // Sets the observer of this object.
|
| + void SetObserver(InkDropObserver* observer);
|
| +
|
| protected:
|
| - InkDrop() {}
|
| + InkDrop() : observer_(nullptr) {}
|
| +
|
| + InkDropObserver* observer_;
|
|
|
| private:
|
| DISALLOW_COPY_AND_ASSIGN(InkDrop);
|
|
|