| Index: Source/platform/scroll/ProgrammaticScrollAnimator.h
|
| diff --git a/Source/platform/scroll/ProgrammaticScrollAnimator.h b/Source/platform/scroll/ProgrammaticScrollAnimator.h
|
| index 9ee87562a7aa39b9067e82a33f122d8e2fb4753d..d3813a33eb54555fc19179f72864ed75820add85 100644
|
| --- a/Source/platform/scroll/ProgrammaticScrollAnimator.h
|
| +++ b/Source/platform/scroll/ProgrammaticScrollAnimator.h
|
| @@ -6,8 +6,6 @@
|
| #define ProgrammaticScrollAnimator_h
|
|
|
| #include "platform/geometry/FloatPoint.h"
|
| -#include "public/platform/WebCompositorAnimationDelegate.h"
|
| -#include "public/platform/WebCompositorAnimationPlayerClient.h"
|
| #include "wtf/FastAllocBase.h"
|
| #include "wtf/Noncopyable.h"
|
| #include "wtf/OwnPtr.h"
|
| @@ -16,13 +14,11 @@
|
| namespace blink {
|
|
|
| class ScrollableArea;
|
| -class WebCompositorAnimationPlayer;
|
| -class WebCompositorAnimationTimeline;
|
| class WebScrollOffsetAnimationCurve;
|
|
|
| // Animator for fixed-destination scrolls, such as those triggered by
|
| // CSSOM View scroll APIs.
|
| -class ProgrammaticScrollAnimator : private WebCompositorAnimationPlayerClient, WebCompositorAnimationDelegate {
|
| +class ProgrammaticScrollAnimator {
|
| WTF_MAKE_NONCOPYABLE(ProgrammaticScrollAnimator);
|
| WTF_MAKE_FAST_ALLOCATED(ProgrammaticScrollAnimator);
|
| public:
|
| @@ -36,14 +32,8 @@
|
| void tickAnimation(double monotonicTime);
|
| bool hasAnimationThatRequiresService() const;
|
| void updateCompositorAnimations();
|
| - void layerForCompositedScrollingDidChange(WebCompositorAnimationTimeline*);
|
| + void layerForCompositedScrollingDidChange();
|
| void notifyCompositorAnimationFinished(int groupId);
|
| - // WebCompositorAnimationDelegate implementation.
|
| - void notifyAnimationStarted(double monotonicTime, int group) override;
|
| - void notifyAnimationFinished(double monotonicTime, int group) override;
|
| -
|
| - // WebCompositorAnimationPlayerClient implementation.
|
| - WebCompositorAnimationPlayer* compositorPlayer() const override;
|
|
|
| private:
|
| explicit ProgrammaticScrollAnimator(ScrollableArea*);
|
| @@ -70,10 +60,6 @@
|
|
|
| void resetAnimationState();
|
| void notifyPositionChanged(const DoublePoint&);
|
| - void reattachCompositorPlayerIfNeeded(WebCompositorAnimationTimeline*);
|
| -
|
| - OwnPtr<WebCompositorAnimationPlayer> m_compositorPlayer;
|
| - int m_compositorAnimationAttachedToLayerId;
|
|
|
| ScrollableArea* m_scrollableArea;
|
| OwnPtr<WebScrollOffsetAnimationCurve> m_animationCurve;
|
|
|