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

Side by Side Diff: third_party/WebKit/Source/core/dom/Element.idl

Issue 2584723004: Move ongot/lostpointercaptures to global handlers (Closed)
Patch Set: Updating new tests Created 4 years 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2009 Apple Inc. All rights reserved.
3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> 3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 19 matching lines...) Expand all
30 readonly attribute DOMString? prefix; 30 readonly attribute DOMString? prefix;
31 readonly attribute DOMString localName; 31 readonly attribute DOMString localName;
32 readonly attribute DOMString tagName; 32 readonly attribute DOMString tagName;
33 33
34 [CEReactions, Reflect] attribute DOMString id; 34 [CEReactions, Reflect] attribute DOMString id;
35 [CEReactions, Reflect=class] attribute DOMString className; 35 [CEReactions, Reflect=class] attribute DOMString className;
36 [SameObject, CEReactions, PerWorldBindings, PutForwards=value] readonly attr ibute DOMTokenList classList; 36 [SameObject, CEReactions, PerWorldBindings, PutForwards=value] readonly attr ibute DOMTokenList classList;
37 [Unscopable, CEReactions, Reflect] attribute DOMString slot; 37 [Unscopable, CEReactions, Reflect] attribute DOMString slot;
38 38
39 // PointerEvent 39 // PointerEvent
40 //https://www.w3.org/TR/pointerevents/#extensions-to-the-element-interface 40 //https://www.w3.org/TR/pointerevents/#extensions-to-the-element-interface
mustaq 2016/12/20 15:17:44 Let's replace this link with the v2 spec link (and
Navid Zolghadr 2016/12/20 15:27:57 But v2 spec does have the ongot/lostpointercapture
Rick Byers 2016/12/20 15:37:12 In general we prefer links to live spec versions.
Navid Zolghadr 2016/12/20 17:04:44 Done.
41 [RuntimeEnabled=PointerEvent, RaisesException] void setPointerCapture (long pointerId); 41 [RuntimeEnabled=PointerEvent, RaisesException] void setPointerCapture (long pointerId);
42 [RuntimeEnabled=PointerEvent, RaisesException] void releasePointerCapture (l ong pointerId); 42 [RuntimeEnabled=PointerEvent, RaisesException] void releasePointerCapture (l ong pointerId);
43 [RuntimeEnabled=PointerEvent] attribute EventHandler ongotpointercapture;
44 [RuntimeEnabled=PointerEvent] attribute EventHandler onlostpointercapture;
45 43
46 // PointerEvent v2 44 // PointerEvent v2
47 // https://w3c.github.io/pointerevents/#extensions-to-the-element-interface 45 // https://w3c.github.io/pointerevents/#extensions-to-the-element-interface
48 [RuntimeEnabled=PointerEvent] boolean hasPointerCapture (long pointerId); 46 [RuntimeEnabled=PointerEvent] boolean hasPointerCapture (long pointerId);
49 47
50 boolean hasAttributes(); 48 boolean hasAttributes();
51 [SameObject, PerWorldBindings, ImplementedAs=attributesForBindings] readonly attribute NamedNodeMap attributes; 49 [SameObject, PerWorldBindings, ImplementedAs=attributesForBindings] readonly attribute NamedNodeMap attributes;
52 DOMString? getAttribute(DOMString name); 50 DOMString? getAttribute(DOMString name);
53 DOMString? getAttributeNS(DOMString? namespaceURI, DOMString localName); 51 DOMString? getAttributeNS(DOMString? namespaceURI, DOMString localName);
54 [RaisesException, CEReactions, CustomElementCallbacks] void setAttribute(DOM String name, DOMString value); 52 [RaisesException, CEReactions, CustomElementCallbacks] void setAttribute(DOM String name, DOMString value);
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 attribute EventHandler oncut; 134 attribute EventHandler oncut;
137 attribute EventHandler onpaste; 135 attribute EventHandler onpaste;
138 attribute EventHandler onsearch; 136 attribute EventHandler onsearch;
139 attribute EventHandler onselectstart; 137 attribute EventHandler onselectstart;
140 attribute EventHandler onwheel; 138 attribute EventHandler onwheel;
141 }; 139 };
142 140
143 Element implements ParentNode; 141 Element implements ParentNode;
144 Element implements ChildNode; 142 Element implements ChildNode;
145 Element implements NonDocumentTypeChildNode; 143 Element implements NonDocumentTypeChildNode;
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698