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

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

Issue 450533006: Implement scale*() methods in DOMMatrix. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 4 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
« Source/core/dom/DOMMatrix.cpp ('K') | « Source/core/dom/DOMMatrixReadOnly.cpp ('k') | no next file » | 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 53cec159e94b99a104c5df88d6899c16460db0bf..b7b6ec9e76262b390a42f6865ee6fe9569165063 100644
--- a/Source/core/dom/DOMMatrixReadOnly.idl
+++ b/Source/core/dom/DOMMatrixReadOnly.idl
@@ -35,4 +35,17 @@
readonly attribute boolean isIdentity;
// FIXME: Should implement some methods (See: crbug.com/388780)
+ 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);
};
« Source/core/dom/DOMMatrix.cpp ('K') | « Source/core/dom/DOMMatrixReadOnly.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698