| OLD | NEW |
| 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 // WARNING: Do not edit - generated code. | 5 // WARNING: Do not edit - generated code. |
| 6 | 6 |
| 7 class _XMLHttpRequestWrappingImplementation extends DOMWrapperBase implements XM
LHttpRequest { | 7 class _XMLHttpRequestWrappingImplementation extends DOMWrapperBase implements XM
LHttpRequest { |
| 8 _XMLHttpRequestWrappingImplementation() : super() {} | 8 _XMLHttpRequestWrappingImplementation() : super() {} |
| 9 | 9 |
| 10 static create__XMLHttpRequestWrappingImplementation() native { | 10 static create__XMLHttpRequestWrappingImplementation() native { |
| 11 return new _XMLHttpRequestWrappingImplementation(); | 11 return new _XMLHttpRequestWrappingImplementation(); |
| 12 } | 12 } |
| 13 | 13 |
| 14 bool get asBlob() { return _get_asBlob(this); } | 14 bool get asBlob() { return _get_asBlob(this); } |
| 15 static bool _get_asBlob(var _this) native; | 15 static bool _get_asBlob(var _this) native; |
| 16 | 16 |
| 17 void set asBlob(bool value) { _set_asBlob(this, value); } | 17 void set asBlob(bool value) { _set_asBlob(this, value); } |
| 18 static void _set_asBlob(var _this, bool value) native; | 18 static void _set_asBlob(var _this, bool value) native; |
| 19 | 19 |
| 20 EventListener get onabort() { return _get_onabort(this); } | |
| 21 static EventListener _get_onabort(var _this) native; | |
| 22 | |
| 23 void set onabort(EventListener value) { _set_onabort(this, value); } | |
| 24 static void _set_onabort(var _this, EventListener value) native; | |
| 25 | |
| 26 EventListener get onerror() { return _get_onerror(this); } | |
| 27 static EventListener _get_onerror(var _this) native; | |
| 28 | |
| 29 void set onerror(EventListener value) { _set_onerror(this, value); } | |
| 30 static void _set_onerror(var _this, EventListener value) native; | |
| 31 | |
| 32 EventListener get onload() { return _get_onload(this); } | |
| 33 static EventListener _get_onload(var _this) native; | |
| 34 | |
| 35 void set onload(EventListener value) { _set_onload(this, value); } | |
| 36 static void _set_onload(var _this, EventListener value) native; | |
| 37 | |
| 38 EventListener get onloadstart() { return _get_onloadstart(this); } | |
| 39 static EventListener _get_onloadstart(var _this) native; | |
| 40 | |
| 41 void set onloadstart(EventListener value) { _set_onloadstart(this, value); } | |
| 42 static void _set_onloadstart(var _this, EventListener value) native; | |
| 43 | |
| 44 EventListener get onprogress() { return _get_onprogress(this); } | |
| 45 static EventListener _get_onprogress(var _this) native; | |
| 46 | |
| 47 void set onprogress(EventListener value) { _set_onprogress(this, value); } | |
| 48 static void _set_onprogress(var _this, EventListener value) native; | |
| 49 | |
| 50 EventListener get onreadystatechange() { return _get_onreadystatechange(this);
} | |
| 51 static EventListener _get_onreadystatechange(var _this) native; | |
| 52 | |
| 53 void set onreadystatechange(EventListener value) { _set_onreadystatechange(thi
s, value); } | |
| 54 static void _set_onreadystatechange(var _this, EventListener value) native; | |
| 55 | |
| 56 int get readyState() { return _get_readyState(this); } | 20 int get readyState() { return _get_readyState(this); } |
| 57 static int _get_readyState(var _this) native; | 21 static int _get_readyState(var _this) native; |
| 58 | 22 |
| 59 Blob get responseBlob() { return _get_responseBlob(this); } | 23 Blob get responseBlob() { return _get_responseBlob(this); } |
| 60 static Blob _get_responseBlob(var _this) native; | 24 static Blob _get_responseBlob(var _this) native; |
| 61 | 25 |
| 62 String get responseText() { return _get_responseText(this); } | 26 String get responseText() { return _get_responseText(this); } |
| 63 static String _get_responseText(var _this) native; | 27 static String _get_responseText(var _this) native; |
| 64 | 28 |
| 65 String get responseType() { return _get_responseType(this); } | 29 String get responseType() { return _get_responseType(this); } |
| (...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 208 static void _send_6(receiver, data) native; | 172 static void _send_6(receiver, data) native; |
| 209 | 173 |
| 210 void setRequestHeader(String header, String value) { | 174 void setRequestHeader(String header, String value) { |
| 211 _setRequestHeader(this, header, value); | 175 _setRequestHeader(this, header, value); |
| 212 return; | 176 return; |
| 213 } | 177 } |
| 214 static void _setRequestHeader(receiver, header, value) native; | 178 static void _setRequestHeader(receiver, header, value) native; |
| 215 | 179 |
| 216 String get typeName() { return "XMLHttpRequest"; } | 180 String get typeName() { return "XMLHttpRequest"; } |
| 217 } | 181 } |
| OLD | NEW |