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 5f021c4104dbb5c62ca3a80b22c754ed2b169e3c..18469bd8b62264e91bb39445364dab045cdf17d7 100644 |
--- a/third_party/WebKit/Source/platform/scroll/ScrollAnimator.h |
+++ b/third_party/WebKit/Source/platform/scroll/ScrollAnimator.h |
@@ -48,7 +48,7 @@ public: |
explicit ScrollAnimator(ScrollableArea*, WTF::TimeFunction = WTF::monotonicallyIncreasingTime); |
~ScrollAnimator() override; |
- bool hasRunningAnimation() const; |
+ bool hasRunningAnimation() const override; |
float computeDeltaToConsume(ScrollbarOrientation, float pixelDelta) const override; |
ScrollResultOneDimensional userScroll(ScrollbarOrientation, ScrollGranularity, float step, float delta) override; |
@@ -77,6 +77,11 @@ private: |
// immediately to the target and returns false. |
bool registerAndScheduleAnimation(); |
+ void postAnimationCleanupAndReset(); |
+ |
+ void addMainThreadScrollingReason(); |
+ void removeMainThreadScrollingReason(); |
+ |
FloatPoint m_targetOffset; |
ScrollGranularity m_lastGranularity; |
}; |