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

Unified Diff: third_party/WebKit/Source/platform/scroll/ScrollAnimator.h

Issue 1616653002: CC Animation: Move files from cc_blink to Source/platform/animation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Fix copyrights and years. Created 4 years, 10 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: third_party/WebKit/Source/platform/scroll/ScrollAnimator.h
diff --git a/third_party/WebKit/Source/platform/scroll/ScrollAnimator.h b/third_party/WebKit/Source/platform/scroll/ScrollAnimator.h
index b225833840227f80146118337f09489e03af2944..5f021c4104dbb5c62ca3a80b22c754ed2b169e3c 100644
--- a/third_party/WebKit/Source/platform/scroll/ScrollAnimator.h
+++ b/third_party/WebKit/Source/platform/scroll/ScrollAnimator.h
@@ -32,16 +32,16 @@
#define ScrollAnimator_h
#include "platform/Timer.h"
+#include "platform/animation/CompositorAnimationPlayerClient.h"
+#include "platform/animation/CompositorScrollOffsetAnimationCurve.h"
#include "platform/geometry/FloatPoint.h"
#include "platform/scroll/ScrollAnimatorBase.h"
#include "public/platform/WebCompositorAnimationDelegate.h"
-#include "public/platform/WebCompositorAnimationPlayerClient.h"
-#include "public/platform/WebScrollOffsetAnimationCurve.h"
namespace blink {
class ScrollAnimatorTest;
-class WebCompositorAnimationTimeline;
+class CompositorAnimationTimeline;
class PLATFORM_EXPORT ScrollAnimator final : public ScrollAnimatorBase {
public:
@@ -62,12 +62,12 @@ public:
void updateCompositorAnimations() override;
void notifyCompositorAnimationFinished(int groupId) override;
void notifyCompositorAnimationAborted(int groupId) override;
- void layerForCompositedScrollingDidChange(WebCompositorAnimationTimeline*) override;
+ void layerForCompositedScrollingDidChange(CompositorAnimationTimeline*) override;
DECLARE_VIRTUAL_TRACE();
protected:
- OwnPtr<WebScrollOffsetAnimationCurve> m_animationCurve;
+ OwnPtr<CompositorScrollOffsetAnimationCurve> m_animationCurve;
double m_startTime;
WTF::TimeFunction m_timeFunction;

Powered by Google App Engine
This is Rietveld 408576698