| 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 _FileReaderWrappingImplementation extends DOMWrapperBase implements FileRe
ader { | 7 class _FileReaderWrappingImplementation extends DOMWrapperBase implements FileRe
ader { |
| 8 _FileReaderWrappingImplementation() : super() {} | 8 _FileReaderWrappingImplementation() : super() {} |
| 9 | 9 |
| 10 static create__FileReaderWrappingImplementation() native { | 10 static create__FileReaderWrappingImplementation() native { |
| 11 return new _FileReaderWrappingImplementation(); | 11 return new _FileReaderWrappingImplementation(); |
| 12 } | 12 } |
| 13 | 13 |
| 14 FileError get error() { return _get_error(this); } | 14 FileError get error() { return _get_error(this); } |
| 15 static FileError _get_error(var _this) native; | 15 static FileError _get_error(var _this) native; |
| 16 | 16 |
| 17 EventListener get onabort() { return _get_onabort(this); } |
| 18 static EventListener _get_onabort(var _this) native; |
| 19 |
| 20 void set onabort(EventListener value) { _set_onabort(this, value); } |
| 21 static void _set_onabort(var _this, EventListener value) native; |
| 22 |
| 23 EventListener get onerror() { return _get_onerror(this); } |
| 24 static EventListener _get_onerror(var _this) native; |
| 25 |
| 26 void set onerror(EventListener value) { _set_onerror(this, value); } |
| 27 static void _set_onerror(var _this, EventListener value) native; |
| 28 |
| 29 EventListener get onload() { return _get_onload(this); } |
| 30 static EventListener _get_onload(var _this) native; |
| 31 |
| 32 void set onload(EventListener value) { _set_onload(this, value); } |
| 33 static void _set_onload(var _this, EventListener value) native; |
| 34 |
| 35 EventListener get onloadend() { return _get_onloadend(this); } |
| 36 static EventListener _get_onloadend(var _this) native; |
| 37 |
| 38 void set onloadend(EventListener value) { _set_onloadend(this, value); } |
| 39 static void _set_onloadend(var _this, EventListener value) native; |
| 40 |
| 41 EventListener get onloadstart() { return _get_onloadstart(this); } |
| 42 static EventListener _get_onloadstart(var _this) native; |
| 43 |
| 44 void set onloadstart(EventListener value) { _set_onloadstart(this, value); } |
| 45 static void _set_onloadstart(var _this, EventListener value) native; |
| 46 |
| 47 EventListener get onprogress() { return _get_onprogress(this); } |
| 48 static EventListener _get_onprogress(var _this) native; |
| 49 |
| 50 void set onprogress(EventListener value) { _set_onprogress(this, value); } |
| 51 static void _set_onprogress(var _this, EventListener value) native; |
| 52 |
| 17 int get readyState() { return _get_readyState(this); } | 53 int get readyState() { return _get_readyState(this); } |
| 18 static int _get_readyState(var _this) native; | 54 static int _get_readyState(var _this) native; |
| 19 | 55 |
| 20 Object get result() { return _get_result(this); } | 56 Object get result() { return _get_result(this); } |
| 21 static Object _get_result(var _this) native; | 57 static Object _get_result(var _this) native; |
| 22 | 58 |
| 23 void abort() { | 59 void abort() { |
| 24 _abort(this); | 60 _abort(this); |
| 25 return; | 61 return; |
| 26 } | 62 } |
| (...skipping 24 matching lines...) Expand all Loading... |
| 51 } else { | 87 } else { |
| 52 _readAsText_2(this, blob, encoding); | 88 _readAsText_2(this, blob, encoding); |
| 53 return; | 89 return; |
| 54 } | 90 } |
| 55 } | 91 } |
| 56 static void _readAsText(receiver, blob) native; | 92 static void _readAsText(receiver, blob) native; |
| 57 static void _readAsText_2(receiver, blob, encoding) native; | 93 static void _readAsText_2(receiver, blob, encoding) native; |
| 58 | 94 |
| 59 String get typeName() { return "FileReader"; } | 95 String get typeName() { return "FileReader"; } |
| 60 } | 96 } |
| OLD | NEW |