| Index: Source/core/page/EventHandler.h
|
| diff --git a/Source/core/page/EventHandler.h b/Source/core/page/EventHandler.h
|
| index eeb7df8c47208340f4bf9b8bb84a63aad03ad6f6..ecd0202032162d2be966c809016b53106f997df8 100644
|
| --- a/Source/core/page/EventHandler.h
|
| +++ b/Source/core/page/EventHandler.h
|
| @@ -125,6 +125,9 @@ public:
|
|
|
| void resizeScrollableAreaDestroyed();
|
|
|
| + FloatPoint unusedDelta() const;
|
| + FloatPoint accumulatedRootOverScroll() const;
|
| +
|
| IntPoint lastKnownMousePosition() const;
|
| Cursor currentMouseCursor() const { return m_currentMouseCursor; }
|
|
|
| @@ -259,7 +262,7 @@ 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 customizedScroll(const Node& startNode, ScrollState&);
|
|
|
| @@ -374,6 +377,9 @@ private:
|
|
|
| LayoutSize m_offsetFromResizeCorner; // In the coords of m_resizeScrollableArea.
|
|
|
| + FloatPoint m_unusedDelta;
|
| + FloatPoint m_accumulatedRootOverScroll;
|
| +
|
| bool m_mousePositionIsUnknown;
|
| IntPoint m_lastKnownMousePosition;
|
| IntPoint m_lastKnownMouseGlobalPosition;
|
|
|