| 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 | |
| 53 int get readyState() { return _get_readyState(this); } | 17 int get readyState() { return _get_readyState(this); } |
| 54 static int _get_readyState(var _this) native; | 18 static int _get_readyState(var _this) native; |
| 55 | 19 |
| 56 Object get result() { return _get_result(this); } | 20 Object get result() { return _get_result(this); } |
| 57 static Object _get_result(var _this) native; | 21 static Object _get_result(var _this) native; |
| 58 | 22 |
| 59 void abort() { | 23 void abort() { |
| 60 _abort(this); | 24 _abort(this); |
| 61 return; | 25 return; |
| 62 } | 26 } |
| (...skipping 24 matching lines...) Expand all Loading... |
| 87 } else { | 51 } else { |
| 88 _readAsText_2(this, blob, encoding); | 52 _readAsText_2(this, blob, encoding); |
| 89 return; | 53 return; |
| 90 } | 54 } |
| 91 } | 55 } |
| 92 static void _readAsText(receiver, blob) native; | 56 static void _readAsText(receiver, blob) native; |
| 93 static void _readAsText_2(receiver, blob, encoding) native; | 57 static void _readAsText_2(receiver, blob, encoding) native; |
| 94 | 58 |
| 95 String get typeName() { return "FileReader"; } | 59 String get typeName() { return "FileReader"; } |
| 96 } | 60 } |
| OLD | NEW |