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

Side by Side Diff: third_party/WebKit/Source/core/geometry/DOMMatrix.idl

Issue 2868953002: Stop accepting string constructor of DOMMatrix on workers (Closed)
Patch Set: x Created 3 years, 7 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 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // https://dev.w3.org/fxtf/geometry/#DOMMatrix 5 // https://dev.w3.org/fxtf/geometry/#DOMMatrix
6 6
7 [ 7 [
8 Constructor(optional (DOMString or sequence<unrestricted double>) init), 8 Constructor(optional (DOMString or sequence<unrestricted double>) init),
9 RaisesException=Constructor, 9 RaisesException=Constructor,
10 ConstructorCallWith=ExecutionContext,
10 Exposed=(Window,Worker), 11 Exposed=(Window,Worker),
11 RuntimeEnabled=GeometryInterfaces, 12 RuntimeEnabled=GeometryInterfaces,
12 ] interface DOMMatrix : DOMMatrixReadOnly { 13 ] interface DOMMatrix : DOMMatrixReadOnly {
13 [RaisesException, NewObject] static DOMMatrix fromMatrix(optional DOMMatrixI nit other); 14 [RaisesException, NewObject] static DOMMatrix fromMatrix(optional DOMMatrixI nit other);
14 [RaisesException, NewObject] static DOMMatrix fromFloat32Array(Float32Array array32); 15 [RaisesException, NewObject] static DOMMatrix fromFloat32Array(Float32Array array32);
15 [RaisesException, NewObject] static DOMMatrix fromFloat64Array(Float64Array array64); 16 [RaisesException, NewObject] static DOMMatrix fromFloat64Array(Float64Array array64);
16 17
17 // These attributes are simple aliases for certain elements of the 4x4 matri x 18 // These attributes are simple aliases for certain elements of the 4x4 matri x
18 inherit attribute unrestricted double a; 19 inherit attribute unrestricted double a;
19 inherit attribute unrestricted double b; 20 inherit attribute unrestricted double b;
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 DOMMatrix rotateAxisAngleSelf(optional unrestricted double x = 0, 64 DOMMatrix rotateAxisAngleSelf(optional unrestricted double x = 0,
64 optional unrestricted double y = 0, 65 optional unrestricted double y = 0,
65 optional unrestricted double z = 0, 66 optional unrestricted double z = 0,
66 optional unrestricted double angle = 0); 67 optional unrestricted double angle = 0);
67 DOMMatrix skewXSelf(optional unrestricted double sx = 0); 68 DOMMatrix skewXSelf(optional unrestricted double sx = 0);
68 DOMMatrix skewYSelf(optional unrestricted double sy = 0); 69 DOMMatrix skewYSelf(optional unrestricted double sy = 0);
69 DOMMatrix invertSelf(); 70 DOMMatrix invertSelf();
70 71
71 [RaisesException] DOMMatrix setMatrixValue(DOMString transformList); 72 [RaisesException] DOMMatrix setMatrixValue(DOMString transformList);
72 }; 73 };
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/geometry/DOMMatrix.cpp ('k') | third_party/WebKit/Source/core/geometry/DOMMatrixReadOnly.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698