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

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

Issue 750013004: Added experimental tilt and tiltDirection to the Touch interface (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Make Touch.tilt available behind the enable-experimental-web-platform-features flag Created 5 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, 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 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 [RuntimeEnabled=Touch] Touch createTouch([Default=Undefined] optional Window window, 184 [RuntimeEnabled=Touch] Touch createTouch([Default=Undefined] optional Window window,
185 [Default=Undefined] optional EventT arget target, 185 [Default=Undefined] optional EventT arget target,
186 [Default=Undefined] optional long i dentifier, 186 [Default=Undefined] optional long i dentifier,
187 [Default=Undefined] optional double pageX, 187 [Default=Undefined] optional double pageX,
188 [Default=Undefined] optional double pageY, 188 [Default=Undefined] optional double pageY,
189 [Default=Undefined] optional double screenX, 189 [Default=Undefined] optional double screenX,
190 [Default=Undefined] optional double screenY, 190 [Default=Undefined] optional double screenY,
191 [Default=Undefined] optional double webkitRadiusX, 191 [Default=Undefined] optional double webkitRadiusX,
192 [Default=Undefined] optional double webkitRadiusY, 192 [Default=Undefined] optional double webkitRadiusY,
193 [Default=Undefined] optional float webkitRotationAngle, 193 [Default=Undefined] optional float webkitRotationAngle,
194 [Default=Undefined] optional float webkitTilt,
Rick Byers 2015/02/04 11:48:55 New arguments must be last to avoid changing the s
d.pikalov 2015/02/11 11:17:13 Done.
194 [Default=Undefined] optional float webkitForce); 195 [Default=Undefined] optional float webkitForce);
195 [RuntimeEnabled=Touch] TouchList createTouchList(Touch... touches); 196 [RuntimeEnabled=Touch] TouchList createTouchList(Touch... touches);
196 197
197 [CallWith=ScriptState, CustomElementCallbacks, RaisesException, MeasureAs=Do cumentRegisterElement] CustomElementConstructor registerElement(DOMString name, optional ElementRegistrationOptions options); 198 [CallWith=ScriptState, CustomElementCallbacks, RaisesException, MeasureAs=Do cumentRegisterElement] CustomElementConstructor registerElement(DOMString name, optional ElementRegistrationOptions options);
198 [CustomElementCallbacks, PerWorldBindings, RaisesException] Element createEl ement(DOMString localName, DOMString? typeExtension); 199 [CustomElementCallbacks, PerWorldBindings, RaisesException] Element createEl ement(DOMString localName, DOMString? typeExtension);
199 [CustomElementCallbacks, RaisesException] Element createElementNS(DOMString? namespaceURI, DOMString qualifiedName, DOMString? typeExtension); 200 [CustomElementCallbacks, RaisesException] Element createElementNS(DOMString? namespaceURI, DOMString qualifiedName, DOMString? typeExtension);
200 201
201 // Page visibility API. 202 // Page visibility API.
202 readonly attribute VisibilityState visibilityState; 203 readonly attribute VisibilityState visibilityState;
203 readonly attribute boolean hidden; 204 readonly attribute boolean hidden;
204 205
205 // Deprecated prefixed page visibility API. 206 // Deprecated prefixed page visibility API.
206 // TODO(davidben): This is a property so attaching a deprecation warning res ults in false positives when outputting 207 // TODO(davidben): This is a property so attaching a deprecation warning res ults in false positives when outputting
207 // document in the console. It's possible http://crbug.com/43394 will resolv e this. 208 // document in the console. It's possible http://crbug.com/43394 will resolv e this.
208 [MeasureAs=PrefixedPageVisibility, ImplementedAs=visibilityState] readonly a ttribute DOMString webkitVisibilityState; 209 [MeasureAs=PrefixedPageVisibility, ImplementedAs=visibilityState] readonly a ttribute DOMString webkitVisibilityState;
209 [MeasureAs=PrefixedPageVisibility, ImplementedAs=hidden] readonly attribute boolean webkitHidden; 210 [MeasureAs=PrefixedPageVisibility, ImplementedAs=hidden] readonly attribute boolean webkitHidden;
210 211
211 readonly attribute HTMLScriptElement currentScript; 212 readonly attribute HTMLScriptElement currentScript;
212 }; 213 };
213 214
214 Document implements GlobalEventHandlers; 215 Document implements GlobalEventHandlers;
215 Document implements ParentNode; 216 Document implements ParentNode;
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698