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 089241b3b866a1e52373d5e02b99cfc92d11622e..99c5a00b839547d4ed1e7c45421475c216759f35 100644 |
--- a/third_party/WebKit/Source/core/input/EventHandler.h |
+++ b/third_party/WebKit/Source/core/input/EventHandler.h |
@@ -291,6 +291,13 @@ private: |
MouseEventWithHitTestResults prepareMouseEvent(const HitTestRequest&, const PlatformMouseEvent&); |
bool dispatchMouseEvent(const AtomicString& eventType, Node* target, int clickCount, const PlatformMouseEvent&); |
+ |
+ // Dispatches ME after corresponding PE provided the PE has not been canceled. The eventType arg |
+ // must be a mouse event that can be gated though a preventDefaulted pointerdown (i.e., one of |
+ // {mousedown, mousemove, mouseup}). |
+ bool dispatchPointerAndMouseEvent(const AtomicString& mouseEventType, Node* target, |
+ int clickCount, const PlatformMouseEvent&); |
Rick Byers
2015/10/30 17:21:29
PlatformMouseEvent contains a clickCount, can you
mustaq
2015/11/03 20:44:30
I think PlatformMouse event doesn't maintain the c
Rick Byers
2015/11/03 20:59:56
Ok. Seems like a wart to me that might not be too
mustaq
2015/11/03 21:37:34
Added a TODO.
|
+ |
bool dispatchDragEvent(const AtomicString& eventType, Node* target, const PlatformMouseEvent&, DataTransfer*); |
void clearDragDataTransfer(); |