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

Unified Diff: cc/animation/animation_curve.h

Issue 2506093003: CC Animation: Make cc/animation an independent GN component. (Closed)
Patch Set: Let test_support publicly depends on cc/animation. Created 4 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
Index: cc/animation/animation_curve.h
diff --git a/cc/animation/animation_curve.h b/cc/animation/animation_curve.h
index c52ff180039af8609514d0877615430e927c209f..f6721314108b32eafb3974035d164560f557b75a 100644
--- a/cc/animation/animation_curve.h
+++ b/cc/animation/animation_curve.h
@@ -8,7 +8,7 @@
#include <memory>
#include "base/time/time.h"
-#include "cc/base/cc_export.h"
+#include "cc/animation/animation_export.h"
#include "cc/output/filter_operations.h"
#include "ui/gfx/transform.h"
@@ -26,7 +26,7 @@ class TransformAnimationCurve;
class TransformOperations;
// An animation curve is a function that returns a value given a time.
-class CC_EXPORT AnimationCurve {
+class CC_ANIMATION_EXPORT AnimationCurve {
public:
enum CurveType { COLOR, FLOAT, TRANSFORM, FILTER, SCROLL_OFFSET };
@@ -45,7 +45,7 @@ class CC_EXPORT AnimationCurve {
ScrollOffsetAnimationCurve* ToScrollOffsetAnimationCurve();
};
-class CC_EXPORT ColorAnimationCurve : public AnimationCurve {
+class CC_ANIMATION_EXPORT ColorAnimationCurve : public AnimationCurve {
public:
~ColorAnimationCurve() override {}
@@ -55,7 +55,7 @@ class CC_EXPORT ColorAnimationCurve : public AnimationCurve {
CurveType Type() const override;
};
-class CC_EXPORT FloatAnimationCurve : public AnimationCurve {
+class CC_ANIMATION_EXPORT FloatAnimationCurve : public AnimationCurve {
public:
~FloatAnimationCurve() override {}
@@ -65,7 +65,7 @@ class CC_EXPORT FloatAnimationCurve : public AnimationCurve {
CurveType Type() const override;
};
-class CC_EXPORT TransformAnimationCurve : public AnimationCurve {
+class CC_ANIMATION_EXPORT TransformAnimationCurve : public AnimationCurve {
public:
~TransformAnimationCurve() override {}
@@ -99,7 +99,7 @@ class CC_EXPORT TransformAnimationCurve : public AnimationCurve {
CurveType Type() const override;
};
-class CC_EXPORT FilterAnimationCurve : public AnimationCurve {
+class CC_ANIMATION_EXPORT FilterAnimationCurve : public AnimationCurve {
public:
~FilterAnimationCurve() override {}

Powered by Google App Engine
This is Rietveld 408576698