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

Unified Diff: client/dom/generated/src/frog/Node.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/Node.dart
diff --git a/client/dom/generated/src/frog/Node.dart b/client/dom/generated/src/frog/Node.dart
index 797ff27ed2ae560e4b35893b7516cb04a79d63af..91d7a6a59624dd3bc17943691f1b80404af00baa 100644
--- a/client/dom/generated/src/frog/Node.dart
+++ b/client/dom/generated/src/frog/Node.dart
@@ -37,45 +37,39 @@ class _NodeJs extends _DOMTypeJs implements Node native "*Node" {
static final int TEXT_NODE = 3;
- _NamedNodeMapJs get attributes() native "return this.attributes;";
+ final _NamedNodeMapJs attributes;
- String get baseURI() native "return this.baseURI;";
+ final String baseURI;
- _NodeListJs get childNodes() native "return this.childNodes;";
+ final _NodeListJs childNodes;
- _NodeJs get firstChild() native "return this.firstChild;";
+ final _NodeJs firstChild;
- _NodeJs get lastChild() native "return this.lastChild;";
+ final _NodeJs lastChild;
- String get localName() native "return this.localName;";
+ final String localName;
- String get namespaceURI() native "return this.namespaceURI;";
+ final String namespaceURI;
- _NodeJs get nextSibling() native "return this.nextSibling;";
+ final _NodeJs nextSibling;
- String get nodeName() native "return this.nodeName;";
+ final String nodeName;
- int get nodeType() native "return this.nodeType;";
+ final int nodeType;
- String get nodeValue() native "return this.nodeValue;";
+ String nodeValue;
- void set nodeValue(String value) native "this.nodeValue = value;";
+ final _DocumentJs ownerDocument;
- _DocumentJs get ownerDocument() native "return this.ownerDocument;";
+ final _ElementJs parentElement;
- _ElementJs get parentElement() native "return this.parentElement;";
+ final _NodeJs parentNode;
- _NodeJs get parentNode() native "return this.parentNode;";
+ String prefix;
- String get prefix() native "return this.prefix;";
+ final _NodeJs previousSibling;
- void set prefix(String value) native "this.prefix = value;";
-
- _NodeJs get previousSibling() native "return this.previousSibling;";
-
- String get textContent() native "return this.textContent;";
-
- void set textContent(String value) native "this.textContent = value;";
+ String textContent;
void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;

Powered by Google App Engine
This is Rietveld 408576698