Index: third_party/WebCore/svg/SVGViewSpec.idl |
diff --git a/third_party/WebCore/svg/SVGViewSpec.idl b/third_party/WebCore/svg/SVGViewSpec.idl |
index e4ba46b2372f41d8454e5ce47b072f614215aa66..ec545d14bdd5e641ddc8775069abb504f1d95376 100644 |
--- a/third_party/WebCore/svg/SVGViewSpec.idl |
+++ b/third_party/WebCore/svg/SVGViewSpec.idl |
@@ -25,16 +25,26 @@ |
module svg { |
+ // SVGViewSpec intentionally doesn't inherit from SVGZoomAndPan & SVGFitToViewBox on the IDLs. |
+ // It would require that any of those classes would be RefCounted, and we want to avoid that. |
interface [ |
- Conditional=SVG |
- ] SVGViewSpec : SVGZoomAndPan, SVGFitToViewBox |
- { |
+ Conditional=SVG, |
+ JSGenerateToJSObject |
+ ] SVGViewSpec { |
readonly attribute SVGTransformList transform; |
- readonly attribute SVGElement viewTarget; |
- readonly attribute DOMString viewBoxString; |
- readonly attribute DOMString preserveAspectRatioString; |
- readonly attribute DOMString transformString; |
- readonly attribute DOMString viewTargetString; |
+ readonly attribute SVGElement viewTarget; |
+ readonly attribute DOMString viewBoxString; |
+ readonly attribute DOMString preserveAspectRatioString; |
+ readonly attribute DOMString transformString; |
+ readonly attribute DOMString viewTargetString; |
+ |
+ // SVGZoomAndPan |
+ attribute unsigned short zoomAndPan |
+ setter raises(DOMException); |
+ |
+ // SVGFitToViewBox |
+ readonly attribute SVGAnimatedRect viewBox; |
+ readonly attribute SVGAnimatedPreserveAspectRatio preserveAspectRatio; |
}; |
} |