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

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

Powered by Google App Engine
This is Rietveld 408576698