summaryrefslogtreecommitdiffstats
path: root/cc/animation_curve.h
diff options
context:
space:
mode:
authorpiman@chromium.org <piman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-02 21:06:20 +0000
committerpiman@chromium.org <piman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-02 21:06:20 +0000
commit52347c8482d3fad8534a69140fc67d6c8759562c (patch)
tree223f9e99f28a9934ad3f5d599926d005d25f3441 /cc/animation_curve.h
parent220d60c8d3a980b0fb05414aea478a4d2688d00c (diff)
downloadchromium_src-52347c8482d3fad8534a69140fc67d6c8759562c.zip
chromium_src-52347c8482d3fad8534a69140fc67d6c8759562c.tar.gz
chromium_src-52347c8482d3fad8534a69140fc67d6c8759562c.tar.bz2
Make cc a component
BUG=154052 Review URL: https://codereview.chromium.org/11365025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@165748 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/animation_curve.h')
-rw-r--r--cc/animation_curve.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/cc/animation_curve.h b/cc/animation_curve.h
index 386d703..5b80d8d 100644
--- a/cc/animation_curve.h
+++ b/cc/animation_curve.h
@@ -6,6 +6,7 @@
#define CCAnimationCurve_h
#include "base/memory/scoped_ptr.h"
+#include "cc/cc_export.h"
#include <public/WebTransformationMatrix.h>
namespace cc {
@@ -16,7 +17,7 @@ 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 AnimationCurve {
+class CC_EXPORT AnimationCurve {
public:
enum Type { Float, Transform };
@@ -30,7 +31,7 @@ public:
const TransformAnimationCurve* toTransformAnimationCurve() const;
};
-class FloatAnimationCurve : public AnimationCurve {
+class CC_EXPORT FloatAnimationCurve : public AnimationCurve {
public:
virtual ~FloatAnimationCurve() { }
@@ -40,7 +41,7 @@ public:
virtual Type type() const OVERRIDE;
};
-class TransformAnimationCurve : public AnimationCurve {
+class CC_EXPORT TransformAnimationCurve : public AnimationCurve {
public:
virtual ~TransformAnimationCurve() { }