Chromium Code Reviews| 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..5e4023ac917c9f1917fcaf2aca6f90da1dded94c 100644 |
| --- a/ui/views/animation/ink_drop.h |
| +++ b/ui/views/animation/ink_drop.h |
| @@ -46,6 +46,10 @@ class VIEWS_EXPORT InkDrop { |
| // Enables or disables the focus state. |
| virtual void SetFocused(bool is_focused) = 0; |
| + // Returns true if the highlight should be visible based on the hover/focus |
| + // status. |
| + virtual bool ShouldHighlight() const = 0; |
|
bruthig
2017/03/08 18:58:24
If we keep this function we should come up with a
spqchan
2017/03/14 00:07:52
I just realized that there's a IsHighlightFadingIn
|
| + |
| protected: |
| InkDrop() {} |