| OLD | NEW |
| 1 library dart.dom.svg; | 1 library dart.dom.svg; |
| 2 | 2 |
| 3 import 'dart:async'; | 3 import 'dart:async'; |
| 4 import 'dart:collection'; | 4 import 'dart:collection'; |
| 5 import 'dart:_internal' hide deprecated; | 5 import 'dart:_internal' hide deprecated; |
| 6 import 'dart:html'; | 6 import 'dart:html'; |
| 7 import 'dart:html_common'; | 7 import 'dart:html_common'; |
| 8 import 'dart:nativewrappers'; | 8 import 'dart:nativewrappers'; |
| 9 import 'dart:_blink' as _blink; | 9 import 'dart:_blink' as _blink; |
| 10 // DO NOT EDIT | 10 // DO NOT EDIT |
| 11 // Auto-generated dart:svg library. | 11 // Auto-generated dart:svg library. |
| 12 | 12 |
| 13 | 13 |
| 14 | 14 |
| 15 | 15 |
| 16 | 16 |
| 17 // FIXME: Can we make this private? | 17 // FIXME: Can we make this private? |
| 18 const svgBlinkMap = const { | 18 final svgBlinkMap = { |
| 19 'SVGAElement': AElement, | 19 'SVGAElement': () => AElement, |
| 20 'SVGAltGlyphDefElement': _SVGAltGlyphDefElement, | 20 'SVGAltGlyphDefElement': () => _SVGAltGlyphDefElement, |
| 21 'SVGAltGlyphElement': AltGlyphElement, | 21 'SVGAltGlyphElement': () => AltGlyphElement, |
| 22 'SVGAltGlyphItemElement': _SVGAltGlyphItemElement, | 22 'SVGAltGlyphItemElement': () => _SVGAltGlyphItemElement, |
| 23 'SVGAngle': Angle, | 23 'SVGAngle': () => Angle, |
| 24 'SVGAnimateElement': AnimateElement, | 24 'SVGAnimateElement': () => AnimateElement, |
| 25 'SVGAnimateMotionElement': AnimateMotionElement, | 25 'SVGAnimateMotionElement': () => AnimateMotionElement, |
| 26 'SVGAnimateTransformElement': AnimateTransformElement, | 26 'SVGAnimateTransformElement': () => AnimateTransformElement, |
| 27 'SVGAnimatedAngle': AnimatedAngle, | 27 'SVGAnimatedAngle': () => AnimatedAngle, |
| 28 'SVGAnimatedBoolean': AnimatedBoolean, | 28 'SVGAnimatedBoolean': () => AnimatedBoolean, |
| 29 'SVGAnimatedEnumeration': AnimatedEnumeration, | 29 'SVGAnimatedEnumeration': () => AnimatedEnumeration, |
| 30 'SVGAnimatedInteger': AnimatedInteger, | 30 'SVGAnimatedInteger': () => AnimatedInteger, |
| 31 'SVGAnimatedLength': AnimatedLength, | 31 'SVGAnimatedLength': () => AnimatedLength, |
| 32 'SVGAnimatedLengthList': AnimatedLengthList, | 32 'SVGAnimatedLengthList': () => AnimatedLengthList, |
| 33 'SVGAnimatedNumber': AnimatedNumber, | 33 'SVGAnimatedNumber': () => AnimatedNumber, |
| 34 'SVGAnimatedNumberList': AnimatedNumberList, | 34 'SVGAnimatedNumberList': () => AnimatedNumberList, |
| 35 'SVGAnimatedPreserveAspectRatio': AnimatedPreserveAspectRatio, | 35 'SVGAnimatedPreserveAspectRatio': () => AnimatedPreserveAspectRatio, |
| 36 'SVGAnimatedRect': AnimatedRect, | 36 'SVGAnimatedRect': () => AnimatedRect, |
| 37 'SVGAnimatedString': AnimatedString, | 37 'SVGAnimatedString': () => AnimatedString, |
| 38 'SVGAnimatedTransformList': AnimatedTransformList, | 38 'SVGAnimatedTransformList': () => AnimatedTransformList, |
| 39 'SVGAnimationElement': AnimationElement, | 39 'SVGAnimationElement': () => AnimationElement, |
| 40 'SVGCircleElement': CircleElement, | 40 'SVGCircleElement': () => CircleElement, |
| 41 'SVGClipPathElement': ClipPathElement, | 41 'SVGClipPathElement': () => ClipPathElement, |
| 42 'SVGComponentTransferFunctionElement': _SVGComponentTransferFunctionElement, | 42 'SVGComponentTransferFunctionElement': () => _SVGComponentTransferFunctionElem
ent, |
| 43 'SVGCursorElement': _SVGCursorElement, | 43 'SVGCursorElement': () => _SVGCursorElement, |
| 44 'SVGDefsElement': DefsElement, | 44 'SVGDefsElement': () => DefsElement, |
| 45 'SVGDescElement': DescElement, | 45 'SVGDescElement': () => DescElement, |
| 46 'SVGDiscardElement': DiscardElement, | 46 'SVGDiscardElement': () => DiscardElement, |
| 47 'SVGElement': SvgElement, | 47 'SVGElement': () => SvgElement, |
| 48 'SVGElementInstance': ElementInstance, | 48 'SVGElementInstance': () => ElementInstance, |
| 49 'SVGElementInstanceList': _ElementInstanceList, | 49 'SVGElementInstanceList': () => _ElementInstanceList, |
| 50 'SVGEllipseElement': EllipseElement, | 50 'SVGEllipseElement': () => EllipseElement, |
| 51 'SVGFEBlendElement': FEBlendElement, | 51 'SVGFEBlendElement': () => FEBlendElement, |
| 52 'SVGFEColorMatrixElement': FEColorMatrixElement, | 52 'SVGFEColorMatrixElement': () => FEColorMatrixElement, |
| 53 'SVGFEComponentTransferElement': FEComponentTransferElement, | 53 'SVGFEComponentTransferElement': () => FEComponentTransferElement, |
| 54 'SVGFECompositeElement': FECompositeElement, | 54 'SVGFECompositeElement': () => FECompositeElement, |
| 55 'SVGFEConvolveMatrixElement': FEConvolveMatrixElement, | 55 'SVGFEConvolveMatrixElement': () => FEConvolveMatrixElement, |
| 56 'SVGFEDiffuseLightingElement': FEDiffuseLightingElement, | 56 'SVGFEDiffuseLightingElement': () => FEDiffuseLightingElement, |
| 57 'SVGFEDisplacementMapElement': FEDisplacementMapElement, | 57 'SVGFEDisplacementMapElement': () => FEDisplacementMapElement, |
| 58 'SVGFEDistantLightElement': FEDistantLightElement, | 58 'SVGFEDistantLightElement': () => FEDistantLightElement, |
| 59 'SVGFEDropShadowElement': _SVGFEDropShadowElement, | 59 'SVGFEDropShadowElement': () => _SVGFEDropShadowElement, |
| 60 'SVGFEFloodElement': FEFloodElement, | 60 'SVGFEFloodElement': () => FEFloodElement, |
| 61 'SVGFEFuncAElement': FEFuncAElement, | 61 'SVGFEFuncAElement': () => FEFuncAElement, |
| 62 'SVGFEFuncBElement': FEFuncBElement, | 62 'SVGFEFuncBElement': () => FEFuncBElement, |
| 63 'SVGFEFuncGElement': FEFuncGElement, | 63 'SVGFEFuncGElement': () => FEFuncGElement, |
| 64 'SVGFEFuncRElement': FEFuncRElement, | 64 'SVGFEFuncRElement': () => FEFuncRElement, |
| 65 'SVGFEGaussianBlurElement': FEGaussianBlurElement, | 65 'SVGFEGaussianBlurElement': () => FEGaussianBlurElement, |
| 66 'SVGFEImageElement': FEImageElement, | 66 'SVGFEImageElement': () => FEImageElement, |
| 67 'SVGFEMergeElement': FEMergeElement, | 67 'SVGFEMergeElement': () => FEMergeElement, |
| 68 'SVGFEMergeNodeElement': FEMergeNodeElement, | 68 'SVGFEMergeNodeElement': () => FEMergeNodeElement, |
| 69 'SVGFEMorphologyElement': FEMorphologyElement, | 69 'SVGFEMorphologyElement': () => FEMorphologyElement, |
| 70 'SVGFEOffsetElement': FEOffsetElement, | 70 'SVGFEOffsetElement': () => FEOffsetElement, |
| 71 'SVGFEPointLightElement': FEPointLightElement, | 71 'SVGFEPointLightElement': () => FEPointLightElement, |
| 72 'SVGFESpecularLightingElement': FESpecularLightingElement, | 72 'SVGFESpecularLightingElement': () => FESpecularLightingElement, |
| 73 'SVGFESpotLightElement': FESpotLightElement, | 73 'SVGFESpotLightElement': () => FESpotLightElement, |
| 74 'SVGFETileElement': FETileElement, | 74 'SVGFETileElement': () => FETileElement, |
| 75 'SVGFETurbulenceElement': FETurbulenceElement, | 75 'SVGFETurbulenceElement': () => FETurbulenceElement, |
| 76 'SVGFilterElement': FilterElement, | 76 'SVGFilterElement': () => FilterElement, |
| 77 'SVGFilterPrimitiveStandardAttributes': FilterPrimitiveStandardAttributes, | 77 'SVGFilterPrimitiveStandardAttributes': () => FilterPrimitiveStandardAttribute
s, |
| 78 'SVGFitToViewBox': FitToViewBox, | 78 'SVGFitToViewBox': () => FitToViewBox, |
| 79 'SVGFontElement': _SVGFontElement, | 79 'SVGFontElement': () => _SVGFontElement, |
| 80 'SVGFontFaceElement': _SVGFontFaceElement, | 80 'SVGFontFaceElement': () => _SVGFontFaceElement, |
| 81 'SVGFontFaceFormatElement': _SVGFontFaceFormatElement, | 81 'SVGFontFaceFormatElement': () => _SVGFontFaceFormatElement, |
| 82 'SVGFontFaceNameElement': _SVGFontFaceNameElement, | 82 'SVGFontFaceNameElement': () => _SVGFontFaceNameElement, |
| 83 'SVGFontFaceSrcElement': _SVGFontFaceSrcElement, | 83 'SVGFontFaceSrcElement': () => _SVGFontFaceSrcElement, |
| 84 'SVGFontFaceUriElement': _SVGFontFaceUriElement, | 84 'SVGFontFaceUriElement': () => _SVGFontFaceUriElement, |
| 85 'SVGForeignObjectElement': ForeignObjectElement, | 85 'SVGForeignObjectElement': () => ForeignObjectElement, |
| 86 'SVGGElement': GElement, | 86 'SVGGElement': () => GElement, |
| 87 'SVGGeometryElement': GeometryElement, | 87 'SVGGeometryElement': () => GeometryElement, |
| 88 'SVGGlyphElement': _SVGGlyphElement, | 88 'SVGGlyphElement': () => _SVGGlyphElement, |
| 89 'SVGGlyphRefElement': _SVGGlyphRefElement, | 89 'SVGGlyphRefElement': () => _SVGGlyphRefElement, |
| 90 'SVGGradientElement': _GradientElement, | 90 'SVGGradientElement': () => _GradientElement, |
| 91 'SVGGraphicsElement': GraphicsElement, | 91 'SVGGraphicsElement': () => GraphicsElement, |
| 92 'SVGHKernElement': _SVGHKernElement, | 92 'SVGHKernElement': () => _SVGHKernElement, |
| 93 'SVGImageElement': ImageElement, | 93 'SVGImageElement': () => ImageElement, |
| 94 'SVGLength': Length, | 94 'SVGLength': () => Length, |
| 95 'SVGLengthList': LengthList, | 95 'SVGLengthList': () => LengthList, |
| 96 'SVGLineElement': LineElement, | 96 'SVGLineElement': () => LineElement, |
| 97 'SVGLinearGradientElement': LinearGradientElement, | 97 'SVGLinearGradientElement': () => LinearGradientElement, |
| 98 'SVGMPathElement': _SVGMPathElement, | 98 'SVGMPathElement': () => _SVGMPathElement, |
| 99 'SVGMarkerElement': MarkerElement, | 99 'SVGMarkerElement': () => MarkerElement, |
| 100 'SVGMaskElement': MaskElement, | 100 'SVGMaskElement': () => MaskElement, |
| 101 'SVGMatrix': Matrix, | 101 'SVGMatrix': () => Matrix, |
| 102 'SVGMetadataElement': MetadataElement, | 102 'SVGMetadataElement': () => MetadataElement, |
| 103 'SVGMissingGlyphElement': _SVGMissingGlyphElement, | 103 'SVGMissingGlyphElement': () => _SVGMissingGlyphElement, |
| 104 'SVGNumber': Number, | 104 'SVGNumber': () => Number, |
| 105 'SVGNumberList': NumberList, | 105 'SVGNumberList': () => NumberList, |
| 106 'SVGPathElement': PathElement, | 106 'SVGPathElement': () => PathElement, |
| 107 'SVGPathSeg': PathSeg, | 107 'SVGPathSeg': () => PathSeg, |
| 108 'SVGPathSegArcAbs': PathSegArcAbs, | 108 'SVGPathSegArcAbs': () => PathSegArcAbs, |
| 109 'SVGPathSegArcRel': PathSegArcRel, | 109 'SVGPathSegArcRel': () => PathSegArcRel, |
| 110 'SVGPathSegClosePath': PathSegClosePath, | 110 'SVGPathSegClosePath': () => PathSegClosePath, |
| 111 'SVGPathSegCurvetoCubicAbs': PathSegCurvetoCubicAbs, | 111 'SVGPathSegCurvetoCubicAbs': () => PathSegCurvetoCubicAbs, |
| 112 'SVGPathSegCurvetoCubicRel': PathSegCurvetoCubicRel, | 112 'SVGPathSegCurvetoCubicRel': () => PathSegCurvetoCubicRel, |
| 113 'SVGPathSegCurvetoCubicSmoothAbs': PathSegCurvetoCubicSmoothAbs, | 113 'SVGPathSegCurvetoCubicSmoothAbs': () => PathSegCurvetoCubicSmoothAbs, |
| 114 'SVGPathSegCurvetoCubicSmoothRel': PathSegCurvetoCubicSmoothRel, | 114 'SVGPathSegCurvetoCubicSmoothRel': () => PathSegCurvetoCubicSmoothRel, |
| 115 'SVGPathSegCurvetoQuadraticAbs': PathSegCurvetoQuadraticAbs, | 115 'SVGPathSegCurvetoQuadraticAbs': () => PathSegCurvetoQuadraticAbs, |
| 116 'SVGPathSegCurvetoQuadraticRel': PathSegCurvetoQuadraticRel, | 116 'SVGPathSegCurvetoQuadraticRel': () => PathSegCurvetoQuadraticRel, |
| 117 'SVGPathSegCurvetoQuadraticSmoothAbs': PathSegCurvetoQuadraticSmoothAbs, | 117 'SVGPathSegCurvetoQuadraticSmoothAbs': () => PathSegCurvetoQuadraticSmoothAbs, |
| 118 'SVGPathSegCurvetoQuadraticSmoothRel': PathSegCurvetoQuadraticSmoothRel, | 118 'SVGPathSegCurvetoQuadraticSmoothRel': () => PathSegCurvetoQuadraticSmoothRel, |
| 119 'SVGPathSegLinetoAbs': PathSegLinetoAbs, | 119 'SVGPathSegLinetoAbs': () => PathSegLinetoAbs, |
| 120 'SVGPathSegLinetoHorizontalAbs': PathSegLinetoHorizontalAbs, | 120 'SVGPathSegLinetoHorizontalAbs': () => PathSegLinetoHorizontalAbs, |
| 121 'SVGPathSegLinetoHorizontalRel': PathSegLinetoHorizontalRel, | 121 'SVGPathSegLinetoHorizontalRel': () => PathSegLinetoHorizontalRel, |
| 122 'SVGPathSegLinetoRel': PathSegLinetoRel, | 122 'SVGPathSegLinetoRel': () => PathSegLinetoRel, |
| 123 'SVGPathSegLinetoVerticalAbs': PathSegLinetoVerticalAbs, | 123 'SVGPathSegLinetoVerticalAbs': () => PathSegLinetoVerticalAbs, |
| 124 'SVGPathSegLinetoVerticalRel': PathSegLinetoVerticalRel, | 124 'SVGPathSegLinetoVerticalRel': () => PathSegLinetoVerticalRel, |
| 125 'SVGPathSegList': PathSegList, | 125 'SVGPathSegList': () => PathSegList, |
| 126 'SVGPathSegMovetoAbs': PathSegMovetoAbs, | 126 'SVGPathSegMovetoAbs': () => PathSegMovetoAbs, |
| 127 'SVGPathSegMovetoRel': PathSegMovetoRel, | 127 'SVGPathSegMovetoRel': () => PathSegMovetoRel, |
| 128 'SVGPatternElement': PatternElement, | 128 'SVGPatternElement': () => PatternElement, |
| 129 'SVGPoint': Point, | 129 'SVGPoint': () => Point, |
| 130 'SVGPointList': PointList, | 130 'SVGPointList': () => PointList, |
| 131 'SVGPolygonElement': PolygonElement, | 131 'SVGPolygonElement': () => PolygonElement, |
| 132 'SVGPolylineElement': PolylineElement, | 132 'SVGPolylineElement': () => PolylineElement, |
| 133 'SVGPreserveAspectRatio': PreserveAspectRatio, | 133 'SVGPreserveAspectRatio': () => PreserveAspectRatio, |
| 134 'SVGRadialGradientElement': RadialGradientElement, | 134 'SVGRadialGradientElement': () => RadialGradientElement, |
| 135 'SVGRect': Rect, | 135 'SVGRect': () => Rect, |
| 136 'SVGRectElement': RectElement, | 136 'SVGRectElement': () => RectElement, |
| 137 'SVGRenderingIntent': RenderingIntent, | 137 'SVGRenderingIntent': () => RenderingIntent, |
| 138 'SVGSVGElement': SvgSvgElement, | 138 'SVGSVGElement': () => SvgSvgElement, |
| 139 'SVGScriptElement': ScriptElement, | 139 'SVGScriptElement': () => ScriptElement, |
| 140 'SVGSetElement': SetElement, | 140 'SVGSetElement': () => SetElement, |
| 141 'SVGStopElement': StopElement, | 141 'SVGStopElement': () => StopElement, |
| 142 'SVGStringList': StringList, | 142 'SVGStringList': () => StringList, |
| 143 'SVGStyleElement': StyleElement, | 143 'SVGStyleElement': () => StyleElement, |
| 144 'SVGSwitchElement': SwitchElement, | 144 'SVGSwitchElement': () => SwitchElement, |
| 145 'SVGSymbolElement': SymbolElement, | 145 'SVGSymbolElement': () => SymbolElement, |
| 146 'SVGTSpanElement': TSpanElement, | 146 'SVGTSpanElement': () => TSpanElement, |
| 147 'SVGTests': Tests, | 147 'SVGTests': () => Tests, |
| 148 'SVGTextContentElement': TextContentElement, | 148 'SVGTextContentElement': () => TextContentElement, |
| 149 'SVGTextElement': TextElement, | 149 'SVGTextElement': () => TextElement, |
| 150 'SVGTextPathElement': TextPathElement, | 150 'SVGTextPathElement': () => TextPathElement, |
| 151 'SVGTextPositioningElement': TextPositioningElement, | 151 'SVGTextPositioningElement': () => TextPositioningElement, |
| 152 'SVGTitleElement': TitleElement, | 152 'SVGTitleElement': () => TitleElement, |
| 153 'SVGTransform': Transform, | 153 'SVGTransform': () => Transform, |
| 154 'SVGTransformList': TransformList, | 154 'SVGTransformList': () => TransformList, |
| 155 'SVGURIReference': UriReference, | 155 'SVGURIReference': () => UriReference, |
| 156 'SVGUnitTypes': UnitTypes, | 156 'SVGUnitTypes': () => UnitTypes, |
| 157 'SVGUseElement': UseElement, | 157 'SVGUseElement': () => UseElement, |
| 158 'SVGVKernElement': _SVGVKernElement, | 158 'SVGVKernElement': () => _SVGVKernElement, |
| 159 'SVGViewElement': ViewElement, | 159 'SVGViewElement': () => ViewElement, |
| 160 'SVGViewSpec': ViewSpec, | 160 'SVGViewSpec': () => ViewSpec, |
| 161 'SVGZoomAndPan': ZoomAndPan, | 161 'SVGZoomAndPan': () => ZoomAndPan, |
| 162 'SVGZoomEvent': ZoomEvent, | 162 'SVGZoomEvent': () => ZoomEvent, |
| 163 | 163 |
| 164 }; | 164 }; |
| 165 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 165 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 166 // for details. All rights reserved. Use of this source code is governed by a | 166 // for details. All rights reserved. Use of this source code is governed by a |
| 167 // BSD-style license that can be found in the LICENSE file. | 167 // BSD-style license that can be found in the LICENSE file. |
| 168 | 168 |
| 169 | 169 |
| 170 class _SvgElementFactoryProvider { | 170 class _SvgElementFactoryProvider { |
| 171 static SvgElement createSvgElement_tag(String tag) { | 171 static SvgElement createSvgElement_tag(String tag) { |
| 172 final Element temp = | 172 final Element temp = |
| (...skipping 8069 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8242 @DocsEditable() | 8242 @DocsEditable() |
| 8243 factory _SVGVKernElement() => _SvgElementFactoryProvider.createSvgElement_tag(
"vkern"); | 8243 factory _SVGVKernElement() => _SvgElementFactoryProvider.createSvgElement_tag(
"vkern"); |
| 8244 /** | 8244 /** |
| 8245 * Constructor instantiated by the DOM when a custom element has been created. | 8245 * Constructor instantiated by the DOM when a custom element has been created. |
| 8246 * | 8246 * |
| 8247 * This can only be called by subclasses from their created constructor. | 8247 * This can only be called by subclasses from their created constructor. |
| 8248 */ | 8248 */ |
| 8249 _SVGVKernElement.created() : super.created(); | 8249 _SVGVKernElement.created() : super.created(); |
| 8250 | 8250 |
| 8251 } | 8251 } |
| OLD | NEW |