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

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

Powered by Google App Engine
This is Rietveld 408576698