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

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

Issue 2309013002: [GeometryInterface] Add fromFloat32Array & fromFloat64Array function (Closed)
Patch Set: Implement fromFloat32Array & fromFloat64Array function in DOMMatrix & DOMMatrixReadOnly. Created 4 years, 3 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
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 356487c820ad2c9c7e101fccdc26f00865bf5997..2051403533645fe694c8cf637fbbd818b80049f5 100644
--- a/third_party/WebKit/Source/core/dom/DOMMatrixReadOnly.idl
+++ b/third_party/WebKit/Source/core/dom/DOMMatrixReadOnly.idl
@@ -10,6 +10,9 @@
// FIXME: Exposed=(Window,Worker)
RuntimeEnabled=GeometryInterfaces,
] interface DOMMatrixReadOnly {
+ [RaisesException, NewObject] static DOMMatrixReadOnly fromFloat32Array(Float32Array array32);
+ [RaisesException, NewObject] static DOMMatrixReadOnly fromFloat64Array(Float64Array array64);
+
// These attributes are simple aliases for certain elements of the 4x4 matrix
readonly attribute unrestricted double a;
readonly attribute unrestricted double b;

Powered by Google App Engine
This is Rietveld 408576698