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

Unified Diff: client/dom/generated/src/frog/HTMLElement.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/HTMLElement.dart
diff --git a/client/dom/generated/src/frog/HTMLElement.dart b/client/dom/generated/src/frog/HTMLElement.dart
index 80ea4254324b57f69c87916b771279440a566b55..e6f0f95680f68ed16e1c92755e189d3743825abb 100644
--- a/client/dom/generated/src/frog/HTMLElement.dart
+++ b/client/dom/generated/src/frog/HTMLElement.dart
@@ -1,93 +1,55 @@
class _HTMLElementJs extends _ElementJs implements HTMLElement native "*HTMLElement" {
- String get accessKey() native "return this.accessKey;";
+ String accessKey;
- void set accessKey(String value) native "this.accessKey = value;";
+ final _HTMLCollectionJs children;
- _HTMLCollectionJs get children() native "return this.children;";
+ final _DOMTokenListJs classList;
- _DOMTokenListJs get classList() native "return this.classList;";
+ String className;
- String get className() native "return this.className;";
+ String contentEditable;
- void set className(String value) native "this.className = value;";
+ String dir;
- String get contentEditable() native "return this.contentEditable;";
+ bool draggable;
- void set contentEditable(String value) native "this.contentEditable = value;";
+ bool hidden;
- String get dir() native "return this.dir;";
+ String id;
- void set dir(String value) native "this.dir = value;";
+ String innerHTML;
- bool get draggable() native "return this.draggable;";
+ String innerText;
- void set draggable(bool value) native "this.draggable = value;";
+ final bool isContentEditable;
- bool get hidden() native "return this.hidden;";
+ String itemId;
- void set hidden(bool value) native "this.hidden = value;";
+ final _DOMSettableTokenListJs itemProp;
- String get id() native "return this.id;";
+ final _DOMSettableTokenListJs itemRef;
- void set id(String value) native "this.id = value;";
+ bool itemScope;
- String get innerHTML() native "return this.innerHTML;";
+ final _DOMSettableTokenListJs itemType;
- void set innerHTML(String value) native "this.innerHTML = value;";
+ Object itemValue;
- String get innerText() native "return this.innerText;";
+ String lang;
- void set innerText(String value) native "this.innerText = value;";
+ String outerHTML;
- bool get isContentEditable() native "return this.isContentEditable;";
+ String outerText;
- String get itemId() native "return this.itemId;";
+ bool spellcheck;
- void set itemId(String value) native "this.itemId = value;";
+ int tabIndex;
- _DOMSettableTokenListJs get itemProp() native "return this.itemProp;";
+ String title;
- _DOMSettableTokenListJs get itemRef() native "return this.itemRef;";
-
- bool get itemScope() native "return this.itemScope;";
-
- void set itemScope(bool value) native "this.itemScope = value;";
-
- _DOMSettableTokenListJs get itemType() native "return this.itemType;";
-
- Object get itemValue() native "return this.itemValue;";
-
- void set itemValue(Object value) native "this.itemValue = value;";
-
- String get lang() native "return this.lang;";
-
- void set lang(String value) native "this.lang = value;";
-
- String get outerHTML() native "return this.outerHTML;";
-
- void set outerHTML(String value) native "this.outerHTML = value;";
-
- String get outerText() native "return this.outerText;";
-
- void set outerText(String value) native "this.outerText = value;";
-
- bool get spellcheck() native "return this.spellcheck;";
-
- void set spellcheck(bool value) native "this.spellcheck = value;";
-
- int get tabIndex() native "return this.tabIndex;";
-
- void set tabIndex(int value) native "this.tabIndex = value;";
-
- String get title() native "return this.title;";
-
- void set title(String value) native "this.title = value;";
-
- String get webkitdropzone() native "return this.webkitdropzone;";
-
- void set webkitdropzone(String value) native "this.webkitdropzone = value;";
+ String webkitdropzone;
_ElementJs insertAdjacentElement(String where, _ElementJs element) native;

Powered by Google App Engine
This is Rietveld 408576698