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

Unified Diff: Source/platform/animation/TimingFunction.h

Issue 65303006: Move TimingFunction.h to platform/ (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 6 years, 11 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
Index: Source/platform/animation/TimingFunction.h
diff --git a/Source/core/platform/animation/TimingFunction.h b/Source/platform/animation/TimingFunction.h
similarity index 96%
rename from Source/core/platform/animation/TimingFunction.h
rename to Source/platform/animation/TimingFunction.h
index 147d86b390b94b7227a3df631d79b8bc23365e37..bfe70d74ff9d9dc19a6324f1136a2e1453afd051 100644
--- a/Source/core/platform/animation/TimingFunction.h
+++ b/Source/platform/animation/TimingFunction.h
@@ -26,6 +26,7 @@
#define TimingFunction_h
#include "RuntimeEnabledFeatures.h"
+#include "platform/PlatformExport.h"
#include "platform/animation/AnimationUtilities.h" // For blend()
#include "platform/animation/UnitBezier.h"
#include "wtf/OwnPtr.h"
@@ -39,7 +40,7 @@
namespace WebCore {
-class TimingFunction : public RefCounted<TimingFunction> {
+class PLATFORM_EXPORT TimingFunction : public RefCounted<TimingFunction> {
public:
enum Type {
@@ -64,7 +65,7 @@ private:
Type m_type;
};
-class LinearTimingFunction : public TimingFunction {
+class PLATFORM_EXPORT LinearTimingFunction : public TimingFunction {
public:
static PassRefPtr<LinearTimingFunction> create()
{
@@ -91,7 +92,7 @@ private:
// Forward declare so we can friend it below. Don't use in production code!
class ChainedTimingFunctionTestHelper;
-class CubicBezierTimingFunction : public TimingFunction {
+class PLATFORM_EXPORT CubicBezierTimingFunction : public TimingFunction {
public:
enum SubType {
Ease,
@@ -172,7 +173,7 @@ private:
mutable OwnPtr<UnitBezier> m_bezier;
};
-class StepsTimingFunction : public TimingFunction {
+class PLATFORM_EXPORT StepsTimingFunction : public TimingFunction {
public:
enum SubType {
Start,
@@ -233,7 +234,7 @@ private:
SubType m_subType;
};
-class ChainedTimingFunction : public TimingFunction {
+class PLATFORM_EXPORT ChainedTimingFunction : public TimingFunction {
public:
static PassRefPtr<ChainedTimingFunction> create()
{
« no previous file with comments | « Source/core/platform/animation/TimingFunctionTestHelperTest.cpp ('k') | Source/platform/animation/TimingFunctionTestHelper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698