Index: cc/animation/animation_delegate.h |
diff --git a/cc/animation/animation_delegate.h b/cc/animation/animation_delegate.h |
index c9367b8546ab3e1e39e203f194facc3ebbd2a076..f1176a36a46fadfff393d56896200bbbde281b40 100644 |
--- a/cc/animation/animation_delegate.h |
+++ b/cc/animation/animation_delegate.h |
@@ -5,12 +5,23 @@ |
#ifndef CC_ANIMATION_ANIMATION_DELEGATE_H_ |
#define CC_ANIMATION_ANIMATION_DELEGATE_H_ |
+#include "base/time/time.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, |
+ base::TimeTicks monotonic_time, |
+ Animation::TargetProperty target_property) = 0; |
+ virtual void NotifyAnimationFinished( |
+ double wall_clock_time, |
+ base::TimeTicks monotonic_time, |
+ Animation::TargetProperty target_property) = 0; |
protected: |
virtual ~AnimationDelegate() {} |