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

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: Added basic layout-tests for tilt, tiltDirection 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 webkitForce); 194 [Default=Undefined] optional float webkitForce,
195 [Default=Undefined] optional float webkitTilt,
Rick Byers 2015/02/13 08:48:05 remove webkit prefix - that's legacy. In fact onl
d.pikalov 2015/02/13 13:31:17 Also, we have to remove those webkit-prefixed prop
196 [Default=Undefined] optional float webkitTiltDirection);
195 [RuntimeEnabled=Touch] TouchList createTouchList(Touch... touches); 197 [RuntimeEnabled=Touch] TouchList createTouchList(Touch... touches);
196 198
197 [CallWith=ScriptState, CustomElementCallbacks, RaisesException, MeasureAs=Do cumentRegisterElement] CustomElementConstructor registerElement(DOMString name, optional ElementRegistrationOptions options); 199 [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); 200 [CustomElementCallbacks, PerWorldBindings, RaisesException] Element createEl ement(DOMString localName, DOMString? typeExtension);
199 [CustomElementCallbacks, RaisesException] Element createElementNS(DOMString? namespaceURI, DOMString qualifiedName, DOMString? typeExtension); 201 [CustomElementCallbacks, RaisesException] Element createElementNS(DOMString? namespaceURI, DOMString qualifiedName, DOMString? typeExtension);
200 202
201 // Page visibility API. 203 // Page visibility API.
202 readonly attribute VisibilityState visibilityState; 204 readonly attribute VisibilityState visibilityState;
203 readonly attribute boolean hidden; 205 readonly attribute boolean hidden;
204 206
205 // Deprecated prefixed page visibility API. 207 // Deprecated prefixed page visibility API.
206 // TODO(davidben): This is a property so attaching a deprecation warning res ults in false positives when outputting 208 // 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. 209 // 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; 210 [MeasureAs=PrefixedPageVisibility, ImplementedAs=visibilityState] readonly a ttribute DOMString webkitVisibilityState;
209 [MeasureAs=PrefixedPageVisibility, ImplementedAs=hidden] readonly attribute boolean webkitHidden; 211 [MeasureAs=PrefixedPageVisibility, ImplementedAs=hidden] readonly attribute boolean webkitHidden;
210 212
211 readonly attribute HTMLScriptElement currentScript; 213 readonly attribute HTMLScriptElement currentScript;
212 }; 214 };
213 215
214 Document implements GlobalEventHandlers; 216 Document implements GlobalEventHandlers;
215 Document implements ParentNode; 217 Document implements ParentNode;
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698