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

Unified Diff: third_party/WebKit/Source/core/dom/DOMMatrixReadOnly.idl

Issue 2530273003: [GeometoryInterface] clean up DOMMatrix*.idl files. (Closed)
Patch Set: rebase Created 4 years 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 | « third_party/WebKit/Source/core/dom/DOMMatrix.idl ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/dom/DOMMatrixReadOnly.idl
diff --git a/third_party/WebKit/Source/core/dom/DOMMatrixReadOnly.idl b/third_party/WebKit/Source/core/dom/DOMMatrixReadOnly.idl
index a67878b1b25daa4af41f1e6ae06e6680ac68ab8c..56d6faadfce9b197888f7e7e21734ce16c56b652 100644
--- a/third_party/WebKit/Source/core/dom/DOMMatrixReadOnly.idl
+++ b/third_party/WebKit/Source/core/dom/DOMMatrixReadOnly.idl
@@ -12,9 +12,9 @@
// FIXME: Exposed=(Window,Worker)
RuntimeEnabled=GeometryInterfaces,
] interface DOMMatrixReadOnly {
+ [RaisesException, NewObject] static DOMMatrixReadOnly fromMatrix(optional DOMMatrixInit other);
[RaisesException, NewObject] static DOMMatrixReadOnly fromFloat32Array(Float32Array array32);
[RaisesException, NewObject] static DOMMatrixReadOnly fromFloat64Array(Float64Array array64);
- [RaisesException, NewObject] static DOMMatrixReadOnly fromMatrix(optional DOMMatrixInit other);
// These attributes are simple aliases for certain elements of the 4x4 matrix
readonly attribute unrestricted double a;
@@ -44,7 +44,6 @@
readonly attribute boolean is2D;
readonly attribute boolean isIdentity;
- // TODO(zino): Should implement transformPoint() method (See: crbug.com/645885)
// Immutable transform methods
DOMMatrix translate(optional unrestricted double tx = 0,
optional unrestricted double ty = 0,
@@ -76,9 +75,8 @@
DOMMatrix inverse();
DOMPoint transformPoint(optional DOMPointInit point);
-
Float32Array toFloat32Array();
Float64Array toFloat64Array();
stringifier;
- serializer = {attribute};
+ serializer = { attribute };
};
« no previous file with comments | « third_party/WebKit/Source/core/dom/DOMMatrix.idl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698