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

Unified Diff: third_party/WebKit/Source/core/dom/Element.idl

Issue 2220043002: Added PointerEvent.hasPointerCapture API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added a missing element interface. Created 4 years, 4 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
« no previous file with comments | « third_party/WebKit/Source/core/dom/Element.cpp ('k') | third_party/WebKit/Source/core/input/EventHandler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/dom/Element.idl
diff --git a/third_party/WebKit/Source/core/dom/Element.idl b/third_party/WebKit/Source/core/dom/Element.idl
index c8a7b622df097ed44d4f9437bfb4f90fa3e5c339..488dae9e783d58f427841ce560d03aa7e77efbbf 100644
--- a/third_party/WebKit/Source/core/dom/Element.idl
+++ b/third_party/WebKit/Source/core/dom/Element.idl
@@ -38,6 +38,11 @@ interface Element : Node {
// PointerEvent (http://www.w3.org/TR/pointerevents/#extensions-to-the-element-interface)
[RuntimeEnabled=PointerEvent, RaisesException] void setPointerCapture (long pointerId);
[RuntimeEnabled=PointerEvent, RaisesException] void releasePointerCapture (long pointerId);
+ [RuntimeEnabled=PointerEvent] attribute EventHandler ongotpointercapture;
+ [RuntimeEnabled=PointerEvent] attribute EventHandler onlostpointercapture;
+
+ // PointerEvent v2 (https://w3c.github.io/pointerevents/#extensions-to-the-element-interface)
+ [RuntimeEnabled=PointerEvent] boolean hasPointerCapture (long pointerId);
boolean hasAttributes();
[SameObject, PerWorldBindings, ImplementedAs=attributesForBindings] readonly attribute NamedNodeMap attributes;
@@ -130,11 +135,6 @@ interface Element : Node {
attribute EventHandler onsearch;
attribute EventHandler onselectstart;
attribute EventHandler onwheel;
-
- // Pointerevent attributes (http://www.w3.org/TR/pointerevents/#extensions-to-the-element-interface)
- [RuntimeEnabled=PointerEvent] attribute EventHandler ongotpointercapture;
- [RuntimeEnabled=PointerEvent] attribute EventHandler onlostpointercapture;
-
};
Element implements ParentNode;
« no previous file with comments | « third_party/WebKit/Source/core/dom/Element.cpp ('k') | third_party/WebKit/Source/core/input/EventHandler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698