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

Unified Diff: core/svg/SVGMatrix.idl

Issue 540533002: Roll IDL to Dartium37 (r181268) (Closed) Base URL: https://dart.googlecode.com/svn/third_party/WebCore
Patch Set: Created 6 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
« no previous file with comments | « core/svg/SVGMaskElement.idl ('k') | core/svg/SVGNumber.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/svg/SVGMatrix.idl
diff --git a/core/svg/SVGMatrix.idl b/core/svg/SVGMatrix.idl
index eb28daa406fc2a7a52d7be01f03a3266ab623b2f..90d00e4fdb0ceb8bbd296630f7a9470f84a38fbb 100644
--- a/core/svg/SVGMatrix.idl
+++ b/core/svg/SVGMatrix.idl
@@ -21,28 +21,29 @@
*/
[
- SetWrapperReferenceTo(SVGTransform parent),
- StrictTypeChecking,
+ TypeChecking=Interface|Nullable,
+ ImplementedAs=SVGMatrixTearOff,
+ SetWrapperReferenceTo(SVGTransform contextTransform)
] interface SVGMatrix {
// FIXME: these attributes should all be floats but since we implement
// AffineTransform with doubles setting these as doubles makes more sense.
- attribute double a;
- attribute double b;
- attribute double c;
- attribute double d;
- attribute double e;
- attribute double f;
+ [RaisesException=Setter] attribute double a;
+ [RaisesException=Setter] attribute double b;
+ [RaisesException=Setter] attribute double c;
+ [RaisesException=Setter] attribute double d;
+ [RaisesException=Setter] attribute double e;
+ [RaisesException=Setter] attribute double f;
SVGMatrix multiply(SVGMatrix secondMatrix);
[RaisesException] SVGMatrix inverse();
- [Immutable] SVGMatrix translate(float x, float y);
- [Immutable] SVGMatrix scale(float scaleFactor);
- [Immutable] SVGMatrix scaleNonUniform(float scaleFactorX, float scaleFactorY);
- [Immutable] SVGMatrix rotate(float angle);
+ SVGMatrix translate(float x, float y);
+ SVGMatrix scale(float scaleFactor);
+ SVGMatrix scaleNonUniform(float scaleFactorX, float scaleFactorY);
+ SVGMatrix rotate(float angle);
[RaisesException] SVGMatrix rotateFromVector(float x, float y);
- [Immutable] SVGMatrix flipX();
- [Immutable] SVGMatrix flipY();
- [Immutable] SVGMatrix skewX(float angle);
- [Immutable] SVGMatrix skewY(float angle);
+ SVGMatrix flipX();
+ SVGMatrix flipY();
+ SVGMatrix skewX(float angle);
+ SVGMatrix skewY(float angle);
};
« no previous file with comments | « core/svg/SVGMaskElement.idl ('k') | core/svg/SVGNumber.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698