Index: Source/core/page/EventHandler.h |
diff --git a/Source/core/page/EventHandler.h b/Source/core/page/EventHandler.h |
index a2314445140e2e5224e4b092500258fd976636db..5891fbddece06053c42e5020fa4ec00c01c61492 100644 |
--- a/Source/core/page/EventHandler.h |
+++ b/Source/core/page/EventHandler.h |
@@ -230,7 +230,7 @@ private: |
bool handleGestureLongTap(const GestureEventWithHitTestResults&); |
bool handleGestureScrollUpdate(const PlatformGestureEvent&); |
bool handleGestureScrollBegin(const PlatformGestureEvent&); |
- void clearGestureScrollNodes(); |
+ void clearGestureScrollState(); |
bool shouldApplyTouchAdjustment(const PlatformGestureEvent&) const; |
@@ -261,7 +261,9 @@ private: |
// On output, if provided and a node was scrolled stopNode will point to that node. |
// delta - The delta to scroll by, in the units of the granularity parameter. (e.g. pixels, lines, pages, etc.) |
// absolutePoint - For wheel scrolls - the location, in absolute coordinates, where the event occured. |
- bool scroll(ScrollDirection, ScrollGranularity, Node* startNode = nullptr, Node** stopNode = nullptr, float delta = 1.0f, IntPoint absolutePoint = IntPoint()); |
+ ScrollResultOneDimensional scroll(ScrollDirection, ScrollGranularity, Node* startNode = nullptr, Node** stopNode = nullptr, float delta = 1.0f, IntPoint absolutePoint = IntPoint()); |
+ |
+ void resetOverscroll(bool didScrollX, bool didScrollY, FloatSize& unusedDelta); |
void customizedScroll(const Node& startNode, ScrollState&); |
@@ -378,6 +380,8 @@ private: |
LayoutSize m_offsetFromResizeCorner; // In the coords of m_resizeScrollableArea. |
+ FloatSize m_accumulatedRootOverscroll; |
+ |
bool m_mousePositionIsUnknown; |
// The last mouse movement position this frame has seen in root frame coordinates. |
IntPoint m_lastKnownMousePosition; |