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

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

Issue 1227833002: Measure usage of Document.createTouch() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | Source/core/frame/UseCounter.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 // Pointer Lock 156 // Pointer Lock
157 // https://dvcs.w3.org/hg/pointerlock/raw-file/default/index.html#extensions -to-the-document-interface 157 // https://dvcs.w3.org/hg/pointerlock/raw-file/default/index.html#extensions -to-the-document-interface
158 attribute EventHandler onpointerlockchange; 158 attribute EventHandler onpointerlockchange;
159 attribute EventHandler onpointerlockerror; 159 attribute EventHandler onpointerlockerror;
160 [MeasureAs=DocumentPointerLockElement] readonly attribute Element? pointerLo ckElement; 160 [MeasureAs=DocumentPointerLockElement] readonly attribute Element? pointerLo ckElement;
161 [MeasureAs=DocumentExitPointerLock] void exitPointerLock(); 161 [MeasureAs=DocumentExitPointerLock] void exitPointerLock();
162 162
163 // Touch Events 163 // Touch Events
164 // http://rawgit.com/w3c/touch-events/v1-errata/touchevents.html#extensions- to-the-document-interface 164 // http://rawgit.com/w3c/touch-events/v1-errata/touchevents.html#extensions- to-the-document-interface
165 // FIXME: The arguments should not be optional. 165 // FIXME: The arguments should not be optional.
166 // FIXME: The webkit-prefixed arguments are not in the spec. 166 [RuntimeEnabled=Touch, Measure] Touch createTouch([Default=Undefined] option al Window window,
167 [RuntimeEnabled=Touch] Touch createTouch([Default=Undefined] optional Window window, 167 [Default=Undefined] option al EventTarget target,
168 [Default=Undefined] optional EventT arget target, 168 [Default=Undefined] option al long identifier,
169 [Default=Undefined] optional long i dentifier, 169 [Default=Undefined] option al unrestricted double pageX,
170 [Default=Undefined] optional unrest ricted double pageX, 170 [Default=Undefined] option al unrestricted double pageY,
171 [Default=Undefined] optional unrest ricted double pageY, 171 [Default=Undefined] option al unrestricted double screenX,
172 [Default=Undefined] optional unrest ricted double screenX, 172 [Default=Undefined] option al unrestricted double screenY,
173 [Default=Undefined] optional unrest ricted double screenY, 173 [Default=Undefined] option al unrestricted double radiusX,
174 [Default=Undefined] optional unrest ricted double webkitRadiusX, 174 [Default=Undefined] option al unrestricted double radiusY,
175 [Default=Undefined] optional unrest ricted double webkitRadiusY, 175 [Default=Undefined] option al unrestricted float rotationAngle,
176 [Default=Undefined] optional unrest ricted float webkitRotationAngle, 176 [Default=Undefined] option al unrestricted float force);
177 [Default=Undefined] optional unrest ricted float webkitForce);
178 [RuntimeEnabled=Touch] TouchList createTouchList(Touch... touches); 177 [RuntimeEnabled=Touch] TouchList createTouchList(Touch... touches);
179 178
180 // FIXME: The spec doesn't define these event handler attributes. 179 // FIXME: The spec doesn't define these event handler attributes.
181 [RuntimeEnabled=Touch] attribute EventHandler ontouchstart; 180 [RuntimeEnabled=Touch] attribute EventHandler ontouchstart;
182 [RuntimeEnabled=Touch] attribute EventHandler ontouchend; 181 [RuntimeEnabled=Touch] attribute EventHandler ontouchend;
183 [RuntimeEnabled=Touch] attribute EventHandler ontouchmove; 182 [RuntimeEnabled=Touch] attribute EventHandler ontouchmove;
184 [RuntimeEnabled=Touch] attribute EventHandler ontouchcancel; 183 [RuntimeEnabled=Touch] attribute EventHandler ontouchcancel;
185 184
186 // Custom Elements 185 // Custom Elements
187 // http://w3c.github.io/webcomponents/spec/custom/#extensions-to-document-in terface-to-register 186 // http://w3c.github.io/webcomponents/spec/custom/#extensions-to-document-in terface-to-register
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 attribute EventHandler onsearch; 218 attribute EventHandler onsearch;
220 [RuntimeEnabled=ExperimentalContentSecurityPolicyFeatures] attribute EventHa ndler onsecuritypolicyviolation; 219 [RuntimeEnabled=ExperimentalContentSecurityPolicyFeatures] attribute EventHa ndler onsecuritypolicyviolation;
221 attribute EventHandler onselectionchange; 220 attribute EventHandler onselectionchange;
222 attribute EventHandler onselectstart; 221 attribute EventHandler onselectstart;
223 attribute EventHandler onwheel; 222 attribute EventHandler onwheel;
224 }; 223 };
225 224
226 Document implements GlobalEventHandlers; 225 Document implements GlobalEventHandlers;
227 Document implements ParentNode; 226 Document implements ParentNode;
228 Document implements NonElementParentNode; 227 Document implements NonElementParentNode;
OLDNEW
« no previous file with comments | « no previous file | Source/core/frame/UseCounter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698