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

Unified Diff: client/dom/generated/src/frog/Element.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/Element.dart
diff --git a/client/dom/generated/src/frog/Element.dart b/client/dom/generated/src/frog/Element.dart
index 70dc4b9f1c7845ae85fdc84c57d32570f130e142..7f9fb3d9fe7cfdfa30b3456ccead105d49e170eb 100644
--- a/client/dom/generated/src/frog/Element.dart
+++ b/client/dom/generated/src/frog/Element.dart
@@ -3,49 +3,45 @@ class _ElementJs extends _NodeJs implements Element native "*Element" {
static final int ALLOW_KEYBOARD_INPUT = 1;
- int get childElementCount() native "return this.childElementCount;";
+ final int childElementCount;
- int get clientHeight() native "return this.clientHeight;";
+ final int clientHeight;
- int get clientLeft() native "return this.clientLeft;";
+ final int clientLeft;
- int get clientTop() native "return this.clientTop;";
+ final int clientTop;
- int get clientWidth() native "return this.clientWidth;";
+ final int clientWidth;
- _ElementJs get firstElementChild() native "return this.firstElementChild;";
+ final _ElementJs firstElementChild;
- _ElementJs get lastElementChild() native "return this.lastElementChild;";
+ final _ElementJs lastElementChild;
- _ElementJs get nextElementSibling() native "return this.nextElementSibling;";
+ final _ElementJs nextElementSibling;
- int get offsetHeight() native "return this.offsetHeight;";
+ final int offsetHeight;
- int get offsetLeft() native "return this.offsetLeft;";
+ final int offsetLeft;
- _ElementJs get offsetParent() native "return this.offsetParent;";
+ final _ElementJs offsetParent;
- int get offsetTop() native "return this.offsetTop;";
+ final int offsetTop;
- int get offsetWidth() native "return this.offsetWidth;";
+ final int offsetWidth;
- _ElementJs get previousElementSibling() native "return this.previousElementSibling;";
+ final _ElementJs previousElementSibling;
- int get scrollHeight() native "return this.scrollHeight;";
+ final int scrollHeight;
- int get scrollLeft() native "return this.scrollLeft;";
+ int scrollLeft;
- void set scrollLeft(int value) native "this.scrollLeft = value;";
+ int scrollTop;
- int get scrollTop() native "return this.scrollTop;";
+ final int scrollWidth;
- void set scrollTop(int value) native "this.scrollTop = value;";
+ final _CSSStyleDeclarationJs style;
- int get scrollWidth() native "return this.scrollWidth;";
-
- _CSSStyleDeclarationJs get style() native "return this.style;";
-
- String get tagName() native "return this.tagName;";
+ final String tagName;
void blur() native;

Powered by Google App Engine
This is Rietveld 408576698