Index: cc/animation/animation_curve.h |
diff --git a/cc/animation/animation_curve.h b/cc/animation/animation_curve.h |
index f4c697cbada8046c2f65fbf70e3d2c2c2a3f826c..74ce11b66cc37c6cdb297c322259ebdb827ce472 100644 |
--- a/cc/animation/animation_curve.h |
+++ b/cc/animation/animation_curve.h |
@@ -82,6 +82,9 @@ class CC_EXPORT TransformAnimationCurve : public AnimationCurve { |
// Returns true if this animation is a translation. |
virtual bool IsTranslation() const = 0; |
+ // Returns true if this animation preserves axis alignment. |
+ virtual bool PreservesAxisAlignment() const = 0; |
+ |
// Set |max_scale| to the maximum scale along any dimension at the end of |
// intermediate animation target points (eg keyframe end points). When |
// |forward_direction| is true, the animation curve assumes it plays from |