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

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

Issue 153883003: [SVG] SVGAnimatedTransform{,List} migration to new SVG property impl. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: remove m_zoomAndPan Created 6 years, 10 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/SVGTransform.cpp ('k') | Source/core/svg/SVGTransformDistance.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGTransform.idl
diff --git a/Source/core/svg/SVGTransform.idl b/Source/core/svg/SVGTransform.idl
index 96c0058dd4cd43a6552aca3f66b811acd53eba71..cf9cc122f1f53c3bec1717381e0a4bcbd2843d09 100644
--- a/Source/core/svg/SVGTransform.idl
+++ b/Source/core/svg/SVGTransform.idl
@@ -21,6 +21,8 @@
[
StrictTypeChecking,
+ ImplementedAs=SVGTransformTearOff,
+ SetWrapperReferenceTo(SVGElement contextElement),
] interface SVGTransform {
// Transform Types
const unsigned short SVG_TRANSFORM_UNKNOWN = 0;
@@ -31,15 +33,15 @@
const unsigned short SVG_TRANSFORM_SKEWX = 5;
const unsigned short SVG_TRANSFORM_SKEWY = 6;
- readonly attribute unsigned short type;
- [ImplementedAs=svgMatrix] readonly attribute SVGMatrix matrix;
+ [ImplementedAs=transformType] readonly attribute unsigned short type;
+ readonly attribute SVGMatrix matrix;
readonly attribute float angle;
- void setMatrix(SVGMatrix matrix);
- void setTranslate(float tx, float ty);
- void setScale(float sx, float sy);
- void setRotate(float angle, float cx, float cy);
- void setSkewX(float angle);
- void setSkewY(float angle);
+ [RaisesException] void setMatrix(SVGMatrix matrix);
+ [RaisesException] void setTranslate(float tx, float ty);
+ [RaisesException] void setScale(float sx, float sy);
+ [RaisesException] void setRotate(float angle, float cx, float cy);
+ [RaisesException] void setSkewX(float angle);
+ [RaisesException] void setSkewY(float angle);
};
« no previous file with comments | « Source/core/svg/SVGTransform.cpp ('k') | Source/core/svg/SVGTransformDistance.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698