diff options
author | ajuma@chromium.org <ajuma@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-01-17 22:37:28 +0000 |
---|---|---|
committer | ajuma@chromium.org <ajuma@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-01-17 22:37:28 +0000 |
commit | 9237799897675d722d4b86a4805c59d0cd557f0c (patch) | |
tree | 8ce5ecab335464e79a9d8311d6fc2ec968127d46 /cc | |
parent | c27ce8eb7ee4c0fdd9401b1a3aaa6509ddba3113 (diff) | |
download | chromium_src-9237799897675d722d4b86a4805c59d0cd557f0c.zip chromium_src-9237799897675d722d4b86a4805c59d0cd557f0c.tar.gz chromium_src-9237799897675d722d4b86a4805c59d0cd557f0c.tar.bz2 |
Define WebScrollOffsetAnimationCurveImpl
This defines WebScrollOffsetAnimationCurveImpl, which wraps a
cc::ScrollOffsetAnimationCurve. This is needed for
implementing the CSSOM Smooth Scroll API.
BUG=243871
Review URL: https://codereview.chromium.org/112933005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245645 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc')
-rw-r--r-- | cc/animation/animation.cc | 4 | ||||
-rw-r--r-- | cc/animation/animation.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/cc/animation/animation.cc b/cc/animation/animation.cc index f21a1d4..263c347 100644 --- a/cc/animation/animation.cc +++ b/cc/animation/animation.cc @@ -32,8 +32,8 @@ static const char* const s_targetPropertyNames[] = { "Transform", "Opacity", "Filter", - "BackgroundColor", - "ScrollOffset" + "ScrollOffset", + "BackgroundColor" }; COMPILE_ASSERT(static_cast<int>(cc::Animation::TargetPropertyEnumSize) == diff --git a/cc/animation/animation.h b/cc/animation/animation.h index c7d53c2..f996c38 100644 --- a/cc/animation/animation.h +++ b/cc/animation/animation.h @@ -42,8 +42,8 @@ class CC_EXPORT Animation { Transform = 0, Opacity, Filter, - BackgroundColor, ScrollOffset, + BackgroundColor, // This sentinel must be last. TargetPropertyEnumSize }; |