Chromium Code Reviews| Index: cc/animation/animation_delegate.h |
| diff --git a/cc/animation/animation_delegate.h b/cc/animation/animation_delegate.h |
| index c9367b8546ab3e1e39e203f194facc3ebbd2a076..50439668e48c7cae07e26c201df1c35b1030b997 100644 |
| --- a/cc/animation/animation_delegate.h |
| +++ b/cc/animation/animation_delegate.h |
| @@ -5,12 +5,22 @@ |
| #ifndef CC_ANIMATION_ANIMATION_DELEGATE_H_ |
| #define CC_ANIMATION_ANIMATION_DELEGATE_H_ |
| +#include "cc/animation/animation.h" |
| + |
| namespace cc { |
| class AnimationDelegate { |
| public: |
| - virtual void NotifyAnimationStarted(double time) = 0; |
| - virtual void NotifyAnimationFinished(double time) = 0; |
| + // TODO(ajuma): Remove wall_clock_time once the legacy implementation of |
| + // CSS animations and transitions in Blink is removed. |
| + virtual void NotifyAnimationStarted( |
| + double wall_clock_time, |
| + double monotonic_time, |
|
jamesr
2013/12/05 22:01:39
please use base::TimeTicks for monotonic time valu
ajuma
2013/12/06 00:41:34
Done.
|
| + Animation::TargetProperty target_property) = 0; |
| + virtual void NotifyAnimationFinished( |
| + double wall_clock_time, |
| + double monotonic_time, |
| + Animation::TargetProperty target_property) = 0; |
| protected: |
| virtual ~AnimationDelegate() {} |