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

Unified Diff: client/dom/generated/src/frog/XMLHttpRequest.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/XMLHttpRequest.dart
diff --git a/client/dom/generated/src/frog/XMLHttpRequest.dart b/client/dom/generated/src/frog/XMLHttpRequest.dart
index 504cd85f213b13fba50d9e39356e8fa56e95f646..be91f2fbe22e76c6be95c23d78b3b149039e4c9f 100644
--- a/client/dom/generated/src/frog/XMLHttpRequest.dart
+++ b/client/dom/generated/src/frog/XMLHttpRequest.dart
@@ -13,33 +13,27 @@ class _XMLHttpRequestJs extends _DOMTypeJs implements XMLHttpRequest native "*XM
static final int UNSENT = 0;
- bool get asBlob() native "return this.asBlob;";
+ bool asBlob;
- void set asBlob(bool value) native "this.asBlob = value;";
+ final int readyState;
- int get readyState() native "return this.readyState;";
+ final Object response;
- Object get response() native "return this.response;";
+ final _BlobJs responseBlob;
- _BlobJs get responseBlob() native "return this.responseBlob;";
+ final String responseText;
- String get responseText() native "return this.responseText;";
+ String responseType;
- String get responseType() native "return this.responseType;";
+ final _DocumentJs responseXML;
- void set responseType(String value) native "this.responseType = value;";
+ final int status;
- _DocumentJs get responseXML() native "return this.responseXML;";
+ final String statusText;
- int get status() native "return this.status;";
+ final _XMLHttpRequestUploadJs upload;
- String get statusText() native "return this.statusText;";
-
- _XMLHttpRequestUploadJs get upload() native "return this.upload;";
-
- bool get withCredentials() native "return this.withCredentials;";
-
- void set withCredentials(bool value) native "this.withCredentials = value;";
+ bool withCredentials;
void abort() native;

Powered by Google App Engine
This is Rietveld 408576698