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

Unified Diff: core/dom/DOMMatrixReadOnly.idl

Issue 1660113002: Updated to Chrome 45 (2454) moved from SVN to git. Base URL: https://github.com/dart-lang/webcore.git@roll_45
Patch Set: Created 4 years, 11 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 | « core/dom/DOMMatrix.idl ('k') | core/dom/DOMPoint.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/dom/DOMMatrixReadOnly.idl
diff --git a/core/dom/DOMMatrixReadOnly.idl b/core/dom/DOMMatrixReadOnly.idl
index f049f7b8a62df827d4adb1c518b44dd961b9c063..f0cd565b4c5b3b2d8c0ed39ec1017cbd63104577 100644
--- a/core/dom/DOMMatrixReadOnly.idl
+++ b/core/dom/DOMMatrixReadOnly.idl
@@ -2,9 +2,12 @@
// 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,
- NotScriptWrappable,
RuntimeEnabled=GeometryInterfaces,
] interface DOMMatrixReadOnly {
// These attributes are simple aliases for certain elements of the 4x4 matrix
@@ -37,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 | « core/dom/DOMMatrix.idl ('k') | core/dom/DOMPoint.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698