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

Unified Diff: Source/core/svg/SVGMatrix.idl

Issue 146423002: Move [StrictTypeChecking] to interface (from members), where possible (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased Created 6 years, 11 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 | « Source/core/svg/SVGLengthList.idl ('k') | Source/core/svg/SVGNumber.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGMatrix.idl
diff --git a/Source/core/svg/SVGMatrix.idl b/Source/core/svg/SVGMatrix.idl
index d5cb321175e7d50a78335c7f1f22b86a3c296157..eb28daa406fc2a7a52d7be01f03a3266ab623b2f 100644
--- a/Source/core/svg/SVGMatrix.idl
+++ b/Source/core/svg/SVGMatrix.idl
@@ -21,27 +21,28 @@
*/
[
- SetWrapperReferenceTo(SVGTransform parent)
+ SetWrapperReferenceTo(SVGTransform parent),
+ StrictTypeChecking,
] interface SVGMatrix {
// FIXME: these attributes should all be floats but since we implement
// AffineTransform with doubles setting these as doubles makes more sense.
- [StrictTypeChecking] attribute double a;
- [StrictTypeChecking] attribute double b;
- [StrictTypeChecking] attribute double c;
- [StrictTypeChecking] attribute double d;
- [StrictTypeChecking] attribute double e;
- [StrictTypeChecking] attribute double f;
+ attribute double a;
+ attribute double b;
+ attribute double c;
+ attribute double d;
+ attribute double e;
+ attribute double f;
- [StrictTypeChecking] SVGMatrix multiply(SVGMatrix secondMatrix);
+ SVGMatrix multiply(SVGMatrix secondMatrix);
[RaisesException] SVGMatrix inverse();
- [Immutable, StrictTypeChecking] SVGMatrix translate(float x, float y);
- [Immutable, StrictTypeChecking] SVGMatrix scale(float scaleFactor);
- [Immutable, StrictTypeChecking] SVGMatrix scaleNonUniform(float scaleFactorX, float scaleFactorY);
- [Immutable, StrictTypeChecking] SVGMatrix rotate(float angle);
- [StrictTypeChecking, RaisesException] SVGMatrix rotateFromVector(float x, float y);
+ [Immutable] SVGMatrix translate(float x, float y);
+ [Immutable] SVGMatrix scale(float scaleFactor);
+ [Immutable] SVGMatrix scaleNonUniform(float scaleFactorX, float scaleFactorY);
+ [Immutable] SVGMatrix rotate(float angle);
+ [RaisesException] SVGMatrix rotateFromVector(float x, float y);
[Immutable] SVGMatrix flipX();
[Immutable] SVGMatrix flipY();
- [Immutable, StrictTypeChecking] SVGMatrix skewX(float angle);
- [Immutable, StrictTypeChecking] SVGMatrix skewY(float angle);
+ [Immutable] SVGMatrix skewX(float angle);
+ [Immutable] SVGMatrix skewY(float angle);
};
« no previous file with comments | « Source/core/svg/SVGLengthList.idl ('k') | Source/core/svg/SVGNumber.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698