| Index: third_party/WebKit/Source/core/input/EventHandler.h
|
| diff --git a/third_party/WebKit/Source/core/input/EventHandler.h b/third_party/WebKit/Source/core/input/EventHandler.h
|
| index 019e3ee1d79f250cc640c6086c56b32c8f97b3a6..3f44d21a35070704b772816d16cae56856c44d84 100644
|
| --- a/third_party/WebKit/Source/core/input/EventHandler.h
|
| +++ b/third_party/WebKit/Source/core/input/EventHandler.h
|
| @@ -293,8 +293,14 @@ private:
|
|
|
| bool handleDrag(const MouseEventWithHitTestResults&, DragInitiator);
|
| bool tryStartDrag(const MouseEventWithHitTestResults&);
|
| +
|
| + // Clears drag target and related states. It is called when drag is done or canceled.
|
| void clearDragState();
|
|
|
| + // Resets the state that indicates the next events could cause a drag. It is called when
|
| + // we realize the next events should not cause drag based on the drag heuristics.
|
| + void clearDragHeuristicState();
|
| +
|
| WebInputEventResult dispatchDragSrcEvent(const AtomicString& eventType, const PlatformMouseEvent&);
|
|
|
| bool dragHysteresisExceeded(const IntPoint&) const;
|
|
|