| Index: sdk/lib/svg/dartium/svg_dartium.dart
|
| diff --git a/sdk/lib/svg/dartium/svg_dartium.dart b/sdk/lib/svg/dartium/svg_dartium.dart
|
| index 98774f32a7f20f422f8897e9ab64cb51b2709ae9..0e76bccb29ba7dbff8602313d239e11a0d18e7ca 100644
|
| --- a/sdk/lib/svg/dartium/svg_dartium.dart
|
| +++ b/sdk/lib/svg/dartium/svg_dartium.dart
|
| @@ -63,7 +63,7 @@ class _SvgSvgElementFactoryProvider {
|
| @DocsEditable()
|
| @DomName('SVGAElement')
|
| @Unstable()
|
| -class AElement extends StyledElement implements UriReference, Tests, Transformable, ExternalResourcesRequired, LangSpace {
|
| +class AElement extends StyledElement implements Transformable, ExternalResourcesRequired, UriReference, Tests, LangSpace {
|
| // To suppress missing implicit constructor warnings.
|
| factory AElement._() { throw new UnsupportedError("Not supported"); }
|
|
|
| @@ -615,7 +615,7 @@ class AnimatedTransformList extends NativeFieldWrapperClass1 {
|
| @DocsEditable()
|
| @DomName('SVGAnimationElement')
|
| @Unstable()
|
| -class AnimationElement extends SvgElement implements Tests, ElementTimeControl, ExternalResourcesRequired {
|
| +class AnimationElement extends SvgElement implements ExternalResourcesRequired, ElementTimeControl, Tests {
|
| // To suppress missing implicit constructor warnings.
|
| factory AnimationElement._() { throw new UnsupportedError("Not supported"); }
|
|
|
| @@ -686,7 +686,7 @@ class AnimationElement extends SvgElement implements Tests, ElementTimeControl,
|
| @DocsEditable()
|
| @DomName('SVGCircleElement')
|
| @Unstable()
|
| -class CircleElement extends StyledElement implements Transformable, Tests, ExternalResourcesRequired, LangSpace {
|
| +class CircleElement extends StyledElement implements Transformable, ExternalResourcesRequired, Tests, LangSpace {
|
| // To suppress missing implicit constructor warnings.
|
| factory CircleElement._() { throw new UnsupportedError("Not supported"); }
|
|
|
| @@ -781,7 +781,7 @@ class CircleElement extends StyledElement implements Transformable, Tests, Exter
|
| @DocsEditable()
|
| @DomName('SVGClipPathElement')
|
| @Unstable()
|
| -class ClipPathElement extends StyledElement implements Transformable, Tests, ExternalResourcesRequired, LangSpace {
|
| +class ClipPathElement extends StyledElement implements Transformable, ExternalResourcesRequired, Tests, LangSpace {
|
| // To suppress missing implicit constructor warnings.
|
| factory ClipPathElement._() { throw new UnsupportedError("Not supported"); }
|
|
|
| @@ -868,7 +868,7 @@ class ClipPathElement extends StyledElement implements Transformable, Tests, Ext
|
| @DocsEditable()
|
| @DomName('SVGDefsElement')
|
| @Unstable()
|
| -class DefsElement extends StyledElement implements Transformable, Tests, ExternalResourcesRequired, LangSpace {
|
| +class DefsElement extends StyledElement implements Transformable, ExternalResourcesRequired, Tests, LangSpace {
|
| // To suppress missing implicit constructor warnings.
|
| factory DefsElement._() { throw new UnsupportedError("Not supported"); }
|
|
|
| @@ -1357,7 +1357,7 @@ class ElementInstance extends EventTarget {
|
| @DocsEditable()
|
| @DomName('SVGEllipseElement')
|
| @Unstable()
|
| -class EllipseElement extends StyledElement implements Transformable, Tests, ExternalResourcesRequired, LangSpace {
|
| +class EllipseElement extends StyledElement implements Transformable, ExternalResourcesRequired, Tests, LangSpace {
|
| // To suppress missing implicit constructor warnings.
|
| factory EllipseElement._() { throw new UnsupportedError("Not supported"); }
|
|
|
| @@ -3009,7 +3009,7 @@ abstract class FitToViewBox extends NativeFieldWrapperClass1 {
|
| @SupportedBrowser(SupportedBrowser.FIREFOX)
|
| @SupportedBrowser(SupportedBrowser.SAFARI)
|
| @Unstable()
|
| -class ForeignObjectElement extends StyledElement implements Transformable, Tests, ExternalResourcesRequired, LangSpace {
|
| +class ForeignObjectElement extends StyledElement implements Transformable, ExternalResourcesRequired, Tests, LangSpace {
|
| // To suppress missing implicit constructor warnings.
|
| factory ForeignObjectElement._() { throw new UnsupportedError("Not supported"); }
|
|
|
| @@ -3111,7 +3111,7 @@ class ForeignObjectElement extends StyledElement implements Transformable, Tests
|
| @DocsEditable()
|
| @DomName('SVGGElement')
|
| @Unstable()
|
| -class GElement extends StyledElement implements Transformable, Tests, ExternalResourcesRequired, LangSpace {
|
| +class GElement extends StyledElement implements Transformable, ExternalResourcesRequired, Tests, LangSpace {
|
| // To suppress missing implicit constructor warnings.
|
| factory GElement._() { throw new UnsupportedError("Not supported"); }
|
|
|
| @@ -3194,7 +3194,7 @@ class GElement extends StyledElement implements Transformable, Tests, ExternalRe
|
| @DocsEditable()
|
| @DomName('SVGImageElement')
|
| @Unstable()
|
| -class ImageElement extends StyledElement implements UriReference, Tests, Transformable, ExternalResourcesRequired, LangSpace {
|
| +class ImageElement extends StyledElement implements Transformable, ExternalResourcesRequired, UriReference, Tests, LangSpace {
|
| // To suppress missing implicit constructor warnings.
|
| factory ImageElement._() { throw new UnsupportedError("Not supported"); }
|
|
|
| @@ -3518,7 +3518,7 @@ class LengthList extends NativeFieldWrapperClass1 with ListMixin<Length>, Immuta
|
| @DocsEditable()
|
| @DomName('SVGLineElement')
|
| @Unstable()
|
| -class LineElement extends StyledElement implements Transformable, Tests, ExternalResourcesRequired, LangSpace {
|
| +class LineElement extends StyledElement implements Transformable, ExternalResourcesRequired, Tests, LangSpace {
|
| // To suppress missing implicit constructor warnings.
|
| factory LineElement._() { throw new UnsupportedError("Not supported"); }
|
|
|
| @@ -3796,7 +3796,7 @@ class MarkerElement extends StyledElement implements FitToViewBox, ExternalResou
|
| @DocsEditable()
|
| @DomName('SVGMaskElement')
|
| @Unstable()
|
| -class MaskElement extends StyledElement implements Tests, ExternalResourcesRequired, LangSpace {
|
| +class MaskElement extends StyledElement implements ExternalResourcesRequired, Tests, LangSpace {
|
| // To suppress missing implicit constructor warnings.
|
| factory MaskElement._() { throw new UnsupportedError("Not supported"); }
|
|
|
| @@ -4108,7 +4108,7 @@ class NumberList extends NativeFieldWrapperClass1 with ListMixin<Number>, Immuta
|
| @DocsEditable()
|
| @DomName('SVGPathElement')
|
| @Unstable()
|
| -class PathElement extends StyledElement implements Transformable, Tests, ExternalResourcesRequired, LangSpace {
|
| +class PathElement extends StyledElement implements Transformable, ExternalResourcesRequired, Tests, LangSpace {
|
| // To suppress missing implicit constructor warnings.
|
| factory PathElement._() { throw new UnsupportedError("Not supported"); }
|
|
|
| @@ -5241,7 +5241,7 @@ class PathSegMovetoRel extends PathSeg {
|
| @DocsEditable()
|
| @DomName('SVGPatternElement')
|
| @Unstable()
|
| -class PatternElement extends StyledElement implements FitToViewBox, UriReference, Tests, ExternalResourcesRequired, LangSpace {
|
| +class PatternElement extends StyledElement implements FitToViewBox, UriReference, ExternalResourcesRequired, Tests, LangSpace {
|
| // To suppress missing implicit constructor warnings.
|
| factory PatternElement._() { throw new UnsupportedError("Not supported"); }
|
|
|
| @@ -5414,7 +5414,7 @@ class PointList extends NativeFieldWrapperClass1 {
|
| @DocsEditable()
|
| @DomName('SVGPolygonElement')
|
| @Unstable()
|
| -class PolygonElement extends StyledElement implements Transformable, Tests, ExternalResourcesRequired, LangSpace {
|
| +class PolygonElement extends StyledElement implements Transformable, ExternalResourcesRequired, Tests, LangSpace {
|
| // To suppress missing implicit constructor warnings.
|
| factory PolygonElement._() { throw new UnsupportedError("Not supported"); }
|
|
|
| @@ -5505,7 +5505,7 @@ class PolygonElement extends StyledElement implements Transformable, Tests, Exte
|
| @DocsEditable()
|
| @DomName('SVGPolylineElement')
|
| @Unstable()
|
| -class PolylineElement extends StyledElement implements Transformable, Tests, ExternalResourcesRequired, LangSpace {
|
| +class PolylineElement extends StyledElement implements Transformable, ExternalResourcesRequired, Tests, LangSpace {
|
| // To suppress missing implicit constructor warnings.
|
| factory PolylineElement._() { throw new UnsupportedError("Not supported"); }
|
|
|
| @@ -5769,7 +5769,7 @@ class Rect extends NativeFieldWrapperClass1 {
|
| @DocsEditable()
|
| @DomName('SVGRectElement')
|
| @Unstable()
|
| -class RectElement extends StyledElement implements Transformable, Tests, ExternalResourcesRequired, LangSpace {
|
| +class RectElement extends StyledElement implements Transformable, ExternalResourcesRequired, Tests, LangSpace {
|
| // To suppress missing implicit constructor warnings.
|
| factory RectElement._() { throw new UnsupportedError("Not supported"); }
|
|
|
| @@ -6336,49 +6336,6 @@ class SvgElement extends Element {
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| -// WARNING: Do not edit - generated code.
|
| -
|
| -
|
| -@DocsEditable()
|
| -@DomName('SVGException')
|
| -@Unstable()
|
| -class SvgException extends NativeFieldWrapperClass1 {
|
| -
|
| - @DomName('SVGException.SVG_INVALID_VALUE_ERR')
|
| - @DocsEditable()
|
| - static const int SVG_INVALID_VALUE_ERR = 1;
|
| -
|
| - @DomName('SVGException.SVG_MATRIX_NOT_INVERTABLE')
|
| - @DocsEditable()
|
| - static const int SVG_MATRIX_NOT_INVERTABLE = 2;
|
| -
|
| - @DomName('SVGException.SVG_WRONG_TYPE_ERR')
|
| - @DocsEditable()
|
| - static const int SVG_WRONG_TYPE_ERR = 0;
|
| -
|
| - @DomName('SVGException.code')
|
| - @DocsEditable()
|
| - int get code native "SVGException_code_Getter";
|
| -
|
| - @DomName('SVGException.message')
|
| - @DocsEditable()
|
| - @Experimental() // nonstandard
|
| - String get message native "SVGException_message_Getter";
|
| -
|
| - @DomName('SVGException.name')
|
| - @DocsEditable()
|
| - @Experimental() // nonstandard
|
| - String get name native "SVGException_name_Getter";
|
| -
|
| - @DomName('SVGException.toString')
|
| - @DocsEditable()
|
| - String toString() native "SVGException_toString_Callback";
|
| -
|
| -}
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| -
|
|
|
| @DomName('SVGSVGElement')
|
| @Unstable()
|
| @@ -6643,7 +6600,7 @@ class SvgSvgElement extends StyledElement implements FitToViewBox, Transformable
|
| @DocsEditable()
|
| @DomName('SVGSwitchElement')
|
| @Unstable()
|
| -class SwitchElement extends StyledElement implements Transformable, Tests, ExternalResourcesRequired, LangSpace {
|
| +class SwitchElement extends StyledElement implements Transformable, ExternalResourcesRequired, Tests, LangSpace {
|
| // To suppress missing implicit constructor warnings.
|
| factory SwitchElement._() { throw new UnsupportedError("Not supported"); }
|
|
|
| @@ -6821,7 +6778,7 @@ abstract class Tests extends NativeFieldWrapperClass1 {
|
| @DocsEditable()
|
| @DomName('SVGTextContentElement')
|
| @Unstable()
|
| -class TextContentElement extends StyledElement implements Tests, ExternalResourcesRequired, LangSpace {
|
| +class TextContentElement extends StyledElement implements ExternalResourcesRequired, Tests, LangSpace {
|
| // To suppress missing implicit constructor warnings.
|
| factory TextContentElement._() { throw new UnsupportedError("Not supported"); }
|
|
|
| @@ -7360,7 +7317,7 @@ abstract class UriReference extends NativeFieldWrapperClass1 {
|
| @DocsEditable()
|
| @DomName('SVGUseElement')
|
| @Unstable()
|
| -class UseElement extends StyledElement implements UriReference, Tests, Transformable, ExternalResourcesRequired, LangSpace {
|
| +class UseElement extends StyledElement implements Transformable, ExternalResourcesRequired, UriReference, Tests, LangSpace {
|
| // To suppress missing implicit constructor warnings.
|
| factory UseElement._() { throw new UnsupportedError("Not supported"); }
|
|
|
| @@ -7514,12 +7471,7 @@ class ViewElement extends SvgElement implements FitToViewBox, ExternalResourcesR
|
| @DocsEditable()
|
| @DomName('SVGViewSpec')
|
| @Unstable()
|
| -class ViewSpec extends NativeFieldWrapperClass1 {
|
| -
|
| - @DomName('SVGViewSpec.preserveAspectRatio')
|
| - @DocsEditable()
|
| - @Experimental() // nonstandard
|
| - AnimatedPreserveAspectRatio get preserveAspectRatio native "SVGViewSpec_preserveAspectRatio_Getter";
|
| +class ViewSpec extends NativeFieldWrapperClass1 implements FitToViewBox {
|
|
|
| @DomName('SVGViewSpec.preserveAspectRatioString')
|
| @DocsEditable()
|
| @@ -7533,11 +7485,6 @@ class ViewSpec extends NativeFieldWrapperClass1 {
|
| @DocsEditable()
|
| String get transformString native "SVGViewSpec_transformString_Getter";
|
|
|
| - @DomName('SVGViewSpec.viewBox')
|
| - @DocsEditable()
|
| - @Experimental() // nonstandard
|
| - AnimatedRect get viewBox native "SVGViewSpec_viewBox_Getter";
|
| -
|
| @DomName('SVGViewSpec.viewBoxString')
|
| @DocsEditable()
|
| String get viewBoxString native "SVGViewSpec_viewBoxString_Getter";
|
| @@ -7560,6 +7507,16 @@ class ViewSpec extends NativeFieldWrapperClass1 {
|
| @Experimental() // nonstandard
|
| void set zoomAndPan(int value) native "SVGViewSpec_zoomAndPan_Setter";
|
|
|
| + @DomName('SVGViewSpec.preserveAspectRatio')
|
| + @DocsEditable()
|
| + @Experimental() // nonstandard
|
| + AnimatedPreserveAspectRatio get preserveAspectRatio native "SVGViewSpec_preserveAspectRatio_Getter";
|
| +
|
| + @DomName('SVGViewSpec.viewBox')
|
| + @DocsEditable()
|
| + @Experimental() // nonstandard
|
| + AnimatedRect get viewBox native "SVGViewSpec_viewBox_Getter";
|
| +
|
| }
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| @@ -7829,7 +7786,7 @@ abstract class _SVGComponentTransferFunctionElement extends SvgElement {
|
| @DocsEditable()
|
| @DomName('SVGCursorElement')
|
| @Unstable()
|
| -abstract class _SVGCursorElement extends SvgElement implements UriReference, Tests, ExternalResourcesRequired {
|
| +abstract class _SVGCursorElement extends SvgElement implements UriReference, ExternalResourcesRequired, Tests {
|
| // To suppress missing implicit constructor warnings.
|
| factory _SVGCursorElement._() { throw new UnsupportedError("Not supported"); }
|
|
|
|
|