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

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

Issue 1635863006: Pointerevent capture APIs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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/dom/Element.idl
diff --git a/third_party/WebKit/Source/core/dom/Element.idl b/third_party/WebKit/Source/core/dom/Element.idl
index c5db75a480266b6198fe5e35915c348e2a1fbe67..5f3e34fcf72315ebb76bcd9ff5a9bf1411059edb 100644
--- a/third_party/WebKit/Source/core/dom/Element.idl
+++ b/third_party/WebKit/Source/core/dom/Element.idl
@@ -35,6 +35,10 @@ interface Element : Node {
[Reflect=class] attribute DOMString className;
[SameObject, PerWorldBindings] readonly attribute DOMTokenList classList;
+ // 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);
+
[MeasureAs=HasAttributes] boolean hasAttributes();
[SameObject, PerWorldBindings, ImplementedAs=attributesForBindings] readonly attribute NamedNodeMap attributes;
DOMString? getAttribute(DOMString name);

Powered by Google App Engine
This is Rietveld 408576698