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

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

Issue 956203002: Sync the DOM* geometry interfaces with the spec (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: add inherit and tweak constructors 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | Source/core/dom/DOMMatrixReadOnly.idl » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 // http://dev.w3.org/fxtf/geometry/#DOMMatrix
6
5 [ 7 [
6 Constructor, 8 Constructor,
7 Constructor(DOMMatrixReadOnly other), 9 Constructor(DOMMatrixReadOnly other),
8 // FIXME: Should implement more constructors (See: crbug.com/388780) 10 // FIXME: Should implement more constructors (See: crbug.com/388780)
11 // FIXME: Exposed=(Window,Worker)
9 RuntimeEnabled=GeometryInterfaces, 12 RuntimeEnabled=GeometryInterfaces,
10 ] interface DOMMatrix : DOMMatrixReadOnly { 13 ] interface DOMMatrix : DOMMatrixReadOnly {
11 // These attributes are simple aliases for certain elements of the 4x4 matri x 14 // These attributes are simple aliases for certain elements of the 4x4 matri x
12 attribute unrestricted double a; 15 inherit attribute unrestricted double a;
13 attribute unrestricted double b; 16 inherit attribute unrestricted double b;
14 attribute unrestricted double c; 17 inherit attribute unrestricted double c;
15 attribute unrestricted double d; 18 inherit attribute unrestricted double d;
16 attribute unrestricted double e; 19 inherit attribute unrestricted double e;
17 attribute unrestricted double f; 20 inherit attribute unrestricted double f;
18 21
19 attribute unrestricted double m11; 22 inherit attribute unrestricted double m11;
20 attribute unrestricted double m12; 23 inherit attribute unrestricted double m12;
21 attribute unrestricted double m13; 24 inherit attribute unrestricted double m13;
22 attribute unrestricted double m14; 25 inherit attribute unrestricted double m14;
23 attribute unrestricted double m21; 26 inherit attribute unrestricted double m21;
24 attribute unrestricted double m22; 27 inherit attribute unrestricted double m22;
25 attribute unrestricted double m23; 28 inherit attribute unrestricted double m23;
26 attribute unrestricted double m24; 29 inherit attribute unrestricted double m24;
27 attribute unrestricted double m31; 30 inherit attribute unrestricted double m31;
28 attribute unrestricted double m32; 31 inherit attribute unrestricted double m32;
29 attribute unrestricted double m33; 32 inherit attribute unrestricted double m33;
30 attribute unrestricted double m34; 33 inherit attribute unrestricted double m34;
31 attribute unrestricted double m41; 34 inherit attribute unrestricted double m41;
32 attribute unrestricted double m42; 35 inherit attribute unrestricted double m42;
33 attribute unrestricted double m43; 36 inherit attribute unrestricted double m43;
34 attribute unrestricted double m44; 37 inherit attribute unrestricted double m44;
35 38
36 // FIXME: Should implement some methods (See: crbug.com/388780) 39 // FIXME: Should implement some methods (See: crbug.com/388780)
37 // Mutable transform methods 40 // Mutable transform methods
38 DOMMatrix multiplySelf(DOMMatrix other); 41 DOMMatrix multiplySelf(DOMMatrix other);
39 DOMMatrix preMultiplySelf(DOMMatrix other); 42 DOMMatrix preMultiplySelf(DOMMatrix other);
40 DOMMatrix translateSelf(unrestricted double tx, 43 DOMMatrix translateSelf(unrestricted double tx,
41 unrestricted double ty, 44 unrestricted double ty,
42 optional unrestricted double tz = 0); 45 optional unrestricted double tz = 0);
43 DOMMatrix scaleSelf(unrestricted double scale, 46 DOMMatrix scaleSelf(unrestricted double scale,
44 optional unrestricted double ox = 0, 47 optional unrestricted double originX = 0,
45 optional unrestricted double oy = 0); 48 optional unrestricted double originY = 0);
46 DOMMatrix scale3dSelf(unrestricted double scale, 49 DOMMatrix scale3dSelf(unrestricted double scale,
47 optional unrestricted double ox = 0, 50 optional unrestricted double originX = 0,
48 optional unrestricted double oy = 0, 51 optional unrestricted double originY = 0,
49 optional unrestricted double oz = 0); 52 optional unrestricted double originZ = 0);
50 DOMMatrix scaleNonUniformSelf(unrestricted double sx, 53 DOMMatrix scaleNonUniformSelf(unrestricted double scaleX,
51 optional unrestricted double sy = 1, 54 optional unrestricted double scaleY = 1,
52 optional unrestricted double sz = 1, 55 optional unrestricted double scaleZ = 1,
53 optional unrestricted double ox = 0, 56 optional unrestricted double originX = 0,
54 optional unrestricted double oy = 0, 57 optional unrestricted double originY = 0,
55 optional unrestricted double oz = 0); 58 optional unrestricted double originZ = 0);
56 }; 59 };
OLDNEW
« no previous file with comments | « no previous file | Source/core/dom/DOMMatrixReadOnly.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698