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

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

Issue 2973963003: Release mouse pointer capture when it starts drag (Closed)
Patch Set: Remove is_cancel from parameters Created 3 years, 5 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/PointerEventManager.h
diff --git a/third_party/WebKit/Source/core/input/PointerEventManager.h b/third_party/WebKit/Source/core/input/PointerEventManager.h
index f1bf20968ab89005dbdc38b892f08ce025fab9ed..a8ae050c9c31726ee652dda388522d14afd4f73c 100644
--- a/third_party/WebKit/Source/core/input/PointerEventManager.h
+++ b/third_party/WebKit/Source/core/input/PointerEventManager.h
@@ -30,6 +30,12 @@ class CORE_EXPORT PointerEventManager
PointerEventManager(LocalFrame&, MouseEventManager&);
DECLARE_TRACE();
+ // This is the unified path for handling all input device events. This may
+ // cause firing DOM pointerevents, mouseevent, and touch events accordingly.
+ // TODO(crbug.com/625841): We need to get all event handling path to go
+ // through this function.
+ WebInputEventResult HandlePointerEvent(const WebPointerEvent&, Node* target);
+
// Sends the mouse pointer events and the boundary events
// that it may cause. It also sends the compat mouse events
// and sets the newNodeUnderMouse if the capturing is set

Powered by Google App Engine
This is Rietveld 408576698