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

Unified Diff: sdk/lib/svg/dart2js/svg_dart2js.dart

Issue 12087112: Can now correctly add documentation to constructors. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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
Index: sdk/lib/svg/dart2js/svg_dart2js.dart
diff --git a/sdk/lib/svg/dart2js/svg_dart2js.dart b/sdk/lib/svg/dart2js/svg_dart2js.dart
index 5caea44ac0f28d99f1beeff00174b62c462b926e..097255d2e62a2081620092fa2a015b47f23285ed 100644
--- a/sdk/lib/svg/dart2js/svg_dart2js.dart
+++ b/sdk/lib/svg/dart2js/svg_dart2js.dart
@@ -63,6 +63,7 @@ class _SvgSvgElementFactoryProvider {
@DomName('SVGAElement')
class AElement extends SvgElement implements Transformable, Tests, UriReference, Stylable, ExternalResourcesRequired, LangSpace native "*SVGAElement" {
+ @DomName('SVGAElement.SVGAElement')
@DocsEditable
factory AElement() => _SvgElementFactoryProvider.createSvgElement_tag("a");
@@ -249,6 +250,7 @@ class Angle native "*SVGAngle" {
@DomName('SVGAnimateColorElement')
class AnimateColorElement extends AnimationElement native "*SVGAnimateColorElement" {
+ @DomName('SVGAnimateColorElement.SVGAnimateColorElement')
@DocsEditable
factory AnimateColorElement() => _SvgElementFactoryProvider.createSvgElement_tag("animateColor");
}
@@ -261,6 +263,7 @@ class AnimateColorElement extends AnimationElement native "*SVGAnimateColorEleme
@DomName('SVGAnimateElement')
class AnimateElement extends AnimationElement native "*SVGAnimateElement" {
+ @DomName('SVGAnimateElement.SVGAnimateElement')
@DocsEditable
factory AnimateElement() => _SvgElementFactoryProvider.createSvgElement_tag("animate");
}
@@ -273,6 +276,7 @@ class AnimateElement extends AnimationElement native "*SVGAnimateElement" {
@DomName('SVGAnimateMotionElement')
class AnimateMotionElement extends AnimationElement native "*SVGAnimateMotionElement" {
+ @DomName('SVGAnimateMotionElement.SVGAnimateMotionElement')
@DocsEditable
factory AnimateMotionElement() => _SvgElementFactoryProvider.createSvgElement_tag("animateMotion");
}
@@ -285,6 +289,7 @@ class AnimateMotionElement extends AnimationElement native "*SVGAnimateMotionEle
@DomName('SVGAnimateTransformElement')
class AnimateTransformElement extends AnimationElement native "*SVGAnimateTransformElement" {
+ @DomName('SVGAnimateTransformElement.SVGAnimateTransformElement')
@DocsEditable
factory AnimateTransformElement() => _SvgElementFactoryProvider.createSvgElement_tag("animateTransform");
}
@@ -501,6 +506,7 @@ class AnimatedTransformList native "*SVGAnimatedTransformList" {
@DomName('SVGAnimationElement')
class AnimationElement extends SvgElement implements Tests, ElementTimeControl, ExternalResourcesRequired native "*SVGAnimationElement" {
+ @DomName('SVGAnimationElement.SVGAnimationElement')
@DocsEditable
factory AnimationElement() => _SvgElementFactoryProvider.createSvgElement_tag("animation");
@@ -571,6 +577,7 @@ class AnimationElement extends SvgElement implements Tests, ElementTimeControl,
@DomName('SVGCircleElement')
class CircleElement extends SvgElement implements Transformable, Tests, Stylable, ExternalResourcesRequired, LangSpace native "*SVGCircleElement" {
+ @DomName('SVGCircleElement.SVGCircleElement')
@DocsEditable
factory CircleElement() => _SvgElementFactoryProvider.createSvgElement_tag("circle");
@@ -675,6 +682,7 @@ class CircleElement extends SvgElement implements Transformable, Tests, Stylable
@DomName('SVGClipPathElement')
class ClipPathElement extends SvgElement implements Transformable, Tests, Stylable, ExternalResourcesRequired, LangSpace native "*SVGClipPathElement" {
+ @DomName('SVGClipPathElement.SVGClipPathElement')
@DocsEditable
factory ClipPathElement() => _SvgElementFactoryProvider.createSvgElement_tag("clipPath");
@@ -859,6 +867,7 @@ class ComponentTransferFunctionElement extends SvgElement native "*SVGComponentT
@DomName('SVGCursorElement')
class CursorElement extends SvgElement implements UriReference, Tests, ExternalResourcesRequired native "*SVGCursorElement" {
+ @DomName('SVGCursorElement.SVGCursorElement')
@DocsEditable
factory CursorElement() => _SvgElementFactoryProvider.createSvgElement_tag("cursor");
@@ -909,6 +918,7 @@ class CursorElement extends SvgElement implements UriReference, Tests, ExternalR
@DomName('SVGDefsElement')
class DefsElement extends SvgElement implements Transformable, Tests, Stylable, ExternalResourcesRequired, LangSpace native "*SVGDefsElement" {
+ @DomName('SVGDefsElement.SVGDefsElement')
@DocsEditable
factory DefsElement() => _SvgElementFactoryProvider.createSvgElement_tag("defs");
@@ -1001,6 +1011,7 @@ class DefsElement extends SvgElement implements Transformable, Tests, Stylable,
@DomName('SVGDescElement')
class DescElement extends SvgElement implements Stylable, LangSpace native "*SVGDescElement" {
+ @DomName('SVGDescElement.SVGDescElement')
@DocsEditable
factory DescElement() => _SvgElementFactoryProvider.createSvgElement_tag("desc");
@@ -1547,6 +1558,7 @@ abstract class ElementTimeControl {
@DomName('SVGEllipseElement')
class EllipseElement extends SvgElement implements Transformable, Tests, Stylable, ExternalResourcesRequired, LangSpace native "*SVGEllipseElement" {
+ @DomName('SVGEllipseElement.SVGEllipseElement')
@DocsEditable
factory EllipseElement() => _SvgElementFactoryProvider.createSvgElement_tag("ellipse");
@@ -2882,6 +2894,7 @@ class FETurbulenceElement extends SvgElement implements FilterPrimitiveStandardA
@DomName('SVGFilterElement')
class FilterElement extends SvgElement implements UriReference, ExternalResourcesRequired, Stylable, LangSpace native "*SVGFilterElement" {
+ @DomName('SVGFilterElement.SVGFilterElement')
@DocsEditable
factory FilterElement() => _SvgElementFactoryProvider.createSvgElement_tag("filter");
@@ -3002,6 +3015,7 @@ abstract class FitToViewBox {
@DomName('SVGFontElement')
class FontElement extends SvgElement native "*SVGFontElement" {
+ @DomName('SVGFontElement.SVGFontElement')
@DocsEditable
factory FontElement() => _SvgElementFactoryProvider.createSvgElement_tag("font");
}
@@ -3014,6 +3028,7 @@ class FontElement extends SvgElement native "*SVGFontElement" {
@DomName('SVGFontFaceElement')
class FontFaceElement extends SvgElement native "*SVGFontFaceElement" {
+ @DomName('SVGFontFaceElement.SVGFontFaceElement')
@DocsEditable
factory FontFaceElement() => _SvgElementFactoryProvider.createSvgElement_tag("font-face");
}
@@ -3026,6 +3041,7 @@ class FontFaceElement extends SvgElement native "*SVGFontFaceElement" {
@DomName('SVGFontFaceFormatElement')
class FontFaceFormatElement extends SvgElement native "*SVGFontFaceFormatElement" {
+ @DomName('SVGFontFaceFormatElement.SVGFontFaceFormatElement')
@DocsEditable
factory FontFaceFormatElement() => _SvgElementFactoryProvider.createSvgElement_tag("font-face-format");
}
@@ -3038,6 +3054,7 @@ class FontFaceFormatElement extends SvgElement native "*SVGFontFaceFormatElement
@DomName('SVGFontFaceNameElement')
class FontFaceNameElement extends SvgElement native "*SVGFontFaceNameElement" {
+ @DomName('SVGFontFaceNameElement.SVGFontFaceNameElement')
@DocsEditable
factory FontFaceNameElement() => _SvgElementFactoryProvider.createSvgElement_tag("font-face-name");
}
@@ -3050,6 +3067,7 @@ class FontFaceNameElement extends SvgElement native "*SVGFontFaceNameElement" {
@DomName('SVGFontFaceSrcElement')
class FontFaceSrcElement extends SvgElement native "*SVGFontFaceSrcElement" {
+ @DomName('SVGFontFaceSrcElement.SVGFontFaceSrcElement')
@DocsEditable
factory FontFaceSrcElement() => _SvgElementFactoryProvider.createSvgElement_tag("font-face-src");
}
@@ -3062,6 +3080,7 @@ class FontFaceSrcElement extends SvgElement native "*SVGFontFaceSrcElement" {
@DomName('SVGFontFaceUriElement')
class FontFaceUriElement extends SvgElement native "*SVGFontFaceUriElement" {
+ @DomName('SVGFontFaceUriElement.SVGFontFaceUriElement')
@DocsEditable
factory FontFaceUriElement() => _SvgElementFactoryProvider.createSvgElement_tag("font-face-uri");
}
@@ -3074,6 +3093,7 @@ class FontFaceUriElement extends SvgElement native "*SVGFontFaceUriElement" {
@DomName('SVGForeignObjectElement')
class ForeignObjectElement extends SvgElement implements Transformable, Tests, Stylable, ExternalResourcesRequired, LangSpace native "*SVGForeignObjectElement" {
+ @DomName('SVGForeignObjectElement.SVGForeignObjectElement')
@DocsEditable
factory ForeignObjectElement() => _SvgElementFactoryProvider.createSvgElement_tag("foreignObject");
@@ -3182,6 +3202,7 @@ class ForeignObjectElement extends SvgElement implements Transformable, Tests, S
@DomName('SVGGElement')
class GElement extends SvgElement implements Transformable, Tests, Stylable, ExternalResourcesRequired, LangSpace native "*SVGGElement" {
+ @DomName('SVGGElement.SVGGElement')
@DocsEditable
factory GElement() => _SvgElementFactoryProvider.createSvgElement_tag("g");
@@ -3274,6 +3295,7 @@ class GElement extends SvgElement implements Transformable, Tests, Stylable, Ext
@DomName('SVGGlyphElement')
class GlyphElement extends SvgElement native "*SVGGlyphElement" {
+ @DomName('SVGGlyphElement.SVGGlyphElement')
@DocsEditable
factory GlyphElement() => _SvgElementFactoryProvider.createSvgElement_tag("glyph");
}
@@ -3390,6 +3412,7 @@ class GradientElement extends SvgElement implements UriReference, ExternalResour
@DomName('SVGHKernElement')
class HKernElement extends SvgElement native "*SVGHKernElement" {
+ @DomName('SVGHKernElement.SVGHKernElement')
@DocsEditable
factory HKernElement() => _SvgElementFactoryProvider.createSvgElement_tag("hkern");
}
@@ -3402,6 +3425,7 @@ class HKernElement extends SvgElement native "*SVGHKernElement" {
@DomName('SVGImageElement')
class ImageElement extends SvgElement implements Transformable, Tests, UriReference, Stylable, ExternalResourcesRequired, LangSpace native "*SVGImageElement" {
+ @DomName('SVGImageElement.SVGImageElement')
@DocsEditable
factory ImageElement() => _SvgElementFactoryProvider.createSvgElement_tag("image");
@@ -3804,6 +3828,7 @@ class LengthList implements JavaScriptIndexingBehavior, List<Length> native "*SV
@DomName('SVGLineElement')
class LineElement extends SvgElement implements Transformable, Tests, Stylable, ExternalResourcesRequired, LangSpace native "*SVGLineElement" {
+ @DomName('SVGLineElement.SVGLineElement')
@DocsEditable
factory LineElement() => _SvgElementFactoryProvider.createSvgElement_tag("line");
@@ -3912,6 +3937,7 @@ class LineElement extends SvgElement implements Transformable, Tests, Stylable,
@DomName('SVGLinearGradientElement')
class LinearGradientElement extends GradientElement native "*SVGLinearGradientElement" {
+ @DomName('SVGLinearGradientElement.SVGLinearGradientElement')
@DocsEditable
factory LinearGradientElement() => _SvgElementFactoryProvider.createSvgElement_tag("linearGradient");
@@ -3960,6 +3986,7 @@ abstract class Locatable {
@DomName('SVGMPathElement')
class MPathElement extends SvgElement implements UriReference, ExternalResourcesRequired native "*SVGMPathElement" {
+ @DomName('SVGMPathElement.SVGMPathElement')
@DocsEditable
factory MPathElement() => _SvgElementFactoryProvider.createSvgElement_tag("mpath");
@@ -3984,6 +4011,7 @@ class MPathElement extends SvgElement implements UriReference, ExternalResources
@DomName('SVGMarkerElement')
class MarkerElement extends SvgElement implements FitToViewBox, ExternalResourcesRequired, Stylable, LangSpace native "*SVGMarkerElement" {
+ @DomName('SVGMarkerElement.SVGMarkerElement')
@DocsEditable
factory MarkerElement() => _SvgElementFactoryProvider.createSvgElement_tag("marker");
@@ -4082,6 +4110,7 @@ class MarkerElement extends SvgElement implements FitToViewBox, ExternalResource
@DomName('SVGMaskElement')
class MaskElement extends SvgElement implements Tests, Stylable, ExternalResourcesRequired, LangSpace native "*SVGMaskElement" {
+ @DomName('SVGMaskElement.SVGMaskElement')
@DocsEditable
factory MaskElement() => _SvgElementFactoryProvider.createSvgElement_tag("mask");
@@ -4534,6 +4563,7 @@ class Paint extends Color native "*SVGPaint" {
@DomName('SVGPathElement')
class PathElement extends SvgElement implements Transformable, Tests, Stylable, ExternalResourcesRequired, LangSpace native "*SVGPathElement" {
+ @DomName('SVGPathElement.SVGPathElement')
@DocsEditable
factory PathElement() => _SvgElementFactoryProvider.createSvgElement_tag("path");
@@ -5430,6 +5460,7 @@ class PathSegMovetoRel extends PathSeg native "*SVGPathSegMovetoRel" {
@DomName('SVGPatternElement')
class PatternElement extends SvgElement implements FitToViewBox, Tests, UriReference, Stylable, ExternalResourcesRequired, LangSpace native "*SVGPatternElement" {
+ @DomName('SVGPatternElement.SVGPatternElement')
@DocsEditable
factory PatternElement() => _SvgElementFactoryProvider.createSvgElement_tag("pattern");
@@ -5594,6 +5625,7 @@ class PointList native "*SVGPointList" {
@DomName('SVGPolygonElement')
class PolygonElement extends SvgElement implements Transformable, Tests, Stylable, ExternalResourcesRequired, LangSpace native "*SVGPolygonElement" {
+ @DomName('SVGPolygonElement.SVGPolygonElement')
@DocsEditable
factory PolygonElement() => _SvgElementFactoryProvider.createSvgElement_tag("polygon");
@@ -5694,6 +5726,7 @@ class PolygonElement extends SvgElement implements Transformable, Tests, Stylabl
@DomName('SVGPolylineElement')
class PolylineElement extends SvgElement implements Transformable, Tests, Stylable, ExternalResourcesRequired, LangSpace native "*SVGPolylineElement" {
+ @DomName('SVGPolylineElement.SVGPolylineElement')
@DocsEditable
factory PolylineElement() => _SvgElementFactoryProvider.createSvgElement_tag("polyline");
@@ -5839,6 +5872,7 @@ class PreserveAspectRatio native "*SVGPreserveAspectRatio" {
@DomName('SVGRadialGradientElement')
class RadialGradientElement extends GradientElement native "*SVGRadialGradientElement" {
+ @DomName('SVGRadialGradientElement.SVGRadialGradientElement')
@DocsEditable
factory RadialGradientElement() => _SvgElementFactoryProvider.createSvgElement_tag("radialGradient");
@@ -5900,6 +5934,7 @@ class Rect native "*SVGRect" {
@DomName('SVGRectElement')
class RectElement extends SvgElement implements Transformable, Tests, Stylable, ExternalResourcesRequired, LangSpace native "*SVGRectElement" {
+ @DomName('SVGRectElement.SVGRectElement')
@DocsEditable
factory RectElement() => _SvgElementFactoryProvider.createSvgElement_tag("rect");
@@ -6037,6 +6072,7 @@ class RenderingIntent native "*SVGRenderingIntent" {
@DomName('SVGScriptElement')
class ScriptElement extends SvgElement implements UriReference, ExternalResourcesRequired native "*SVGScriptElement" {
+ @DomName('SVGScriptElement.SVGScriptElement')
@DocsEditable
factory ScriptElement() => _SvgElementFactoryProvider.createSvgElement_tag("script");
@@ -6065,6 +6101,7 @@ class ScriptElement extends SvgElement implements UriReference, ExternalResource
@DomName('SVGSetElement')
class SetElement extends AnimationElement native "*SVGSetElement" {
+ @DomName('SVGSetElement.SVGSetElement')
@DocsEditable
factory SetElement() => _SvgElementFactoryProvider.createSvgElement_tag("set");
}
@@ -6077,6 +6114,7 @@ class SetElement extends AnimationElement native "*SVGSetElement" {
@DomName('SVGStopElement')
class StopElement extends SvgElement implements Stylable native "*SVGStopElement" {
+ @DomName('SVGStopElement.SVGStopElement')
@DocsEditable
factory StopElement() => _SvgElementFactoryProvider.createSvgElement_tag("stop");
@@ -6336,6 +6374,7 @@ abstract class Stylable {
@DomName('SVGStyleElement')
class StyleElement extends SvgElement implements LangSpace native "*SVGStyleElement" {
+ @DomName('SVGStyleElement.SVGStyleElement')
@DocsEditable
factory StyleElement() => _SvgElementFactoryProvider.createSvgElement_tag("style");
@@ -6826,6 +6865,7 @@ class SvgSvgElement extends SvgElement implements FitToViewBox, Tests, Stylable,
@DomName('SVGSwitchElement')
class SwitchElement extends SvgElement implements Transformable, Tests, Stylable, ExternalResourcesRequired, LangSpace native "*SVGSwitchElement" {
+ @DomName('SVGSwitchElement.SVGSwitchElement')
@DocsEditable
factory SwitchElement() => _SvgElementFactoryProvider.createSvgElement_tag("switch");
@@ -6918,6 +6958,7 @@ class SwitchElement extends SvgElement implements Transformable, Tests, Stylable
@DomName('SVGSymbolElement')
class SymbolElement extends SvgElement implements FitToViewBox, ExternalResourcesRequired, Stylable, LangSpace native "*SVGSymbolElement" {
+ @DomName('SVGSymbolElement.SVGSymbolElement')
@DocsEditable
factory SymbolElement() => _SvgElementFactoryProvider.createSvgElement_tag("symbol");
@@ -6968,6 +7009,7 @@ class SymbolElement extends SvgElement implements FitToViewBox, ExternalResource
@DomName('SVGTRefElement')
class TRefElement extends TextPositioningElement implements UriReference native "*SVGTRefElement" {
+ @DomName('SVGTRefElement.SVGTRefElement')
@DocsEditable
factory TRefElement() => _SvgElementFactoryProvider.createSvgElement_tag("tref");
@@ -6986,6 +7028,7 @@ class TRefElement extends TextPositioningElement implements UriReference native
@DomName('SVGTSpanElement')
class TSpanElement extends TextPositioningElement native "*SVGTSpanElement" {
+ @DomName('SVGTSpanElement.SVGTSpanElement')
@DocsEditable
factory TSpanElement() => _SvgElementFactoryProvider.createSvgElement_tag("tspan");
}
@@ -7119,6 +7162,7 @@ class TextContentElement extends SvgElement implements Tests, Stylable, External
@DomName('SVGTextElement')
class TextElement extends TextPositioningElement implements Transformable native "*SVGTextElement" {
+ @DomName('SVGTextElement.SVGTextElement')
@DocsEditable
factory TextElement() => _SvgElementFactoryProvider.createSvgElement_tag("text");
@@ -7233,6 +7277,7 @@ class TextPositioningElement extends TextContentElement native "*SVGTextPosition
@DomName('SVGTitleElement')
class TitleElement extends SvgElement implements Stylable, LangSpace native "*SVGTitleElement" {
+ @DomName('SVGTitleElement.SVGTitleElement')
@DocsEditable
factory TitleElement() => _SvgElementFactoryProvider.createSvgElement_tag("title");
@@ -7601,6 +7646,7 @@ abstract class UriReference {
@DomName('SVGUseElement')
class UseElement extends SvgElement implements Transformable, Tests, UriReference, Stylable, ExternalResourcesRequired, LangSpace native "*SVGUseElement" {
+ @DomName('SVGUseElement.SVGUseElement')
@DocsEditable
factory UseElement() => _SvgElementFactoryProvider.createSvgElement_tag("use");
@@ -7723,6 +7769,7 @@ class UseElement extends SvgElement implements Transformable, Tests, UriReferenc
@DomName('SVGVKernElement')
class VKernElement extends SvgElement native "*SVGVKernElement" {
+ @DomName('SVGVKernElement.SVGVKernElement')
@DocsEditable
factory VKernElement() => _SvgElementFactoryProvider.createSvgElement_tag("vkern");
}
@@ -7735,6 +7782,7 @@ class VKernElement extends SvgElement native "*SVGVKernElement" {
@DomName('SVGViewElement')
class ViewElement extends SvgElement implements FitToViewBox, ExternalResourcesRequired, ZoomAndPan native "*SVGViewElement" {
+ @DomName('SVGViewElement.SVGViewElement')
@DocsEditable
factory ViewElement() => _SvgElementFactoryProvider.createSvgElement_tag("view");

Powered by Google App Engine
This is Rietveld 408576698