Index: cc/animation/timing_function.h |
diff --git a/cc/animation/timing_function.h b/cc/animation/timing_function.h |
index 647701f30ce596627279804ab0d6a765d04b209a..cc979398e4b4b098ece44d57269c1e220605129b 100644 |
--- a/cc/animation/timing_function.h |
+++ b/cc/animation/timing_function.h |
@@ -22,6 +22,7 @@ class CC_EXPORT TimingFunction : public FloatAnimationCurve { |
// The smallest and largest values returned by GetValue for inputs in |
// [0, 1]. |
virtual void Range(float* min, float* max) const = 0; |
+ virtual float Velocity(double time) const = 0; |
protected: |
TimingFunction(); |
@@ -41,6 +42,7 @@ class CC_EXPORT CubicBezierTimingFunction : public TimingFunction { |
virtual scoped_ptr<AnimationCurve> Clone() const OVERRIDE; |
virtual void Range(float* min, float* max) const OVERRIDE; |
+ virtual float Velocity(double time) const OVERRIDE; |
protected: |
CubicBezierTimingFunction(double x1, double y1, double x2, double y2); |