Chromium Code Reviews| Index: ui/views/animation/ink_drop_ripple.h |
| diff --git a/ui/views/animation/ink_drop_ripple.h b/ui/views/animation/ink_drop_ripple.h |
| index 1acde1a067ad1ea71d316adfd50de9d51071138f..18160e7d1137885418057d029706fe900d4b7b68 100644 |
| --- a/ui/views/animation/ink_drop_ripple.h |
| +++ b/ui/views/animation/ink_drop_ripple.h |
| @@ -7,6 +7,7 @@ |
| #include "base/macros.h" |
| #include "ui/gfx/geometry/point.h" |
| +#include "ui/gfx/geometry/size.h" |
| #include "ui/views/animation/ink_drop_ripple_observer.h" |
| #include "ui/views/animation/ink_drop_state.h" |
| #include "ui/views/views_export.h" |
| @@ -53,6 +54,9 @@ class VIEWS_EXPORT InkDropRipple { |
| // AnimationStarted(s2). |
| void set_observer(InkDropRippleObserver* observer) { observer_ = observer; } |
| + // Called by ink drop hosts when their size is changed. |
|
bruthig
2016/11/28 22:13:46
nit: This comment is somewhat inaccurate. This fu
mohsen
2016/11/29 00:07:12
Updated.
|
| + virtual void HostSizeChanged(const gfx::Size& new_size); |
| + |
| // Animates from the current InkDropState to the new |ink_drop_state|. |
| // |
| // NOTE: GetTargetInkDropState() should return the new |ink_drop_state| value |