Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(49)

Unified Diff: third_party/WebKit/Source/core/input/EventHandler.h

Issue 1425053002: Fire pointermoves for mousemove events. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Tweaked the tests. Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();

Powered by Google App Engine
This is Rietveld 408576698