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

Unified Diff: client/dom/generated/src/frog/FileReader.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/FileReader.dart
diff --git a/client/dom/generated/src/frog/FileReader.dart b/client/dom/generated/src/frog/FileReader.dart
index c5b85c6d69651813e6f3a99affd8c2f006be3f90..d6df4509b7aa7ffb176ed3d48e3b33655b28ed86 100644
--- a/client/dom/generated/src/frog/FileReader.dart
+++ b/client/dom/generated/src/frog/FileReader.dart
@@ -9,35 +9,23 @@ class _FileReaderJs extends _DOMTypeJs implements FileReader native "*FileReader
static final int LOADING = 1;
- _FileErrorJs get error() native "return this.error;";
+ final _FileErrorJs error;
- EventListener get onabort() native "return this.onabort;";
+ EventListener onabort;
- void set onabort(EventListener value) native "this.onabort = value;";
+ EventListener onerror;
- EventListener get onerror() native "return this.onerror;";
+ EventListener onload;
- void set onerror(EventListener value) native "this.onerror = value;";
+ EventListener onloadend;
- EventListener get onload() native "return this.onload;";
+ EventListener onloadstart;
- void set onload(EventListener value) native "this.onload = value;";
+ EventListener onprogress;
- EventListener get onloadend() native "return this.onloadend;";
+ final int readyState;
- void set onloadend(EventListener value) native "this.onloadend = value;";
-
- EventListener get onloadstart() native "return this.onloadstart;";
-
- void set onloadstart(EventListener value) native "this.onloadstart = value;";
-
- EventListener get onprogress() native "return this.onprogress;";
-
- void set onprogress(EventListener value) native "this.onprogress = value;";
-
- int get readyState() native "return this.readyState;";
-
- Object get result() native "return this.result;";
+ final Object result;
void abort() native;

Powered by Google App Engine
This is Rietveld 408576698