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

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

Issue 1635863006: Pointerevent capture APIs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Yet another rebase Created 4 years, 10 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 348e59f2a888dff6f3bd0e673c56493fd41d17d7..752ca113045fb1db308826ec4d8df86371ce6dfa 100644
--- a/third_party/WebKit/Source/core/input/EventHandler.h
+++ b/third_party/WebKit/Source/core/input/EventHandler.h
@@ -178,6 +178,13 @@ public:
WebInputEventResult sendContextMenuEventForKey(Element* overrideTargetElement = nullptr);
WebInputEventResult sendContextMenuEventForGesture(const GestureEventWithHitTestResults&);
+ // Returns whether pointerId is active or not
+ bool isPointerEventActive(int);
+
+ void setPointerCapture(int, EventTarget*);
+ void releasePointerCapture(int, EventTarget*);
+ void elementRemoved(EventTarget*);
+
void setMouseDownMayStartAutoscroll() { m_mouseDownMayStartAutoscroll = true; }
static WebInputEventResult mergeEventResult(WebInputEventResult resultA, WebInputEventResult resultB);

Powered by Google App Engine
This is Rietveld 408576698