Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / core / dom / DOMMatrixReadOnly.idl
index 53cec15..f049f7b 100644 (file)
@@ -4,6 +4,7 @@
 
 [
     GarbageCollected,
+    NotScriptWrappable,
     RuntimeEnabled=GeometryInterfaces,
 ] interface DOMMatrixReadOnly {
     // These attributes are simple aliases for certain elements of the 4x4 matrix
     readonly attribute boolean isIdentity;
 
     // 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);
+    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);
+    Float32Array toFloat32Array();
+    Float64Array toFloat64Array();
 };