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

Unified Diff: client/dom/generated/src/frog/Screen.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/Screen.dart
diff --git a/client/dom/generated/src/frog/Screen.dart b/client/dom/generated/src/frog/Screen.dart
index ef7a73a425791768577093ec35f8330970f16bf5..cbbd2f201d7f060b93d948e71dc837b328e3badc 100644
--- a/client/dom/generated/src/frog/Screen.dart
+++ b/client/dom/generated/src/frog/Screen.dart
@@ -1,19 +1,19 @@
class _ScreenJs extends _DOMTypeJs implements Screen native "*Screen" {
- int get availHeight() native "return this.availHeight;";
+ final int availHeight;
- int get availLeft() native "return this.availLeft;";
+ final int availLeft;
- int get availTop() native "return this.availTop;";
+ final int availTop;
- int get availWidth() native "return this.availWidth;";
+ final int availWidth;
- int get colorDepth() native "return this.colorDepth;";
+ final int colorDepth;
- int get height() native "return this.height;";
+ final int height;
- int get pixelDepth() native "return this.pixelDepth;";
+ final int pixelDepth;
- int get width() native "return this.width;";
+ final int width;
}

Powered by Google App Engine
This is Rietveld 408576698