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

Unified Diff: Source/core/dom/DOMMatrixReadOnly.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/dom/DOMMatrix.idl ('k') | Source/core/dom/DOMPoint.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/DOMMatrixReadOnly.idl
diff --git a/Source/core/dom/DOMMatrixReadOnly.idl b/Source/core/dom/DOMMatrixReadOnly.idl
index cb91b5b61a94092d6deb5a16ce25090988e53f35..f0cd565b4c5b3b2d8c0ed39ec1017cbd63104577 100644
--- a/Source/core/dom/DOMMatrixReadOnly.idl
+++ b/Source/core/dom/DOMMatrixReadOnly.idl
@@ -2,7 +2,11 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+// http://dev.w3.org/fxtf/geometry/#DOMMatrix
+
[
+ // FIXME: Constructor(sequence<unrestricted double> numberSequence)
+ // FIXME: Exposed=(Window,Worker)
GarbageCollected,
RuntimeEnabled=GeometryInterfaces,
] interface DOMMatrixReadOnly {
@@ -36,23 +40,24 @@
// FIXME: Should implement some methods (See: crbug.com/388780)
// Immutable transform methods
- DOMMatrix multiply(DOMMatrix other);
DOMMatrix translate(unrestricted double tx,
unrestricted double ty,
optional unrestricted double tz = 0);
DOMMatrix scale(unrestricted double scale,
- optional unrestricted double ox = 0,
- optional unrestricted double oy = 0);
+ optional unrestricted double originX = 0,
+ optional unrestricted double originY = 0);
DOMMatrix scale3d(unrestricted double scale,
- optional unrestricted double ox = 0,
- optional unrestricted double oy = 0,
- optional unrestricted double oz = 0);
- DOMMatrix scaleNonUniform(unrestricted double sx,
- optional unrestricted double sy = 1,
- optional unrestricted double sz = 1,
- optional unrestricted double ox = 0,
- optional unrestricted double oy = 0,
- optional unrestricted double oz = 0);
+ optional unrestricted double originX = 0,
+ optional unrestricted double originY = 0,
+ optional unrestricted double originZ = 0);
+ DOMMatrix scaleNonUniform(unrestricted double scaleX,
+ optional unrestricted double scaleY = 1,
+ optional unrestricted double scaleZn = 1,
+ optional unrestricted double originX = 0,
+ optional unrestricted double originY = 0,
+ optional unrestricted double originZ = 0);
+ DOMMatrix multiply(DOMMatrix other);
+
Float32Array toFloat32Array();
Float64Array toFloat64Array();
};
« no previous file with comments | « Source/core/dom/DOMMatrix.idl ('k') | Source/core/dom/DOMPoint.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698