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