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

Unified 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, 11 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 side-by-side diff with in-line comments
Download patch
Index: client/dom/generated/src/frog/SVGTextContentElement.dart
diff --git a/client/dom/generated/src/frog/SVGTextContentElement.dart b/client/dom/generated/src/frog/SVGTextContentElement.dart
index 5008ce1393eba3b67cb3ca1480f40186159038ca..0ee1f6be2d82e8eaf633871ec0a2bd7e68e5dbc3 100644
--- a/client/dom/generated/src/frog/SVGTextContentElement.dart
+++ b/client/dom/generated/src/frog/SVGTextContentElement.dart
@@ -7,9 +7,9 @@ class _SVGTextContentElementJs extends _SVGElementJs implements SVGTextContentEl
static final int LENGTHADJUST_UNKNOWN = 0;
- _SVGAnimatedEnumerationJs get lengthAdjust() native "return this.lengthAdjust;";
+ final _SVGAnimatedEnumerationJs lengthAdjust;
- _SVGAnimatedLengthJs get textLength() native "return this.textLength;";
+ final _SVGAnimatedLengthJs textLength;
int getCharNumAtPosition(_SVGPointJs point) native;
@@ -31,33 +31,29 @@ class _SVGTextContentElementJs extends _SVGElementJs implements SVGTextContentEl
// From SVGTests
- _SVGStringListJs get requiredExtensions() native "return this.requiredExtensions;";
+ final _SVGStringListJs requiredExtensions;
- _SVGStringListJs get requiredFeatures() native "return this.requiredFeatures;";
+ final _SVGStringListJs requiredFeatures;
- _SVGStringListJs get systemLanguage() native "return this.systemLanguage;";
+ final _SVGStringListJs systemLanguage;
bool hasExtension(String extension) native;
// From SVGLangSpace
- String get xmllang() native "return this.xmllang;";
+ String xmllang;
- void set xmllang(String value) native "this.xmllang = value;";
-
- String get xmlspace() native "return this.xmlspace;";
-
- void set xmlspace(String value) native "this.xmlspace = value;";
+ String xmlspace;
// From SVGExternalResourcesRequired
- _SVGAnimatedBooleanJs get externalResourcesRequired() native "return this.externalResourcesRequired;";
+ final _SVGAnimatedBooleanJs externalResourcesRequired;
// From SVGStylable
- _SVGAnimatedStringJs get className() native "return this.className;";
+ final _SVGAnimatedStringJs className;
- _CSSStyleDeclarationJs get style() native "return this.style;";
+ final _CSSStyleDeclarationJs style;
_CSSValueJs getPresentationAttribute(String name) native;
}

Powered by Google App Engine
This is Rietveld 408576698