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

Unified Diff: cc/animation/keyframed_animation_curve.h

Issue 2506093003: CC Animation: Make cc/animation an independent GN component. (Closed)
Patch Set: Rebase. 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
« no previous file with comments | « cc/animation/element_animations.h ('k') | cc/animation/scroll_offset_animation_curve.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/animation/keyframed_animation_curve.h
diff --git a/cc/animation/keyframed_animation_curve.h b/cc/animation/keyframed_animation_curve.h
index 690f3bd5233005f21f524e0652edc024142ef08a..1033868a3a1c63053047862fdb409d04a6f1971b 100644
--- a/cc/animation/keyframed_animation_curve.h
+++ b/cc/animation/keyframed_animation_curve.h
@@ -10,13 +10,13 @@
#include "base/macros.h"
#include "base/time/time.h"
#include "cc/animation/animation_curve.h"
+#include "cc/animation/animation_export.h"
#include "cc/animation/timing_function.h"
#include "cc/animation/transform_operations.h"
-#include "cc/base/cc_export.h"
namespace cc {
-class CC_EXPORT Keyframe {
+class CC_ANIMATION_EXPORT Keyframe {
public:
base::TimeDelta Time() const;
const TimingFunction* timing_function() const {
@@ -35,7 +35,7 @@ class CC_EXPORT Keyframe {
DISALLOW_COPY_AND_ASSIGN(Keyframe);
};
-class CC_EXPORT ColorKeyframe : public Keyframe {
+class CC_ANIMATION_EXPORT ColorKeyframe : public Keyframe {
public:
static std::unique_ptr<ColorKeyframe> Create(
base::TimeDelta time,
@@ -55,7 +55,7 @@ class CC_EXPORT ColorKeyframe : public Keyframe {
SkColor value_;
};
-class CC_EXPORT FloatKeyframe : public Keyframe {
+class CC_ANIMATION_EXPORT FloatKeyframe : public Keyframe {
public:
static std::unique_ptr<FloatKeyframe> Create(
base::TimeDelta time,
@@ -75,7 +75,7 @@ class CC_EXPORT FloatKeyframe : public Keyframe {
float value_;
};
-class CC_EXPORT TransformKeyframe : public Keyframe {
+class CC_ANIMATION_EXPORT TransformKeyframe : public Keyframe {
public:
static std::unique_ptr<TransformKeyframe> Create(
base::TimeDelta time,
@@ -95,7 +95,7 @@ class CC_EXPORT TransformKeyframe : public Keyframe {
TransformOperations value_;
};
-class CC_EXPORT FilterKeyframe : public Keyframe {
+class CC_ANIMATION_EXPORT FilterKeyframe : public Keyframe {
public:
static std::unique_ptr<FilterKeyframe> Create(
base::TimeDelta time,
@@ -115,7 +115,8 @@ class CC_EXPORT FilterKeyframe : public Keyframe {
FilterOperations value_;
};
-class CC_EXPORT KeyframedColorAnimationCurve : public ColorAnimationCurve {
+class CC_ANIMATION_EXPORT KeyframedColorAnimationCurve
+ : public ColorAnimationCurve {
public:
// It is required that the keyframes be sorted by time.
static std::unique_ptr<KeyframedColorAnimationCurve> Create();
@@ -150,7 +151,8 @@ class CC_EXPORT KeyframedColorAnimationCurve : public ColorAnimationCurve {
DISALLOW_COPY_AND_ASSIGN(KeyframedColorAnimationCurve);
};
-class CC_EXPORT KeyframedFloatAnimationCurve : public FloatAnimationCurve {
+class CC_ANIMATION_EXPORT KeyframedFloatAnimationCurve
+ : public FloatAnimationCurve {
public:
// It is required that the keyframes be sorted by time.
static std::unique_ptr<KeyframedFloatAnimationCurve> Create();
@@ -192,7 +194,7 @@ class CC_EXPORT KeyframedFloatAnimationCurve : public FloatAnimationCurve {
DISALLOW_COPY_AND_ASSIGN(KeyframedFloatAnimationCurve);
};
-class CC_EXPORT KeyframedTransformAnimationCurve
+class CC_ANIMATION_EXPORT KeyframedTransformAnimationCurve
: public TransformAnimationCurve {
public:
// It is required that the keyframes be sorted by time.
@@ -236,7 +238,7 @@ class CC_EXPORT KeyframedTransformAnimationCurve
DISALLOW_COPY_AND_ASSIGN(KeyframedTransformAnimationCurve);
};
-class CC_EXPORT KeyframedFilterAnimationCurve
+class CC_ANIMATION_EXPORT KeyframedFilterAnimationCurve
: public FilterAnimationCurve {
public:
// It is required that the keyframes be sorted by time.
« no previous file with comments | « cc/animation/element_animations.h ('k') | cc/animation/scroll_offset_animation_curve.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698