Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5266)

Unified Diff: cc/CCKeyframedAnimationCurve.h

Issue 11122003: [cc] Rename all cc/ filenames to Chromium style (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/CCInputHandler.h ('k') | cc/CCKeyframedAnimationCurve.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/CCKeyframedAnimationCurve.h
diff --git a/cc/CCKeyframedAnimationCurve.h b/cc/CCKeyframedAnimationCurve.h
index 066e5c64da43527ac2037858ab82f8465e8720c8..3cd919d59b298fa21d163dddfb315ff3d4f93681 100644
--- a/cc/CCKeyframedAnimationCurve.h
+++ b/cc/CCKeyframedAnimationCurve.h
@@ -2,108 +2,5 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CCKeyframedAnimationCurve_h
-#define CCKeyframedAnimationCurve_h
-
-#include "CCAnimationCurve.h"
-#include "CCTimingFunction.h"
-#include "scoped_ptr_vector.h"
-#include <public/WebTransformOperations.h>
-
-namespace cc {
-
-class CCKeyframe {
-public:
- double time() const;
- const CCTimingFunction* timingFunction() const;
-
-protected:
- CCKeyframe(double time, scoped_ptr<CCTimingFunction>);
- virtual ~CCKeyframe();
-
-private:
- double m_time;
- scoped_ptr<CCTimingFunction> m_timingFunction;
-};
-
-class CCFloatKeyframe : public CCKeyframe {
-public:
- static scoped_ptr<CCFloatKeyframe> create(double time, float value, scoped_ptr<CCTimingFunction>);
- virtual ~CCFloatKeyframe();
-
- float value() const;
-
- scoped_ptr<CCFloatKeyframe> clone() const;
-
-private:
- CCFloatKeyframe(double time, float value, scoped_ptr<CCTimingFunction>);
-
- float m_value;
-};
-
-class CCTransformKeyframe : public CCKeyframe {
-public:
- static scoped_ptr<CCTransformKeyframe> create(double time, const WebKit::WebTransformOperations& value, scoped_ptr<CCTimingFunction>);
- virtual ~CCTransformKeyframe();
-
- const WebKit::WebTransformOperations& value() const;
-
- scoped_ptr<CCTransformKeyframe> clone() const;
-
-private:
- CCTransformKeyframe(double time, const WebKit::WebTransformOperations& value, scoped_ptr<CCTimingFunction>);
-
- WebKit::WebTransformOperations m_value;
-};
-
-class CCKeyframedFloatAnimationCurve : public CCFloatAnimationCurve {
-public:
- // It is required that the keyframes be sorted by time.
- static scoped_ptr<CCKeyframedFloatAnimationCurve> create();
-
- virtual ~CCKeyframedFloatAnimationCurve();
-
- void addKeyframe(scoped_ptr<CCFloatKeyframe>);
-
- // CCAnimationCurve implementation
- virtual double duration() const OVERRIDE;
- virtual scoped_ptr<CCAnimationCurve> clone() const OVERRIDE;
-
- // CCFloatAnimationCurve implementation
- virtual float getValue(double t) const OVERRIDE;
-
-private:
- CCKeyframedFloatAnimationCurve();
-
- // Always sorted in order of increasing time. No two keyframes have the
- // same time.
- ScopedPtrVector<CCFloatKeyframe> m_keyframes;
-};
-
-class CCKeyframedTransformAnimationCurve : public CCTransformAnimationCurve {
-public:
- // It is required that the keyframes be sorted by time.
- static scoped_ptr<CCKeyframedTransformAnimationCurve> create();
-
- virtual ~CCKeyframedTransformAnimationCurve();
-
- void addKeyframe(scoped_ptr<CCTransformKeyframe>);
-
- // CCAnimationCurve implementation
- virtual double duration() const OVERRIDE;
- virtual scoped_ptr<CCAnimationCurve> clone() const OVERRIDE;
-
- // CCTransformAnimationCurve implementation
- virtual WebKit::WebTransformationMatrix getValue(double t) const OVERRIDE;
-
-private:
- CCKeyframedTransformAnimationCurve();
-
- // Always sorted in order of increasing time. No two keyframes have the
- // same time.
- ScopedPtrVector<CCTransformKeyframe> m_keyframes;
-};
-
-} // namespace cc
-
-#endif // CCKeyframedAnimationCurve_h
+// Temporary forwarding header
+#include "cc/keyframed_animation_curve.h"
« no previous file with comments | « cc/CCInputHandler.h ('k') | cc/CCKeyframedAnimationCurve.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698