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

Unified Diff: Source/platform/scroll/ScrollAnimatorNone.h

Issue 99103006: Moving GraphicsContext and dependencies from core to platform. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Final patch - fixes Android Created 7 years 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 | « Source/platform/scroll/ScrollAnimator.cpp ('k') | Source/platform/scroll/ScrollAnimatorNone.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/scroll/ScrollAnimatorNone.h
diff --git a/Source/core/platform/ScrollAnimatorNone.h b/Source/platform/scroll/ScrollAnimatorNone.h
similarity index 96%
rename from Source/core/platform/ScrollAnimatorNone.h
rename to Source/platform/scroll/ScrollAnimatorNone.h
index 7734c4dd26f1b2f4c56917c074772387954b069d..8f92eb872e2b1c59e7c994b872718dd51c5ef0d9 100644
--- a/Source/core/platform/ScrollAnimatorNone.h
+++ b/Source/platform/scroll/ScrollAnimatorNone.h
@@ -31,10 +31,9 @@
#ifndef ScrollAnimatorNone_h
#define ScrollAnimatorNone_h
-#include "core/platform/ScrollAnimator.h"
#include "platform/Timer.h"
#include "platform/geometry/FloatPoint.h"
-#include "wtf/OwnPtr.h"
+#include "platform/scroll/ScrollAnimator.h"
class ScrollAnimatorNoneTest;
@@ -44,7 +43,7 @@ class IntPoint;
class ActivePlatformGestureAnimation;
struct ScrollAnimatorParameters;
-class ScrollAnimatorNone : public ScrollAnimator {
+class PLATFORM_EXPORT ScrollAnimatorNone : public ScrollAnimator {
public:
explicit ScrollAnimatorNone(ScrollableArea*);
virtual ~ScrollAnimatorNone();
@@ -67,7 +66,7 @@ public:
Bounce
};
- struct Parameters {
+ struct PLATFORM_EXPORT Parameters {
Parameters();
Parameters(bool isEnabled, double animationTime, double repeatMinimumSustainTime, Curve attackCurve, double attackTime, Curve releaseCurve, double releaseTime, Curve coastTimeCurve, double maximumCoastTime);
@@ -96,7 +95,7 @@ protected:
friend class ::ScrollAnimatorNoneTest;
- struct PerAxisData {
+ struct PLATFORM_EXPORT PerAxisData {
PerAxisData(ScrollAnimatorNone* parent, float* currentPos, int visibleLength);
void reset();
bool updateDataFromParameters(float step, float multiplier, float scrollableSize, double currentTime, Parameters*);
« no previous file with comments | « Source/platform/scroll/ScrollAnimator.cpp ('k') | Source/platform/scroll/ScrollAnimatorNone.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698