summaryrefslogtreecommitdiffstats
path: root/cc/animation_curve.h
diff options
context:
space:
mode:
authorenne@chromium.org <enne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-19 20:58:10 +0000
committerenne@chromium.org <enne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-19 20:58:10 +0000
commit184fac5add06d5f4670fa6be4a4d3b39232d51bb (patch)
tree7efc1d20146fcafdbe408fa67292117c41e9393f /cc/animation_curve.h
parentfb7ffba75e81a79436434bab0715be0d6e67bc07 (diff)
downloadchromium_src-184fac5add06d5f4670fa6be4a4d3b39232d51bb.zip
chromium_src-184fac5add06d5f4670fa6be4a4d3b39232d51bb.tar.gz
chromium_src-184fac5add06d5f4670fa6be4a4d3b39232d51bb.tar.bz2
cc: Rename cc classes and members to match filenames
BUG=155413 Review URL: https://codereview.chromium.org/11189043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@163052 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/animation_curve.h')
-rw-r--r--cc/animation_curve.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/cc/animation_curve.h b/cc/animation_curve.h
index 7ed6e7a..50dde07 100644
--- a/cc/animation_curve.h
+++ b/cc/animation_curve.h
@@ -10,44 +10,44 @@
namespace cc {
-class CCFloatAnimationCurve;
-class CCTransformAnimationCurve;
+class FloatAnimationCurve;
+class TransformAnimationCurve;
class IntSize;
class TransformOperations;
// An animation curve is a function that returns a value given a time.
// There are currently only two types of curve, float and transform.
-class CCAnimationCurve {
+class AnimationCurve {
public:
enum Type { Float, Transform };
- virtual ~CCAnimationCurve() { }
+ virtual ~AnimationCurve() { }
virtual double duration() const = 0;
virtual Type type() const = 0;
- virtual scoped_ptr<CCAnimationCurve> clone() const = 0;
+ virtual scoped_ptr<AnimationCurve> clone() const = 0;
- const CCFloatAnimationCurve* toFloatAnimationCurve() const;
- const CCTransformAnimationCurve* toTransformAnimationCurve() const;
+ const FloatAnimationCurve* toFloatAnimationCurve() const;
+ const TransformAnimationCurve* toTransformAnimationCurve() const;
};
-class CCFloatAnimationCurve : public CCAnimationCurve {
+class FloatAnimationCurve : public AnimationCurve {
public:
- virtual ~CCFloatAnimationCurve() { }
+ virtual ~FloatAnimationCurve() { }
virtual float getValue(double t) const = 0;
- // Partial CCAnimation implementation.
+ // Partial Animation implementation.
virtual Type type() const OVERRIDE;
};
-class CCTransformAnimationCurve : public CCAnimationCurve {
+class TransformAnimationCurve : public AnimationCurve {
public:
- virtual ~CCTransformAnimationCurve() { }
+ virtual ~TransformAnimationCurve() { }
virtual WebKit::WebTransformationMatrix getValue(double t) const = 0;
- // Partial CCAnimation implementation.
+ // Partial Animation implementation.
virtual Type type() const OVERRIDE;
};