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

Side by Side Diff: client/dom/generated/src/frog/SVGLineElement.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 _SVGLineElementJs extends _SVGElementJs implements SVGLineElement native " *SVGLineElement" { 2 class _SVGLineElementJs extends _SVGElementJs implements SVGLineElement native " *SVGLineElement" {
3 3
4 _SVGAnimatedLengthJs get x1() native "return this.x1;"; 4 final _SVGAnimatedLengthJs x1;
5 5
6 _SVGAnimatedLengthJs get x2() native "return this.x2;"; 6 final _SVGAnimatedLengthJs x2;
7 7
8 _SVGAnimatedLengthJs get y1() native "return this.y1;"; 8 final _SVGAnimatedLengthJs y1;
9 9
10 _SVGAnimatedLengthJs get y2() native "return this.y2;"; 10 final _SVGAnimatedLengthJs y2;
11 11
12 // From SVGTests 12 // From SVGTests
13 13
14 _SVGStringListJs get requiredExtensions() native "return this.requiredExtensio ns;"; 14 final _SVGStringListJs requiredExtensions;
15 15
16 _SVGStringListJs get requiredFeatures() native "return this.requiredFeatures;" ; 16 final _SVGStringListJs requiredFeatures;
17 17
18 _SVGStringListJs get systemLanguage() native "return this.systemLanguage;"; 18 final _SVGStringListJs systemLanguage;
19 19
20 bool hasExtension(String extension) native; 20 bool hasExtension(String extension) native;
21 21
22 // From SVGLangSpace 22 // From SVGLangSpace
23 23
24 String get xmllang() native "return this.xmllang;"; 24 String xmllang;
25 25
26 void set xmllang(String value) native "this.xmllang = value;"; 26 String xmlspace;
27
28 String get xmlspace() native "return this.xmlspace;";
29
30 void set xmlspace(String value) native "this.xmlspace = value;";
31 27
32 // From SVGExternalResourcesRequired 28 // From SVGExternalResourcesRequired
33 29
34 _SVGAnimatedBooleanJs get externalResourcesRequired() native "return this.exte rnalResourcesRequired;"; 30 final _SVGAnimatedBooleanJs externalResourcesRequired;
35 31
36 // From SVGStylable 32 // From SVGStylable
37 33
38 _SVGAnimatedStringJs get className() native "return this.className;"; 34 final _SVGAnimatedStringJs className;
39 35
40 _CSSStyleDeclarationJs get style() native "return this.style;"; 36 final _CSSStyleDeclarationJs style;
41 37
42 _CSSValueJs getPresentationAttribute(String name) native; 38 _CSSValueJs getPresentationAttribute(String name) native;
43 39
44 // From SVGTransformable 40 // From SVGTransformable
45 41
46 _SVGAnimatedTransformListJs get transform() native "return this.transform;"; 42 final _SVGAnimatedTransformListJs transform;
47 43
48 // From SVGLocatable 44 // From SVGLocatable
49 45
50 _SVGElementJs get farthestViewportElement() native "return this.farthestViewpo rtElement;"; 46 final _SVGElementJs farthestViewportElement;
51 47
52 _SVGElementJs get nearestViewportElement() native "return this.nearestViewport Element;"; 48 final _SVGElementJs nearestViewportElement;
53 49
54 _SVGRectJs getBBox() native; 50 _SVGRectJs getBBox() native;
55 51
56 _SVGMatrixJs getCTM() native; 52 _SVGMatrixJs getCTM() native;
57 53
58 _SVGMatrixJs getScreenCTM() native; 54 _SVGMatrixJs getScreenCTM() native;
59 55
60 _SVGMatrixJs getTransformToElement(_SVGElementJs element) native; 56 _SVGMatrixJs getTransformToElement(_SVGElementJs element) native;
61 } 57 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698