summaryrefslogtreecommitdiffstats
path: root/cc/test/animation_test_common.h
diff options
context:
space:
mode:
authorajuma@chromium.org <ajuma@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-31 16:32:46 +0000
committerajuma@chromium.org <ajuma@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-31 16:32:46 +0000
commitadf425df60d1feef4d62a10d42ce84e3e791b116 (patch)
tree2e7c2f9d7bbe901854917062f7afbad6f7b056db /cc/test/animation_test_common.h
parent988ed713b014dc55b3e82fa659a2136e360283ac (diff)
downloadchromium_src-adf425df60d1feef4d62a10d42ce84e3e791b116.zip
chromium_src-adf425df60d1feef4d62a10d42ce84e3e791b116.tar.gz
chromium_src-adf425df60d1feef4d62a10d42ce84e3e791b116.tar.bz2
cc: Identify animations that affect scale
This adds a HasAnimationThatAffectsScale method to LayerAnimationController. BUG=224913 Review URL: https://codereview.chromium.org/213493004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@260559 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/test/animation_test_common.h')
-rw-r--r--cc/test/animation_test_common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cc/test/animation_test_common.h b/cc/test/animation_test_common.h
index bb57339..7732c2d9 100644
--- a/cc/test/animation_test_common.h
+++ b/cc/test/animation_test_common.h
@@ -43,6 +43,7 @@ class FakeTransformTransition : public TransformAnimationCurve {
virtual gfx::Transform GetValue(double time) const OVERRIDE;
virtual bool AnimatedBoundsForBox(const gfx::BoxF& box,
gfx::BoxF* bounds) const OVERRIDE;
+ virtual bool AffectsScale() const OVERRIDE;
virtual scoped_ptr<AnimationCurve> Clone() const OVERRIDE;