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/FileWriter.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/FileWriter.dart
diff --git a/client/dom/generated/src/frog/FileWriter.dart b/client/dom/generated/src/frog/FileWriter.dart
index f1af0d308ed78a1bce9659d7acd9b836f7c0e4d0..63fff1922459abb5c517b934aef6e676fa52fedf 100644
--- a/client/dom/generated/src/frog/FileWriter.dart
+++ b/client/dom/generated/src/frog/FileWriter.dart
@@ -7,37 +7,25 @@ class _FileWriterJs extends _DOMTypeJs implements FileWriter native "*FileWriter
static final int WRITING = 1;
- _FileErrorJs get error() native "return this.error;";
+ final _FileErrorJs error;
- int get length() native "return this.length;";
+ final int length;
- 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 onprogress;
- void set onerror(EventListener value) native "this.onerror = value;";
+ EventListener onwrite;
- EventListener get onprogress() native "return this.onprogress;";
+ EventListener onwriteend;
- void set onprogress(EventListener value) native "this.onprogress = value;";
+ EventListener onwritestart;
- EventListener get onwrite() native "return this.onwrite;";
+ final int position;
- void set onwrite(EventListener value) native "this.onwrite = value;";
-
- EventListener get onwriteend() native "return this.onwriteend;";
-
- void set onwriteend(EventListener value) native "this.onwriteend = value;";
-
- EventListener get onwritestart() native "return this.onwritestart;";
-
- void set onwritestart(EventListener value) native "this.onwritestart = value;";
-
- int get position() native "return this.position;";
-
- int get readyState() native "return this.readyState;";
+ final int readyState;
void abort() native;

Powered by Google App Engine
This is Rietveld 408576698