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

Side by Side Diff: client/dom/generated/src/frog/SVGPathElement.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 _SVGPathElementJs extends _SVGElementJs implements SVGPathElement native " *SVGPathElement" { 2 class _SVGPathElementJs extends _SVGElementJs implements SVGPathElement native " *SVGPathElement" {
3 3
4 _SVGPathSegListJs get animatedNormalizedPathSegList() native "return this.anim atedNormalizedPathSegList;"; 4 final _SVGPathSegListJs animatedNormalizedPathSegList;
5 5
6 _SVGPathSegListJs get animatedPathSegList() native "return this.animatedPathSe gList;"; 6 final _SVGPathSegListJs animatedPathSegList;
7 7
8 _SVGPathSegListJs get normalizedPathSegList() native "return this.normalizedPa thSegList;"; 8 final _SVGPathSegListJs normalizedPathSegList;
9 9
10 _SVGAnimatedNumberJs get pathLength() native "return this.pathLength;"; 10 final _SVGAnimatedNumberJs pathLength;
11 11
12 _SVGPathSegListJs get pathSegList() native "return this.pathSegList;"; 12 final _SVGPathSegListJs pathSegList;
13 13
14 _SVGPathSegArcAbsJs createSVGPathSegArcAbs(num x, num y, num r1, num r2, num a ngle, bool largeArcFlag, bool sweepFlag) native; 14 _SVGPathSegArcAbsJs createSVGPathSegArcAbs(num x, num y, num r1, num r2, num a ngle, bool largeArcFlag, bool sweepFlag) native;
15 15
16 _SVGPathSegArcRelJs createSVGPathSegArcRel(num x, num y, num r1, num r2, num a ngle, bool largeArcFlag, bool sweepFlag) native; 16 _SVGPathSegArcRelJs createSVGPathSegArcRel(num x, num y, num r1, num r2, num a ngle, bool largeArcFlag, bool sweepFlag) native;
17 17
18 _SVGPathSegClosePathJs createSVGPathSegClosePath() native; 18 _SVGPathSegClosePathJs createSVGPathSegClosePath() native;
19 19
20 _SVGPathSegCurvetoCubicAbsJs createSVGPathSegCurvetoCubicAbs(num x, num y, num x1, num y1, num x2, num y2) native; 20 _SVGPathSegCurvetoCubicAbsJs createSVGPathSegCurvetoCubicAbs(num x, num y, num x1, num y1, num x2, num y2) native;
21 21
22 _SVGPathSegCurvetoCubicRelJs createSVGPathSegCurvetoCubicRel(num x, num y, num x1, num y1, num x2, num y2) native; 22 _SVGPathSegCurvetoCubicRelJs createSVGPathSegCurvetoCubicRel(num x, num y, num x1, num y1, num x2, num y2) native;
(...skipping 27 matching lines...) Expand all
50 _SVGPathSegMovetoRelJs createSVGPathSegMovetoRel(num x, num y) native; 50 _SVGPathSegMovetoRelJs createSVGPathSegMovetoRel(num x, num y) native;
51 51
52 int getPathSegAtLength(num distance) native; 52 int getPathSegAtLength(num distance) native;
53 53
54 _SVGPointJs getPointAtLength(num distance) native; 54 _SVGPointJs getPointAtLength(num distance) native;
55 55
56 num getTotalLength() native; 56 num getTotalLength() native;
57 57
58 // From SVGTests 58 // From SVGTests
59 59
60 _SVGStringListJs get requiredExtensions() native "return this.requiredExtensio ns;"; 60 final _SVGStringListJs requiredExtensions;
61 61
62 _SVGStringListJs get requiredFeatures() native "return this.requiredFeatures;" ; 62 final _SVGStringListJs requiredFeatures;
63 63
64 _SVGStringListJs get systemLanguage() native "return this.systemLanguage;"; 64 final _SVGStringListJs systemLanguage;
65 65
66 bool hasExtension(String extension) native; 66 bool hasExtension(String extension) native;
67 67
68 // From SVGLangSpace 68 // From SVGLangSpace
69 69
70 String get xmllang() native "return this.xmllang;"; 70 String xmllang;
71 71
72 void set xmllang(String value) native "this.xmllang = value;"; 72 String xmlspace;
73
74 String get xmlspace() native "return this.xmlspace;";
75
76 void set xmlspace(String value) native "this.xmlspace = value;";
77 73
78 // From SVGExternalResourcesRequired 74 // From SVGExternalResourcesRequired
79 75
80 _SVGAnimatedBooleanJs get externalResourcesRequired() native "return this.exte rnalResourcesRequired;"; 76 final _SVGAnimatedBooleanJs externalResourcesRequired;
81 77
82 // From SVGStylable 78 // From SVGStylable
83 79
84 _SVGAnimatedStringJs get className() native "return this.className;"; 80 final _SVGAnimatedStringJs className;
85 81
86 _CSSStyleDeclarationJs get style() native "return this.style;"; 82 final _CSSStyleDeclarationJs style;
87 83
88 _CSSValueJs getPresentationAttribute(String name) native; 84 _CSSValueJs getPresentationAttribute(String name) native;
89 85
90 // From SVGTransformable 86 // From SVGTransformable
91 87
92 _SVGAnimatedTransformListJs get transform() native "return this.transform;"; 88 final _SVGAnimatedTransformListJs transform;
93 89
94 // From SVGLocatable 90 // From SVGLocatable
95 91
96 _SVGElementJs get farthestViewportElement() native "return this.farthestViewpo rtElement;"; 92 final _SVGElementJs farthestViewportElement;
97 93
98 _SVGElementJs get nearestViewportElement() native "return this.nearestViewport Element;"; 94 final _SVGElementJs nearestViewportElement;
99 95
100 _SVGRectJs getBBox() native; 96 _SVGRectJs getBBox() native;
101 97
102 _SVGMatrixJs getCTM() native; 98 _SVGMatrixJs getCTM() native;
103 99
104 _SVGMatrixJs getScreenCTM() native; 100 _SVGMatrixJs getScreenCTM() native;
105 101
106 _SVGMatrixJs getTransformToElement(_SVGElementJs element) native; 102 _SVGMatrixJs getTransformToElement(_SVGElementJs element) native;
107 } 103 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698