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

Side by Side Diff: client/dom/generated/src/frog/SVGMarkerElement.dart

Issue 9312003: Use fields in hidden native DOM classes instead of getters/setters. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Also fix native Created 8 years, 10 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 1
2 class _SVGMarkerElementJs extends _SVGElementJs implements SVGMarkerElement nati ve "*SVGMarkerElement" { 2 class _SVGMarkerElementJs extends _SVGElementJs implements SVGMarkerElement nati ve "*SVGMarkerElement" {
3 3
4 static final int SVG_MARKERUNITS_STROKEWIDTH = 2; 4 static final int SVG_MARKERUNITS_STROKEWIDTH = 2;
5 5
6 static final int SVG_MARKERUNITS_UNKNOWN = 0; 6 static final int SVG_MARKERUNITS_UNKNOWN = 0;
7 7
8 static final int SVG_MARKERUNITS_USERSPACEONUSE = 1; 8 static final int SVG_MARKERUNITS_USERSPACEONUSE = 1;
9 9
10 static final int SVG_MARKER_ORIENT_ANGLE = 2; 10 static final int SVG_MARKER_ORIENT_ANGLE = 2;
11 11
12 static final int SVG_MARKER_ORIENT_AUTO = 1; 12 static final int SVG_MARKER_ORIENT_AUTO = 1;
13 13
14 static final int SVG_MARKER_ORIENT_UNKNOWN = 0; 14 static final int SVG_MARKER_ORIENT_UNKNOWN = 0;
15 15
16 _SVGAnimatedLengthJs get markerHeight() native "return this.markerHeight;"; 16 final _SVGAnimatedLengthJs markerHeight;
17 17
18 _SVGAnimatedEnumerationJs get markerUnits() native "return this.markerUnits;"; 18 final _SVGAnimatedEnumerationJs markerUnits;
19 19
20 _SVGAnimatedLengthJs get markerWidth() native "return this.markerWidth;"; 20 final _SVGAnimatedLengthJs markerWidth;
21 21
22 _SVGAnimatedAngleJs get orientAngle() native "return this.orientAngle;"; 22 final _SVGAnimatedAngleJs orientAngle;
23 23
24 _SVGAnimatedEnumerationJs get orientType() native "return this.orientType;"; 24 final _SVGAnimatedEnumerationJs orientType;
25 25
26 _SVGAnimatedLengthJs get refX() native "return this.refX;"; 26 final _SVGAnimatedLengthJs refX;
27 27
28 _SVGAnimatedLengthJs get refY() native "return this.refY;"; 28 final _SVGAnimatedLengthJs refY;
29 29
30 void setOrientToAngle(_SVGAngleJs angle) native; 30 void setOrientToAngle(_SVGAngleJs angle) native;
31 31
32 void setOrientToAuto() native; 32 void setOrientToAuto() native;
33 33
34 // From SVGLangSpace 34 // From SVGLangSpace
35 35
36 String get xmllang() native "return this.xmllang;"; 36 String xmllang;
37 37
38 void set xmllang(String value) native "this.xmllang = value;"; 38 String xmlspace;
39
40 String get xmlspace() native "return this.xmlspace;";
41
42 void set xmlspace(String value) native "this.xmlspace = value;";
43 39
44 // From SVGExternalResourcesRequired 40 // From SVGExternalResourcesRequired
45 41
46 _SVGAnimatedBooleanJs get externalResourcesRequired() native "return this.exte rnalResourcesRequired;"; 42 final _SVGAnimatedBooleanJs externalResourcesRequired;
47 43
48 // From SVGStylable 44 // From SVGStylable
49 45
50 _SVGAnimatedStringJs get className() native "return this.className;"; 46 final _SVGAnimatedStringJs className;
51 47
52 _CSSStyleDeclarationJs get style() native "return this.style;"; 48 final _CSSStyleDeclarationJs style;
53 49
54 _CSSValueJs getPresentationAttribute(String name) native; 50 _CSSValueJs getPresentationAttribute(String name) native;
55 51
56 // From SVGFitToViewBox 52 // From SVGFitToViewBox
57 53
58 _SVGAnimatedPreserveAspectRatioJs get preserveAspectRatio() native "return thi s.preserveAspectRatio;"; 54 final _SVGAnimatedPreserveAspectRatioJs preserveAspectRatio;
59 55
60 _SVGAnimatedRectJs get viewBox() native "return this.viewBox;"; 56 final _SVGAnimatedRectJs viewBox;
61 } 57 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698