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-22 23:09:55 +0000
committerenne@chromium.org <enne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-22 23:09:55 +0000
commit96baf3e81b1df4b0836d70c3cded9795e63fa789 (patch)
tree4332d128a05777ae34641ca2f185b7b548330b8d /cc/animation_curve.h
parent1597399122fa6d8343dc6d5cdb771f95908c09b1 (diff)
downloadchromium_src-96baf3e81b1df4b0836d70c3cded9795e63fa789.zip
chromium_src-96baf3e81b1df4b0836d70c3cded9795e63fa789.tar.gz
chromium_src-96baf3e81b1df4b0836d70c3cded9795e63fa789.tar.bz2
cc: Rename cc classes and members to match filenames
Fixed reland of https://chromiumcodereview.appspot.com/11189043/ TBR=jam@chromium.org,jamesr@chromium.org BUG=155413 Review URL: https://codereview.chromium.org/11231054 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@163429 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;
};