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

Unified Diff: cc/keyframed_animation_curve.h

Issue 11365025: Make cc a component (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 1 month 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/io_surface_layer_impl.h ('k') | cc/layer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/keyframed_animation_curve.h
diff --git a/cc/keyframed_animation_curve.h b/cc/keyframed_animation_curve.h
index 7583f325a7320d351ea280285603a77084e1bb68..0cb2eb2a183fa3479cc49b803921b8807a2da9af 100644
--- a/cc/keyframed_animation_curve.h
+++ b/cc/keyframed_animation_curve.h
@@ -6,13 +6,14 @@
#define CCKeyframedAnimationCurve_h
#include "cc/animation_curve.h"
+#include "cc/cc_export.h"
#include "cc/scoped_ptr_vector.h"
#include "cc/timing_function.h"
#include <public/WebTransformOperations.h>
namespace cc {
-class Keyframe {
+class CC_EXPORT Keyframe {
public:
double time() const;
const TimingFunction* timingFunction() const;
@@ -24,9 +25,11 @@ protected:
private:
double m_time;
scoped_ptr<TimingFunction> m_timingFunction;
+
+ DISALLOW_COPY_AND_ASSIGN(Keyframe);
};
-class FloatKeyframe : public Keyframe {
+class CC_EXPORT FloatKeyframe : public Keyframe {
public:
static scoped_ptr<FloatKeyframe> create(double time, float value, scoped_ptr<TimingFunction>);
virtual ~FloatKeyframe();
@@ -41,7 +44,7 @@ private:
float m_value;
};
-class TransformKeyframe : public Keyframe {
+class CC_EXPORT TransformKeyframe : public Keyframe {
public:
static scoped_ptr<TransformKeyframe> create(double time, const WebKit::WebTransformOperations& value, scoped_ptr<TimingFunction>);
virtual ~TransformKeyframe();
@@ -56,7 +59,7 @@ private:
WebKit::WebTransformOperations m_value;
};
-class KeyframedFloatAnimationCurve : public FloatAnimationCurve {
+class CC_EXPORT KeyframedFloatAnimationCurve : public FloatAnimationCurve {
public:
// It is required that the keyframes be sorted by time.
static scoped_ptr<KeyframedFloatAnimationCurve> create();
@@ -78,9 +81,11 @@ private:
// Always sorted in order of increasing time. No two keyframes have the
// same time.
ScopedPtrVector<FloatKeyframe> m_keyframes;
+
+ DISALLOW_COPY_AND_ASSIGN(KeyframedFloatAnimationCurve);
};
-class KeyframedTransformAnimationCurve : public TransformAnimationCurve {
+class CC_EXPORT KeyframedTransformAnimationCurve : public TransformAnimationCurve {
public:
// It is required that the keyframes be sorted by time.
static scoped_ptr<KeyframedTransformAnimationCurve> create();
@@ -102,6 +107,8 @@ private:
// Always sorted in order of increasing time. No two keyframes have the
// same time.
ScopedPtrVector<TransformKeyframe> m_keyframes;
+
+ DISALLOW_COPY_AND_ASSIGN(KeyframedTransformAnimationCurve);
};
} // namespace cc
« no previous file with comments | « cc/io_surface_layer_impl.h ('k') | cc/layer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698