diff options
author | ajuma@chromium.org <ajuma@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-31 16:32:46 +0000 |
---|---|---|
committer | ajuma@chromium.org <ajuma@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-31 16:32:46 +0000 |
commit | adf425df60d1feef4d62a10d42ce84e3e791b116 (patch) | |
tree | 2e7c2f9d7bbe901854917062f7afbad6f7b056db /cc/test/animation_test_common.cc | |
parent | 988ed713b014dc55b3e82fa659a2136e360283ac (diff) | |
download | chromium_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.cc')
-rw-r--r-- | cc/test/animation_test_common.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cc/test/animation_test_common.cc b/cc/test/animation_test_common.cc index 712b06c..3dcaf23 100644 --- a/cc/test/animation_test_common.cc +++ b/cc/test/animation_test_common.cc @@ -168,6 +168,8 @@ bool FakeTransformTransition::AnimatedBoundsForBox(const gfx::BoxF& box, return false; } +bool FakeTransformTransition::AffectsScale() const { return false; } + scoped_ptr<AnimationCurve> FakeTransformTransition::Clone() const { return make_scoped_ptr(new FakeTransformTransition(*this)) .PassAs<AnimationCurve>(); |