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

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: 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 d29d956d7f26d35f95e06cd26356f7baf826a9f6..276d2dedfb3c40b2977c6af7206b09e945b257de 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);
« no previous file with comments | « third_party/WebKit/Source/core/events/PointerEventFactory.cpp ('k') | third_party/WebKit/Source/core/input/EventHandler.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698