Chromium Code Reviews| Index: ui/views/animation/ink_drop_host.h |
| diff --git a/ui/views/animation/ink_drop_host.h b/ui/views/animation/ink_drop_host.h |
| index fa77f3ede4b8155ca3c16be9f6599f514844f69d..2502ee9efe121d1e48c8df7e29e1442fa5d31ff2 100644 |
| --- a/ui/views/animation/ink_drop_host.h |
| +++ b/ui/views/animation/ink_drop_host.h |
| @@ -39,6 +39,9 @@ class VIEWS_EXPORT InkDropHost { |
| // Removes |ink_drop_layer| from the layer tree. |
| virtual void RemoveInkDropLayer(ui::Layer* ink_drop_layer) = 0; |
| + // Called when an ink drop has started to animate. |
| + virtual void InkDropAnimationStarted() {} |
|
bruthig
2017/03/08 18:58:24
To enable compos-ability this should be a function
spqchan
2017/03/14 00:07:52
Done, create a InkDropObserver class
|
| + |
| // Returns a configured InkDrop. In general subclasses will return an |
| // InkDropImpl instance that will use the CreateInkDropRipple() and |
| // CreateInkDropHighlight() methods to create the visual effects. |