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

Side by Side Diff: client/dom/generated/src/frog/SVGTextContentElement.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 _SVGTextContentElementJs extends _SVGElementJs implements SVGTextContentEl ement native "*SVGTextContentElement" { 2 class _SVGTextContentElementJs extends _SVGElementJs implements SVGTextContentEl ement native "*SVGTextContentElement" {
3 3
4 static final int LENGTHADJUST_SPACING = 1; 4 static final int LENGTHADJUST_SPACING = 1;
5 5
6 static final int LENGTHADJUST_SPACINGANDGLYPHS = 2; 6 static final int LENGTHADJUST_SPACINGANDGLYPHS = 2;
7 7
8 static final int LENGTHADJUST_UNKNOWN = 0; 8 static final int LENGTHADJUST_UNKNOWN = 0;
9 9
10 _SVGAnimatedEnumerationJs get lengthAdjust() native "return this.lengthAdjust; "; 10 final _SVGAnimatedEnumerationJs lengthAdjust;
11 11
12 _SVGAnimatedLengthJs get textLength() native "return this.textLength;"; 12 final _SVGAnimatedLengthJs textLength;
13 13
14 int getCharNumAtPosition(_SVGPointJs point) native; 14 int getCharNumAtPosition(_SVGPointJs point) native;
15 15
16 num getComputedTextLength() native; 16 num getComputedTextLength() native;
17 17
18 _SVGPointJs getEndPositionOfChar(int offset) native; 18 _SVGPointJs getEndPositionOfChar(int offset) native;
19 19
20 _SVGRectJs getExtentOfChar(int offset) native; 20 _SVGRectJs getExtentOfChar(int offset) native;
21 21
22 int getNumberOfChars() native; 22 int getNumberOfChars() native;
23 23
24 num getRotationOfChar(int offset) native; 24 num getRotationOfChar(int offset) native;
25 25
26 _SVGPointJs getStartPositionOfChar(int offset) native; 26 _SVGPointJs getStartPositionOfChar(int offset) native;
27 27
28 num getSubStringLength(int offset, int length) native; 28 num getSubStringLength(int offset, int length) native;
29 29
30 void selectSubString(int offset, int length) native; 30 void selectSubString(int offset, int length) native;
31 31
32 // From SVGTests 32 // From SVGTests
33 33
34 _SVGStringListJs get requiredExtensions() native "return this.requiredExtensio ns;"; 34 final _SVGStringListJs requiredExtensions;
35 35
36 _SVGStringListJs get requiredFeatures() native "return this.requiredFeatures;" ; 36 final _SVGStringListJs requiredFeatures;
37 37
38 _SVGStringListJs get systemLanguage() native "return this.systemLanguage;"; 38 final _SVGStringListJs systemLanguage;
39 39
40 bool hasExtension(String extension) native; 40 bool hasExtension(String extension) native;
41 41
42 // From SVGLangSpace 42 // From SVGLangSpace
43 43
44 String get xmllang() native "return this.xmllang;"; 44 String xmllang;
45 45
46 void set xmllang(String value) native "this.xmllang = value;"; 46 String xmlspace;
47
48 String get xmlspace() native "return this.xmlspace;";
49
50 void set xmlspace(String value) native "this.xmlspace = value;";
51 47
52 // From SVGExternalResourcesRequired 48 // From SVGExternalResourcesRequired
53 49
54 _SVGAnimatedBooleanJs get externalResourcesRequired() native "return this.exte rnalResourcesRequired;"; 50 final _SVGAnimatedBooleanJs externalResourcesRequired;
55 51
56 // From SVGStylable 52 // From SVGStylable
57 53
58 _SVGAnimatedStringJs get className() native "return this.className;"; 54 final _SVGAnimatedStringJs className;
59 55
60 _CSSStyleDeclarationJs get style() native "return this.style;"; 56 final _CSSStyleDeclarationJs style;
61 57
62 _CSSValueJs getPresentationAttribute(String name) native; 58 _CSSValueJs getPresentationAttribute(String name) native;
63 } 59 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698