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

Side by Side 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: 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 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 17 matching lines...) Expand all
28 interface Element : Node { 28 interface Element : Node {
29 readonly attribute DOMString? namespaceURI; 29 readonly attribute DOMString? namespaceURI;
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 [Reflect] attribute DOMString id; 34 [Reflect] attribute DOMString id;
35 [Reflect=class] attribute DOMString className; 35 [Reflect=class] attribute DOMString className;
36 [SameObject, PerWorldBindings, PutForwards=value] readonly attribute DOMToke nList classList; 36 [SameObject, PerWorldBindings, PutForwards=value] readonly attribute DOMToke nList classList;
37 37
38 // PointerEvent (http://www.w3.org/TR/pointerevents/#extensions-to-the-eleme nt-interface)
39 [RuntimeEnabled=PointerEvent, RaisesException] void setPointerCapture (long pointerId);
40 [RuntimeEnabled=PointerEvent, RaisesException] void releasePointerCapture (l ong pointerId);
41
38 [MeasureAs=HasAttributes] boolean hasAttributes(); 42 [MeasureAs=HasAttributes] boolean hasAttributes();
39 [SameObject, PerWorldBindings, ImplementedAs=attributesForBindings] readonly attribute NamedNodeMap attributes; 43 [SameObject, PerWorldBindings, ImplementedAs=attributesForBindings] readonly attribute NamedNodeMap attributes;
40 DOMString? getAttribute(DOMString name); 44 DOMString? getAttribute(DOMString name);
41 DOMString? getAttributeNS(DOMString? namespaceURI, DOMString localName); 45 DOMString? getAttributeNS(DOMString? namespaceURI, DOMString localName);
42 [RaisesException, CustomElementCallbacks] void setAttribute(DOMString name, DOMString value); 46 [RaisesException, CustomElementCallbacks] void setAttribute(DOMString name, DOMString value);
43 [RaisesException, CustomElementCallbacks] void setAttributeNS(DOMString? nam espaceURI, DOMString name, DOMString value); 47 [RaisesException, CustomElementCallbacks] void setAttributeNS(DOMString? nam espaceURI, DOMString name, DOMString value);
44 [CustomElementCallbacks] void removeAttribute(DOMString name); 48 [CustomElementCallbacks] void removeAttribute(DOMString name);
45 [CustomElementCallbacks] void removeAttributeNS(DOMString? namespaceURI, DOM String localName); 49 [CustomElementCallbacks] void removeAttributeNS(DOMString? namespaceURI, DOM String localName);
46 boolean hasAttribute(DOMString name); 50 boolean hasAttribute(DOMString name);
47 boolean hasAttributeNS(DOMString? namespaceURI, DOMString localName); 51 boolean hasAttributeNS(DOMString? namespaceURI, DOMString localName);
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 attribute EventHandler oncut; 128 attribute EventHandler oncut;
125 attribute EventHandler onpaste; 129 attribute EventHandler onpaste;
126 attribute EventHandler onsearch; 130 attribute EventHandler onsearch;
127 attribute EventHandler onselectstart; 131 attribute EventHandler onselectstart;
128 attribute EventHandler onwheel; 132 attribute EventHandler onwheel;
129 }; 133 };
130 134
131 Element implements ParentNode; 135 Element implements ParentNode;
132 Element implements ChildNode; 136 Element implements ChildNode;
133 Element implements NonDocumentTypeChildNode; 137 Element implements NonDocumentTypeChildNode;
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698