Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / cc / animation / animation_curve.h
index 0ae2640..72aadef 100644 (file)
@@ -75,6 +75,16 @@ class CC_EXPORT TransformAnimationCurve : public AnimationCurve {
   virtual bool AnimatedBoundsForBox(const gfx::BoxF& box,
                                     gfx::BoxF* bounds) const = 0;
 
+  // Returns true if this animation affects scale.
+  virtual bool AffectsScale() const = 0;
+
+  // Returns true if this animation is a translation.
+  virtual bool IsTranslation() const = 0;
+
+  // Set |max_scale| to the maximum scale along any dimension during this
+  // animation. Returns false if the maximum scale cannot be computed.
+  virtual bool MaximumScale(float* max_scale) const = 0;
+
   // Partial Animation implementation.
   virtual CurveType Type() const OVERRIDE;
 };