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

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

Issue 11299220: Add @JSName annotation for native fields and methods. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 1 month 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 b80159812a61e4b02071402f20b160296ac13604..be4cb446024c36212028858047d16ed1b025a783 100644
--- a/sdk/lib/svg/dart2js/svg_dart2js.dart
+++ b/sdk/lib/svg/dart2js/svg_dart2js.dart
@@ -86,16 +86,19 @@ class AElement extends SvgElement implements Transformable, Tests, UriReference,
Rect getBBox() native;
/// @domName SVGLocatable.getCTM; @docsEditable true
- Matrix getCtm() native "getCTM";
+ @JSName('getCTM')
+ Matrix getCtm() native;
/// @domName SVGLocatable.getScreenCTM; @docsEditable true
- Matrix getScreenCtm() native "getScreenCTM";
+ @JSName('getScreenCTM')
+ Matrix getScreenCtm() native;
/// @domName SVGLocatable.getTransformToElement; @docsEditable true
Matrix getTransformToElement(SvgElement element) native;
// From SVGStylable
+ // Shadowing definition.
/// @domName SVGStylable.className; @docsEditable true
AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", this);
@@ -762,16 +765,19 @@ class CircleElement extends SvgElement implements Transformable, Tests, Stylable
Rect getBBox() native;
/// @domName SVGLocatable.getCTM; @docsEditable true
- Matrix getCtm() native "getCTM";
+ @JSName('getCTM')
+ Matrix getCtm() native;
/// @domName SVGLocatable.getScreenCTM; @docsEditable true
- Matrix getScreenCtm() native "getScreenCTM";
+ @JSName('getScreenCTM')
+ Matrix getScreenCtm() native;
/// @domName SVGLocatable.getTransformToElement; @docsEditable true
Matrix getTransformToElement(SvgElement element) native;
// From SVGStylable
+ // Shadowing definition.
/// @domName SVGStylable.className; @docsEditable true
AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", this);
@@ -838,16 +844,19 @@ class ClipPathElement extends SvgElement implements Transformable, Tests, Stylab
Rect getBBox() native;
/// @domName SVGLocatable.getCTM; @docsEditable true
- Matrix getCtm() native "getCTM";
+ @JSName('getCTM')
+ Matrix getCtm() native;
/// @domName SVGLocatable.getScreenCTM; @docsEditable true
- Matrix getScreenCtm() native "getScreenCTM";
+ @JSName('getScreenCTM')
+ Matrix getScreenCtm() native;
/// @domName SVGLocatable.getTransformToElement; @docsEditable true
Matrix getTransformToElement(SvgElement element) native;
// From SVGStylable
+ // Shadowing definition.
/// @domName SVGStylable.className; @docsEditable true
AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", this);
@@ -902,10 +911,12 @@ class Color extends CSSValue native "*SVGColor" {
void setColor(int colorType, String rgbColor, String iccColor) native;
/// @domName SVGColor.setRGBColor; @docsEditable true
- void setRgbColor(String rgbColor) native "setRGBColor";
+ @JSName('setRGBColor')
+ void setRgbColor(String rgbColor) native;
/// @domName SVGColor.setRGBColorICCColor; @docsEditable true
- void setRgbColorIccColor(String rgbColor, String iccColor) native "setRGBColorICCColor";
+ @JSName('setRGBColorICCColor')
+ void setRgbColorIccColor(String rgbColor, String iccColor) native;
}
// 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
@@ -1023,16 +1034,19 @@ class DefsElement extends SvgElement implements Transformable, Tests, Stylable,
Rect getBBox() native;
/// @domName SVGLocatable.getCTM; @docsEditable true
- Matrix getCtm() native "getCTM";
+ @JSName('getCTM')
+ Matrix getCtm() native;
/// @domName SVGLocatable.getScreenCTM; @docsEditable true
- Matrix getScreenCtm() native "getScreenCTM";
+ @JSName('getScreenCTM')
+ Matrix getScreenCtm() native;
/// @domName SVGLocatable.getTransformToElement; @docsEditable true
Matrix getTransformToElement(SvgElement element) native;
// From SVGStylable
+ // Shadowing definition.
/// @domName SVGStylable.className; @docsEditable true
AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", this);
@@ -1081,6 +1095,7 @@ class DescElement extends SvgElement implements Stylable, LangSpace native "*SVG
// From SVGStylable
+ // Shadowing definition.
/// @domName SVGStylable.className; @docsEditable true
AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", this);
@@ -1258,16 +1273,19 @@ class EllipseElement extends SvgElement implements Transformable, Tests, Stylabl
Rect getBBox() native;
/// @domName SVGLocatable.getCTM; @docsEditable true
- Matrix getCtm() native "getCTM";
+ @JSName('getCTM')
+ Matrix getCtm() native;
/// @domName SVGLocatable.getScreenCTM; @docsEditable true
- Matrix getScreenCtm() native "getScreenCTM";
+ @JSName('getScreenCTM')
+ Matrix getScreenCtm() native;
/// @domName SVGLocatable.getTransformToElement; @docsEditable true
Matrix getTransformToElement(SvgElement element) native;
// From SVGStylable
+ // Shadowing definition.
/// @domName SVGStylable.className; @docsEditable true
AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", this);
@@ -1354,6 +1372,7 @@ class FEBlendElement extends SvgElement implements FilterPrimitiveStandardAttrib
// From SVGStylable
+ // Shadowing definition.
/// @domName SVGStylable.className; @docsEditable true
AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", this);
@@ -1409,6 +1428,7 @@ class FEColorMatrixElement extends SvgElement implements FilterPrimitiveStandard
// From SVGStylable
+ // Shadowing definition.
/// @domName SVGStylable.className; @docsEditable true
AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", this);
@@ -1448,6 +1468,7 @@ class FEComponentTransferElement extends SvgElement implements FilterPrimitiveSt
// From SVGStylable
+ // Shadowing definition.
/// @domName SVGStylable.className; @docsEditable true
AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", this);
@@ -1519,6 +1540,7 @@ class FECompositeElement extends SvgElement implements FilterPrimitiveStandardAt
// From SVGStylable
+ // Shadowing definition.
/// @domName SVGStylable.className; @docsEditable true
AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", this);
@@ -1599,6 +1621,7 @@ class FEConvolveMatrixElement extends SvgElement implements FilterPrimitiveStand
// From SVGStylable
+ // Shadowing definition.
/// @domName SVGStylable.className; @docsEditable true
AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", this);
@@ -1650,6 +1673,7 @@ class FEDiffuseLightingElement extends SvgElement implements FilterPrimitiveStan
// From SVGStylable
+ // Shadowing definition.
/// @domName SVGStylable.className; @docsEditable true
AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", this);
@@ -1711,6 +1735,7 @@ class FEDisplacementMapElement extends SvgElement implements FilterPrimitiveStan
// From SVGStylable
+ // Shadowing definition.
/// @domName SVGStylable.className; @docsEditable true
AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", this);
@@ -1779,6 +1804,7 @@ class FEDropShadowElement extends SvgElement implements FilterPrimitiveStandardA
// From SVGStylable
+ // Shadowing definition.
/// @domName SVGStylable.className; @docsEditable true
AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", this);
@@ -1815,6 +1841,7 @@ class FEFloodElement extends SvgElement implements FilterPrimitiveStandardAttrib
// From SVGStylable
+ // Shadowing definition.
/// @domName SVGStylable.className; @docsEditable true
AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", this);
@@ -1895,6 +1922,7 @@ class FEGaussianBlurElement extends SvgElement implements FilterPrimitiveStandar
// From SVGStylable
+ // Shadowing definition.
/// @domName SVGStylable.className; @docsEditable true
AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", this);
@@ -1947,6 +1975,7 @@ class FEImageElement extends SvgElement implements FilterPrimitiveStandardAttrib
// From SVGStylable
+ // Shadowing definition.
/// @domName SVGStylable.className; @docsEditable true
AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", this);
@@ -1988,6 +2017,7 @@ class FEMergeElement extends SvgElement implements FilterPrimitiveStandardAttrib
// From SVGStylable
+ // Shadowing definition.
/// @domName SVGStylable.className; @docsEditable true
AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", this);
@@ -2056,6 +2086,7 @@ class FEMorphologyElement extends SvgElement implements FilterPrimitiveStandardA
// From SVGStylable
+ // Shadowing definition.
/// @domName SVGStylable.className; @docsEditable true
AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", this);
@@ -2101,6 +2132,7 @@ class FEOffsetElement extends SvgElement implements FilterPrimitiveStandardAttri
// From SVGStylable
+ // Shadowing definition.
/// @domName SVGStylable.className; @docsEditable true
AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", this);
@@ -2166,6 +2198,7 @@ class FESpecularLightingElement extends SvgElement implements FilterPrimitiveSta
// From SVGStylable
+ // Shadowing definition.
/// @domName SVGStylable.className; @docsEditable true
AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", this);
@@ -2237,6 +2270,7 @@ class FETileElement extends SvgElement implements FilterPrimitiveStandardAttribu
// From SVGStylable
+ // Shadowing definition.
/// @domName SVGStylable.className; @docsEditable true
AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", this);
@@ -2303,6 +2337,7 @@ class FETurbulenceElement extends SvgElement implements FilterPrimitiveStandardA
// From SVGStylable
+ // Shadowing definition.
/// @domName SVGStylable.className; @docsEditable true
AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", this);
@@ -2364,6 +2399,7 @@ class FilterElement extends SvgElement implements UriReference, ExternalResource
// From SVGStylable
+ // Shadowing definition.
/// @domName SVGStylable.className; @docsEditable true
AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", this);
@@ -2398,7 +2434,7 @@ abstract class FilterPrimitiveStandardAttributes implements Stylable {
// From SVGStylable
- AnimatedString className;
+ AnimatedString $dom_svgClassName;
CSSStyleDeclaration style;
@@ -2524,16 +2560,19 @@ class ForeignObjectElement extends SvgElement implements Transformable, Tests, S
Rect getBBox() native;
/// @domName SVGLocatable.getCTM; @docsEditable true
- Matrix getCtm() native "getCTM";
+ @JSName('getCTM')
+ Matrix getCtm() native;
/// @domName SVGLocatable.getScreenCTM; @docsEditable true
- Matrix getScreenCtm() native "getScreenCTM";
+ @JSName('getScreenCTM')
+ Matrix getScreenCtm() native;
/// @domName SVGLocatable.getTransformToElement; @docsEditable true
Matrix getTransformToElement(SvgElement element) native;
// From SVGStylable
+ // Shadowing definition.
/// @domName SVGStylable.className; @docsEditable true
AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", this);
@@ -2597,16 +2636,19 @@ class GElement extends SvgElement implements Transformable, Tests, Stylable, Ext
Rect getBBox() native;
/// @domName SVGLocatable.getCTM; @docsEditable true
- Matrix getCtm() native "getCTM";
+ @JSName('getCTM')
+ Matrix getCtm() native;
/// @domName SVGLocatable.getScreenCTM; @docsEditable true
- Matrix getScreenCtm() native "getScreenCTM";
+ @JSName('getScreenCTM')
+ Matrix getScreenCtm() native;
/// @domName SVGLocatable.getTransformToElement; @docsEditable true
Matrix getTransformToElement(SvgElement element) native;
// From SVGStylable
+ // Shadowing definition.
/// @domName SVGStylable.className; @docsEditable true
AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", this);
@@ -2673,6 +2715,7 @@ class GlyphRefElement extends SvgElement implements UriReference, Stylable nativ
// From SVGStylable
+ // Shadowing definition.
/// @domName SVGStylable.className; @docsEditable true
AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", this);
@@ -2719,6 +2762,7 @@ class GradientElement extends SvgElement implements UriReference, ExternalResour
// From SVGStylable
+ // Shadowing definition.
/// @domName SVGStylable.className; @docsEditable true
AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", this);
@@ -2793,16 +2837,19 @@ class ImageElement extends SvgElement implements Transformable, Tests, UriRefere
Rect getBBox() native;
/// @domName SVGLocatable.getCTM; @docsEditable true
- Matrix getCtm() native "getCTM";
+ @JSName('getCTM')
+ Matrix getCtm() native;
/// @domName SVGLocatable.getScreenCTM; @docsEditable true
- Matrix getScreenCtm() native "getScreenCTM";
+ @JSName('getScreenCTM')
+ Matrix getScreenCtm() native;
/// @domName SVGLocatable.getTransformToElement; @docsEditable true
Matrix getTransformToElement(SvgElement element) native;
// From SVGStylable
+ // Shadowing definition.
/// @domName SVGStylable.className; @docsEditable true
AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", this);
@@ -3060,16 +3107,19 @@ class LineElement extends SvgElement implements Transformable, Tests, Stylable,
Rect getBBox() native;
/// @domName SVGLocatable.getCTM; @docsEditable true
- Matrix getCtm() native "getCTM";
+ @JSName('getCTM')
+ Matrix getCtm() native;
/// @domName SVGLocatable.getScreenCTM; @docsEditable true
- Matrix getScreenCtm() native "getScreenCTM";
+ @JSName('getScreenCTM')
+ Matrix getScreenCtm() native;
/// @domName SVGLocatable.getTransformToElement; @docsEditable true
Matrix getTransformToElement(SvgElement element) native;
// From SVGStylable
+ // Shadowing definition.
/// @domName SVGStylable.className; @docsEditable true
AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", this);
@@ -3236,6 +3286,7 @@ class MarkerElement extends SvgElement implements FitToViewBox, ExternalResource
// From SVGStylable
+ // Shadowing definition.
/// @domName SVGStylable.className; @docsEditable true
AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", this);
@@ -3288,6 +3339,7 @@ class MaskElement extends SvgElement implements Tests, Stylable, ExternalResourc
// From SVGStylable
+ // Shadowing definition.
/// @domName SVGStylable.className; @docsEditable true
AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", this);
@@ -3580,61 +3632,80 @@ class PathElement extends SvgElement implements Transformable, Tests, Stylable,
final PathSegList pathSegList;
/// @domName SVGPathElement.createSVGPathSegArcAbs; @docsEditable true
- PathSegArcAbs createSvgPathSegArcAbs(num x, num y, num r1, num r2, num angle, bool largeArcFlag, bool sweepFlag) native "createSVGPathSegArcAbs";
+ @JSName('createSVGPathSegArcAbs')
+ PathSegArcAbs createSvgPathSegArcAbs(num x, num y, num r1, num r2, num angle, bool largeArcFlag, bool sweepFlag) native;
/// @domName SVGPathElement.createSVGPathSegArcRel; @docsEditable true
- PathSegArcRel createSvgPathSegArcRel(num x, num y, num r1, num r2, num angle, bool largeArcFlag, bool sweepFlag) native "createSVGPathSegArcRel";
+ @JSName('createSVGPathSegArcRel')
+ PathSegArcRel createSvgPathSegArcRel(num x, num y, num r1, num r2, num angle, bool largeArcFlag, bool sweepFlag) native;
/// @domName SVGPathElement.createSVGPathSegClosePath; @docsEditable true
- PathSegClosePath createSvgPathSegClosePath() native "createSVGPathSegClosePath";
+ @JSName('createSVGPathSegClosePath')
+ PathSegClosePath createSvgPathSegClosePath() native;
/// @domName SVGPathElement.createSVGPathSegCurvetoCubicAbs; @docsEditable true
- PathSegCurvetoCubicAbs createSvgPathSegCurvetoCubicAbs(num x, num y, num x1, num y1, num x2, num y2) native "createSVGPathSegCurvetoCubicAbs";
+ @JSName('createSVGPathSegCurvetoCubicAbs')
+ PathSegCurvetoCubicAbs createSvgPathSegCurvetoCubicAbs(num x, num y, num x1, num y1, num x2, num y2) native;
/// @domName SVGPathElement.createSVGPathSegCurvetoCubicRel; @docsEditable true
- PathSegCurvetoCubicRel createSvgPathSegCurvetoCubicRel(num x, num y, num x1, num y1, num x2, num y2) native "createSVGPathSegCurvetoCubicRel";
+ @JSName('createSVGPathSegCurvetoCubicRel')
+ PathSegCurvetoCubicRel createSvgPathSegCurvetoCubicRel(num x, num y, num x1, num y1, num x2, num y2) native;
/// @domName SVGPathElement.createSVGPathSegCurvetoCubicSmoothAbs; @docsEditable true
- PathSegCurvetoCubicSmoothAbs createSvgPathSegCurvetoCubicSmoothAbs(num x, num y, num x2, num y2) native "createSVGPathSegCurvetoCubicSmoothAbs";
+ @JSName('createSVGPathSegCurvetoCubicSmoothAbs')
+ PathSegCurvetoCubicSmoothAbs createSvgPathSegCurvetoCubicSmoothAbs(num x, num y, num x2, num y2) native;
/// @domName SVGPathElement.createSVGPathSegCurvetoCubicSmoothRel; @docsEditable true
- PathSegCurvetoCubicSmoothRel createSvgPathSegCurvetoCubicSmoothRel(num x, num y, num x2, num y2) native "createSVGPathSegCurvetoCubicSmoothRel";
+ @JSName('createSVGPathSegCurvetoCubicSmoothRel')
+ PathSegCurvetoCubicSmoothRel createSvgPathSegCurvetoCubicSmoothRel(num x, num y, num x2, num y2) native;
/// @domName SVGPathElement.createSVGPathSegCurvetoQuadraticAbs; @docsEditable true
- PathSegCurvetoQuadraticAbs createSvgPathSegCurvetoQuadraticAbs(num x, num y, num x1, num y1) native "createSVGPathSegCurvetoQuadraticAbs";
+ @JSName('createSVGPathSegCurvetoQuadraticAbs')
+ PathSegCurvetoQuadraticAbs createSvgPathSegCurvetoQuadraticAbs(num x, num y, num x1, num y1) native;
/// @domName SVGPathElement.createSVGPathSegCurvetoQuadraticRel; @docsEditable true
- PathSegCurvetoQuadraticRel createSvgPathSegCurvetoQuadraticRel(num x, num y, num x1, num y1) native "createSVGPathSegCurvetoQuadraticRel";
+ @JSName('createSVGPathSegCurvetoQuadraticRel')
+ PathSegCurvetoQuadraticRel createSvgPathSegCurvetoQuadraticRel(num x, num y, num x1, num y1) native;
/// @domName SVGPathElement.createSVGPathSegCurvetoQuadraticSmoothAbs; @docsEditable true
- PathSegCurvetoQuadraticSmoothAbs createSvgPathSegCurvetoQuadraticSmoothAbs(num x, num y) native "createSVGPathSegCurvetoQuadraticSmoothAbs";
+ @JSName('createSVGPathSegCurvetoQuadraticSmoothAbs')
+ PathSegCurvetoQuadraticSmoothAbs createSvgPathSegCurvetoQuadraticSmoothAbs(num x, num y) native;
/// @domName SVGPathElement.createSVGPathSegCurvetoQuadraticSmoothRel; @docsEditable true
- PathSegCurvetoQuadraticSmoothRel createSvgPathSegCurvetoQuadraticSmoothRel(num x, num y) native "createSVGPathSegCurvetoQuadraticSmoothRel";
+ @JSName('createSVGPathSegCurvetoQuadraticSmoothRel')
+ PathSegCurvetoQuadraticSmoothRel createSvgPathSegCurvetoQuadraticSmoothRel(num x, num y) native;
/// @domName SVGPathElement.createSVGPathSegLinetoAbs; @docsEditable true
- PathSegLinetoAbs createSvgPathSegLinetoAbs(num x, num y) native "createSVGPathSegLinetoAbs";
+ @JSName('createSVGPathSegLinetoAbs')
+ PathSegLinetoAbs createSvgPathSegLinetoAbs(num x, num y) native;
/// @domName SVGPathElement.createSVGPathSegLinetoHorizontalAbs; @docsEditable true
- PathSegLinetoHorizontalAbs createSvgPathSegLinetoHorizontalAbs(num x) native "createSVGPathSegLinetoHorizontalAbs";
+ @JSName('createSVGPathSegLinetoHorizontalAbs')
+ PathSegLinetoHorizontalAbs createSvgPathSegLinetoHorizontalAbs(num x) native;
/// @domName SVGPathElement.createSVGPathSegLinetoHorizontalRel; @docsEditable true
- PathSegLinetoHorizontalRel createSvgPathSegLinetoHorizontalRel(num x) native "createSVGPathSegLinetoHorizontalRel";
+ @JSName('createSVGPathSegLinetoHorizontalRel')
+ PathSegLinetoHorizontalRel createSvgPathSegLinetoHorizontalRel(num x) native;
/// @domName SVGPathElement.createSVGPathSegLinetoRel; @docsEditable true
- PathSegLinetoRel createSvgPathSegLinetoRel(num x, num y) native "createSVGPathSegLinetoRel";
+ @JSName('createSVGPathSegLinetoRel')
+ PathSegLinetoRel createSvgPathSegLinetoRel(num x, num y) native;
/// @domName SVGPathElement.createSVGPathSegLinetoVerticalAbs; @docsEditable true
- PathSegLinetoVerticalAbs createSvgPathSegLinetoVerticalAbs(num y) native "createSVGPathSegLinetoVerticalAbs";
+ @JSName('createSVGPathSegLinetoVerticalAbs')
+ PathSegLinetoVerticalAbs createSvgPathSegLinetoVerticalAbs(num y) native;
/// @domName SVGPathElement.createSVGPathSegLinetoVerticalRel; @docsEditable true
- PathSegLinetoVerticalRel createSvgPathSegLinetoVerticalRel(num y) native "createSVGPathSegLinetoVerticalRel";
+ @JSName('createSVGPathSegLinetoVerticalRel')
+ PathSegLinetoVerticalRel createSvgPathSegLinetoVerticalRel(num y) native;
/// @domName SVGPathElement.createSVGPathSegMovetoAbs; @docsEditable true
- PathSegMovetoAbs createSvgPathSegMovetoAbs(num x, num y) native "createSVGPathSegMovetoAbs";
+ @JSName('createSVGPathSegMovetoAbs')
+ PathSegMovetoAbs createSvgPathSegMovetoAbs(num x, num y) native;
/// @domName SVGPathElement.createSVGPathSegMovetoRel; @docsEditable true
- PathSegMovetoRel createSvgPathSegMovetoRel(num x, num y) native "createSVGPathSegMovetoRel";
+ @JSName('createSVGPathSegMovetoRel')
+ PathSegMovetoRel createSvgPathSegMovetoRel(num x, num y) native;
/// @domName SVGPathElement.getPathSegAtLength; @docsEditable true
int getPathSegAtLength(num distance) native;
@@ -3670,16 +3741,19 @@ class PathElement extends SvgElement implements Transformable, Tests, Stylable,
Rect getBBox() native;
/// @domName SVGLocatable.getCTM; @docsEditable true
- Matrix getCtm() native "getCTM";
+ @JSName('getCTM')
+ Matrix getCtm() native;
/// @domName SVGLocatable.getScreenCTM; @docsEditable true
- Matrix getScreenCtm() native "getScreenCTM";
+ @JSName('getScreenCTM')
+ Matrix getScreenCtm() native;
/// @domName SVGLocatable.getTransformToElement; @docsEditable true
Matrix getTransformToElement(SvgElement element) native;
// From SVGStylable
+ // Shadowing definition.
/// @domName SVGStylable.className; @docsEditable true
AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", this);
@@ -4259,6 +4333,7 @@ class PatternElement extends SvgElement implements FitToViewBox, Tests, UriRefer
// From SVGStylable
+ // Shadowing definition.
/// @domName SVGStylable.className; @docsEditable true
AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", this);
@@ -4381,16 +4456,19 @@ class PolygonElement extends SvgElement implements Transformable, Tests, Stylabl
Rect getBBox() native;
/// @domName SVGLocatable.getCTM; @docsEditable true
- Matrix getCtm() native "getCTM";
+ @JSName('getCTM')
+ Matrix getCtm() native;
/// @domName SVGLocatable.getScreenCTM; @docsEditable true
- Matrix getScreenCtm() native "getScreenCTM";
+ @JSName('getScreenCTM')
+ Matrix getScreenCtm() native;
/// @domName SVGLocatable.getTransformToElement; @docsEditable true
Matrix getTransformToElement(SvgElement element) native;
// From SVGStylable
+ // Shadowing definition.
/// @domName SVGStylable.className; @docsEditable true
AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", this);
@@ -4460,16 +4538,19 @@ class PolylineElement extends SvgElement implements Transformable, Tests, Stylab
Rect getBBox() native;
/// @domName SVGLocatable.getCTM; @docsEditable true
- Matrix getCtm() native "getCTM";
+ @JSName('getCTM')
+ Matrix getCtm() native;
/// @domName SVGLocatable.getScreenCTM; @docsEditable true
- Matrix getScreenCtm() native "getScreenCTM";
+ @JSName('getScreenCTM')
+ Matrix getScreenCtm() native;
/// @domName SVGLocatable.getTransformToElement; @docsEditable true
Matrix getTransformToElement(SvgElement element) native;
// From SVGStylable
+ // Shadowing definition.
/// @domName SVGStylable.className; @docsEditable true
AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", this);
@@ -4641,16 +4722,19 @@ class RectElement extends SvgElement implements Transformable, Tests, Stylable,
Rect getBBox() native;
/// @domName SVGLocatable.getCTM; @docsEditable true
- Matrix getCtm() native "getCTM";
+ @JSName('getCTM')
+ Matrix getCtm() native;
/// @domName SVGLocatable.getScreenCTM; @docsEditable true
- Matrix getScreenCtm() native "getScreenCTM";
+ @JSName('getScreenCTM')
+ Matrix getScreenCtm() native;
/// @domName SVGLocatable.getTransformToElement; @docsEditable true
Matrix getTransformToElement(SvgElement element) native;
// From SVGStylable
+ // Shadowing definition.
/// @domName SVGStylable.className; @docsEditable true
AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", this);
@@ -4747,6 +4831,7 @@ class StopElement extends SvgElement implements Stylable native "*SVGStopElement
// From SVGStylable
+ // Shadowing definition.
/// @domName SVGStylable.className; @docsEditable true
AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", this);
@@ -4881,7 +4966,7 @@ class StringList implements JavaScriptIndexingBehavior, List<String> native "*SV
/// @domName SVGStylable
abstract class Stylable {
- AnimatedString className;
+ AnimatedString $dom_svgClassName;
CSSStyleDeclaration style;
@@ -4936,7 +5021,8 @@ class SvgDocument extends Document native "*SVGDocument" {
final SvgSvgElement rootElement;
/// @domName SVGDocument.createEvent; @docsEditable true
- Event $dom_createEvent(String eventType) native "createEvent";
+ @JSName('createEvent')
+ Event $dom_createEvent(String eventType) native;
}
// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -5034,7 +5120,8 @@ class SvgElement extends Element native "*SVGElement" {
}
/// @domName SVGElement.ownerSVGElement; @docsEditable true
- SvgSvgElement get ownerSvgElement => JS("SvgSvgElement", "#.ownerSVGElement", this);
+ @JSName('ownerSVGElement')
+ final SvgSvgElement ownerSvgElement;
/// @domName SVGElement.viewportElement; @docsEditable true
final SvgElement viewportElement;
@@ -5134,28 +5221,36 @@ class SvgSvgElement extends SvgElement implements FitToViewBox, Tests, Stylable,
bool checkIntersection(SvgElement element, Rect rect) native;
/// @domName SVGSVGElement.createSVGAngle; @docsEditable true
- Angle createSvgAngle() native "createSVGAngle";
+ @JSName('createSVGAngle')
+ Angle createSvgAngle() native;
/// @domName SVGSVGElement.createSVGLength; @docsEditable true
- Length createSvgLength() native "createSVGLength";
+ @JSName('createSVGLength')
+ Length createSvgLength() native;
/// @domName SVGSVGElement.createSVGMatrix; @docsEditable true
- Matrix createSvgMatrix() native "createSVGMatrix";
+ @JSName('createSVGMatrix')
+ Matrix createSvgMatrix() native;
/// @domName SVGSVGElement.createSVGNumber; @docsEditable true
- Number createSvgNumber() native "createSVGNumber";
+ @JSName('createSVGNumber')
+ Number createSvgNumber() native;
/// @domName SVGSVGElement.createSVGPoint; @docsEditable true
- Point createSvgPoint() native "createSVGPoint";
+ @JSName('createSVGPoint')
+ Point createSvgPoint() native;
/// @domName SVGSVGElement.createSVGRect; @docsEditable true
- Rect createSvgRect() native "createSVGRect";
+ @JSName('createSVGRect')
+ Rect createSvgRect() native;
/// @domName SVGSVGElement.createSVGTransform; @docsEditable true
- Transform createSvgTransform() native "createSVGTransform";
+ @JSName('createSVGTransform')
+ Transform createSvgTransform() native;
/// @domName SVGSVGElement.createSVGTransformFromMatrix; @docsEditable true
- Transform createSvgTransformFromMatrix(Matrix matrix) native "createSVGTransformFromMatrix";
+ @JSName('createSVGTransformFromMatrix')
+ Transform createSvgTransformFromMatrix(Matrix matrix) native;
/// @domName SVGSVGElement.deselectAll; @docsEditable true
void deselectAll() native;
@@ -5170,11 +5265,11 @@ class SvgSvgElement extends SvgElement implements FitToViewBox, Tests, Stylable,
Element getElementById(String elementId) native;
/// @domName SVGSVGElement.getEnclosureList; @docsEditable true
- @Returns('_NodeList') @Creates('_NodeList')
+ @Returns('NodeList') @Creates('NodeList')
List<Node> getEnclosureList(Rect rect, SvgElement referenceElement) native;
/// @domName SVGSVGElement.getIntersectionList; @docsEditable true
- @Returns('_NodeList') @Creates('_NodeList')
+ @Returns('NodeList') @Creates('NodeList')
List<Node> getIntersectionList(Rect rect, SvgElement referenceElement) native;
/// @domName SVGSVGElement.pauseAnimations; @docsEditable true
@@ -5228,16 +5323,19 @@ class SvgSvgElement extends SvgElement implements FitToViewBox, Tests, Stylable,
Rect getBBox() native;
/// @domName SVGLocatable.getCTM; @docsEditable true
- Matrix getCtm() native "getCTM";
+ @JSName('getCTM')
+ Matrix getCtm() native;
/// @domName SVGLocatable.getScreenCTM; @docsEditable true
- Matrix getScreenCtm() native "getScreenCTM";
+ @JSName('getScreenCTM')
+ Matrix getScreenCtm() native;
/// @domName SVGLocatable.getTransformToElement; @docsEditable true
Matrix getTransformToElement(SvgElement element) native;
// From SVGStylable
+ // Shadowing definition.
/// @domName SVGStylable.className; @docsEditable true
AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", this);
@@ -5302,16 +5400,19 @@ class SwitchElement extends SvgElement implements Transformable, Tests, Stylable
Rect getBBox() native;
/// @domName SVGLocatable.getCTM; @docsEditable true
- Matrix getCtm() native "getCTM";
+ @JSName('getCTM')
+ Matrix getCtm() native;
/// @domName SVGLocatable.getScreenCTM; @docsEditable true
- Matrix getScreenCtm() native "getScreenCTM";
+ @JSName('getScreenCTM')
+ Matrix getScreenCtm() native;
/// @domName SVGLocatable.getTransformToElement; @docsEditable true
Matrix getTransformToElement(SvgElement element) native;
// From SVGStylable
+ // Shadowing definition.
/// @domName SVGStylable.className; @docsEditable true
AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", this);
@@ -5373,6 +5474,7 @@ class SymbolElement extends SvgElement implements FitToViewBox, ExternalResource
// From SVGStylable
+ // Shadowing definition.
/// @domName SVGStylable.className; @docsEditable true
AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", this);
@@ -5486,6 +5588,7 @@ class TextContentElement extends SvgElement implements Tests, Stylable, External
// From SVGStylable
+ // Shadowing definition.
/// @domName SVGStylable.className; @docsEditable true
AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", this);
@@ -5531,10 +5634,12 @@ class TextElement extends TextPositioningElement implements Transformable native
Rect getBBox() native;
/// @domName SVGLocatable.getCTM; @docsEditable true
- Matrix getCtm() native "getCTM";
+ @JSName('getCTM')
+ Matrix getCtm() native;
/// @domName SVGLocatable.getScreenCTM; @docsEditable true
- Matrix getScreenCtm() native "getScreenCTM";
+ @JSName('getScreenCTM')
+ Matrix getScreenCtm() native;
/// @domName SVGLocatable.getTransformToElement; @docsEditable true
Matrix getTransformToElement(SvgElement element) native;
@@ -5621,6 +5726,7 @@ class TitleElement extends SvgElement implements Stylable, LangSpace native "*SV
// From SVGStylable
+ // Shadowing definition.
/// @domName SVGStylable.className; @docsEditable true
AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", this);
@@ -5785,7 +5891,8 @@ class TransformList implements List<Transform>, JavaScriptIndexingBehavior nativ
Transform consolidate() native;
/// @domName SVGTransformList.createSVGTransformFromMatrix; @docsEditable true
- Transform createSvgTransformFromMatrix(Matrix matrix) native "createSVGTransformFromMatrix";
+ @JSName('createSVGTransformFromMatrix')
+ Transform createSvgTransformFromMatrix(Matrix matrix) native;
/// @domName SVGTransformList.getItem; @docsEditable true
Transform getItem(int index) native;
@@ -5907,16 +6014,19 @@ class UseElement extends SvgElement implements Transformable, Tests, UriReferenc
Rect getBBox() native;
/// @domName SVGLocatable.getCTM; @docsEditable true
- Matrix getCtm() native "getCTM";
+ @JSName('getCTM')
+ Matrix getCtm() native;
/// @domName SVGLocatable.getScreenCTM; @docsEditable true
- Matrix getScreenCtm() native "getScreenCTM";
+ @JSName('getScreenCTM')
+ Matrix getScreenCtm() native;
/// @domName SVGLocatable.getTransformToElement; @docsEditable true
Matrix getTransformToElement(SvgElement element) native;
// From SVGStylable
+ // Shadowing definition.
/// @domName SVGStylable.className; @docsEditable true
AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", this);

Powered by Google App Engine
This is Rietveld 408576698