| 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 _XMLHttpRequestUploadWrappingImplementation extends DOMWrapperBase impleme
nts XMLHttpRequestUpload { | 7 class _XMLHttpRequestUploadWrappingImplementation extends DOMWrapperBase impleme
nts XMLHttpRequestUpload { |
| 8 _XMLHttpRequestUploadWrappingImplementation() : super() {} | 8 _XMLHttpRequestUploadWrappingImplementation() : super() {} |
| 9 | 9 |
| 10 static create__XMLHttpRequestUploadWrappingImplementation() native { | 10 static create__XMLHttpRequestUploadWrappingImplementation() native { |
| 11 return new _XMLHttpRequestUploadWrappingImplementation(); | 11 return new _XMLHttpRequestUploadWrappingImplementation(); |
| 12 } | 12 } |
| 13 | 13 |
| 14 EventListener get onabort() { return _get_onabort(this); } | |
| 15 static EventListener _get_onabort(var _this) native; | |
| 16 | |
| 17 void set onabort(EventListener value) { _set_onabort(this, value); } | |
| 18 static void _set_onabort(var _this, EventListener value) native; | |
| 19 | |
| 20 EventListener get onerror() { return _get_onerror(this); } | |
| 21 static EventListener _get_onerror(var _this) native; | |
| 22 | |
| 23 void set onerror(EventListener value) { _set_onerror(this, value); } | |
| 24 static void _set_onerror(var _this, EventListener value) native; | |
| 25 | |
| 26 EventListener get onload() { return _get_onload(this); } | |
| 27 static EventListener _get_onload(var _this) native; | |
| 28 | |
| 29 void set onload(EventListener value) { _set_onload(this, value); } | |
| 30 static void _set_onload(var _this, EventListener value) native; | |
| 31 | |
| 32 EventListener get onloadstart() { return _get_onloadstart(this); } | |
| 33 static EventListener _get_onloadstart(var _this) native; | |
| 34 | |
| 35 void set onloadstart(EventListener value) { _set_onloadstart(this, value); } | |
| 36 static void _set_onloadstart(var _this, EventListener value) native; | |
| 37 | |
| 38 EventListener get onprogress() { return _get_onprogress(this); } | |
| 39 static EventListener _get_onprogress(var _this) native; | |
| 40 | |
| 41 void set onprogress(EventListener value) { _set_onprogress(this, value); } | |
| 42 static void _set_onprogress(var _this, EventListener value) native; | |
| 43 | |
| 44 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) { | 14 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) { |
| 45 if (useCapture === null) { | 15 if (useCapture === null) { |
| 46 _addEventListener_XMLHttpRequestUpload(this, type, listener); | 16 _addEventListener_XMLHttpRequestUpload(this, type, listener); |
| 47 return; | 17 return; |
| 48 } else { | 18 } else { |
| 49 _addEventListener_XMLHttpRequestUpload_2(this, type, listener, useCapture)
; | 19 _addEventListener_XMLHttpRequestUpload_2(this, type, listener, useCapture)
; |
| 50 return; | 20 return; |
| 51 } | 21 } |
| 52 } | 22 } |
| 53 static void _addEventListener_XMLHttpRequestUpload(receiver, type, listener) n
ative; | 23 static void _addEventListener_XMLHttpRequestUpload(receiver, type, listener) n
ative; |
| (...skipping 11 matching lines...) Expand all Loading... |
| 65 } else { | 35 } else { |
| 66 _removeEventListener_XMLHttpRequestUpload_2(this, type, listener, useCaptu
re); | 36 _removeEventListener_XMLHttpRequestUpload_2(this, type, listener, useCaptu
re); |
| 67 return; | 37 return; |
| 68 } | 38 } |
| 69 } | 39 } |
| 70 static void _removeEventListener_XMLHttpRequestUpload(receiver, type, listener
) native; | 40 static void _removeEventListener_XMLHttpRequestUpload(receiver, type, listener
) native; |
| 71 static void _removeEventListener_XMLHttpRequestUpload_2(receiver, type, listen
er, useCapture) native; | 41 static void _removeEventListener_XMLHttpRequestUpload_2(receiver, type, listen
er, useCapture) native; |
| 72 | 42 |
| 73 String get typeName() { return "XMLHttpRequestUpload"; } | 43 String get typeName() { return "XMLHttpRequestUpload"; } |
| 74 } | 44 } |
| OLD | NEW |