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

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

Issue 2352333002: Add more use counters for document.createTouch (Closed)
Patch Set: back out Touch changes Created 4 years, 2 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, 2011 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2011 Apple Inc. All rights reserved.
3 * Copyright (C) 2006, 2007 Samuel Weinig <sam@webkit.org> 3 * Copyright (C) 2006, 2007 Samuel Weinig <sam@webkit.org>
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 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 149
150 // Pointer Lock 150 // Pointer Lock
151 // https://dvcs.w3.org/hg/pointerlock/raw-file/default/index.html#extensions -to-the-document-interface 151 // https://dvcs.w3.org/hg/pointerlock/raw-file/default/index.html#extensions -to-the-document-interface
152 attribute EventHandler onpointerlockchange; 152 attribute EventHandler onpointerlockchange;
153 attribute EventHandler onpointerlockerror; 153 attribute EventHandler onpointerlockerror;
154 [MeasureAs=DocumentExitPointerLock] void exitPointerLock(); 154 [MeasureAs=DocumentExitPointerLock] void exitPointerLock();
155 155
156 // Touch Events 156 // Touch Events
157 // http://rawgit.com/w3c/touch-events/v1-errata/touchevents.html#extensions- to-the-document-interface 157 // http://rawgit.com/w3c/touch-events/v1-errata/touchevents.html#extensions- to-the-document-interface
158 // FIXME: The arguments should not be optional. 158 // FIXME: The arguments should not be optional.
159 [RuntimeEnabled=Touch, Measure, LegacyInterfaceTypeChecking] Touch createTou ch([Default=Undefined] optional Window window, 159 [RuntimeEnabled=Touch, Measure, LegacyInterfaceTypeChecking, Custom=CallProl ogue]
160 [Default=Undefined] optional EventTarget target, 160 Touch createTouch([Default=Undefined] optional Window window,
161 [Default=Undefined] optional long identifier, 161 [Default=Undefined] optional EventTarget target,
162 [Default=Undefined] optional unrestricted double pageX, 162 [Default=Undefined] optional long identifier,
163 [Default=Undefined] optional unrestricted double pageY, 163 [Default=Undefined] optional unrestricted double pageX,
164 [Default=Undefined] optional unrestricted double screenX, 164 [Default=Undefined] optional unrestricted double pageY,
165 [Default=Undefined] optional unrestricted double screenY, 165 [Default=Undefined] optional unrestricted double screenX,
166 [Default=Undefined] optional unrestricted double radiusX, 166 [Default=Undefined] optional unrestricted double screenY,
167 [Default=Undefined] optional unrestricted double radiusY, 167 [Default=Undefined] optional unrestricted double radiusX,
168 [Default=Undefined] optional unrestricted float rotationAngle, 168 [Default=Undefined] optional unrestricted double radiusY,
169 [Default=Undefined] optional unrestricted float force); 169 [Default=Undefined] optional unrestricted float rotationAn gle,
170 [Default=Undefined] optional unrestricted float force);
170 [RuntimeEnabled=Touch] TouchList createTouchList(Touch... touches); 171 [RuntimeEnabled=Touch] TouchList createTouchList(Touch... touches);
171 172
172 // Custom Elements 173 // Custom Elements
173 // http://w3c.github.io/webcomponents/spec/custom/#extensions-to-document-in terface-to-register 174 // http://w3c.github.io/webcomponents/spec/custom/#extensions-to-document-in terface-to-register
174 // FIXME: The registerElement return type should be Function. 175 // FIXME: The registerElement return type should be Function.
175 [CallWith=ScriptState, CustomElementCallbacks, RaisesException, MeasureAs=Do cumentRegisterElement] CustomElementConstructor registerElement(DOMString type, optional ElementRegistrationOptions options); 176 [CallWith=ScriptState, CustomElementCallbacks, RaisesException, MeasureAs=Do cumentRegisterElement] CustomElementConstructor registerElement(DOMString type, optional ElementRegistrationOptions options);
176 // http://w3c.github.io/webcomponents/spec/custom/#extensions-to-document-in terface-to-instantiate 177 // http://w3c.github.io/webcomponents/spec/custom/#extensions-to-document-in terface-to-instantiate
177 // FIXME: The typeExtension arguments should not be nullable. 178 // FIXME: The typeExtension arguments should not be nullable.
178 [CustomElementCallbacks, PerWorldBindings, RaisesException] Element createEl ement(DOMString localName, DOMString? typeExtension); 179 [CustomElementCallbacks, PerWorldBindings, RaisesException] Element createEl ement(DOMString localName, DOMString? typeExtension);
179 [CustomElementCallbacks, RaisesException] Element createElementNS(DOMString? namespaceURI, DOMString qualifiedName, DOMString? typeExtension); 180 [CustomElementCallbacks, RaisesException] Element createElementNS(DOMString? namespaceURI, DOMString qualifiedName, DOMString? typeExtension);
(...skipping 27 matching lines...) Expand all
207 [RuntimeEnabled=ExperimentalContentSecurityPolicyFeatures] attribute EventHa ndler onsecuritypolicyviolation; 208 [RuntimeEnabled=ExperimentalContentSecurityPolicyFeatures] attribute EventHa ndler onsecuritypolicyviolation;
208 attribute EventHandler onselectionchange; 209 attribute EventHandler onselectionchange;
209 attribute EventHandler onselectstart; 210 attribute EventHandler onselectstart;
210 attribute EventHandler onwheel; 211 attribute EventHandler onwheel;
211 }; 212 };
212 213
213 Document implements GlobalEventHandlers; 214 Document implements GlobalEventHandlers;
214 Document implements ParentNode; 215 Document implements ParentNode;
215 Document implements NonElementParentNode; 216 Document implements NonElementParentNode;
216 Document implements DocumentOrShadowRoot; 217 Document implements DocumentOrShadowRoot;
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/dom/Document.cpp ('k') | third_party/WebKit/Source/core/frame/UseCounter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698