| 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 interface FileReader factory _FileReaderFactoryProvider { | 7 interface FileReader factory _FileReaderFactoryProvider { |
| 8 | 8 |
| 9 FileReader(); | 9 FileReader(); |
| 10 | 10 |
| 11 static final int DONE = 2; | 11 static final int DONE = 2; |
| 12 | 12 |
| 13 static final int EMPTY = 0; | 13 static final int EMPTY = 0; |
| 14 | 14 |
| 15 static final int LOADING = 1; | 15 static final int LOADING = 1; |
| 16 | 16 |
| 17 FileError get error(); | 17 FileError get error(); |
| 18 | 18 |
| 19 EventListener get onabort(); |
| 20 |
| 21 void set onabort(EventListener value); |
| 22 |
| 23 EventListener get onerror(); |
| 24 |
| 25 void set onerror(EventListener value); |
| 26 |
| 27 EventListener get onload(); |
| 28 |
| 29 void set onload(EventListener value); |
| 30 |
| 31 EventListener get onloadend(); |
| 32 |
| 33 void set onloadend(EventListener value); |
| 34 |
| 35 EventListener get onloadstart(); |
| 36 |
| 37 void set onloadstart(EventListener value); |
| 38 |
| 39 EventListener get onprogress(); |
| 40 |
| 41 void set onprogress(EventListener value); |
| 42 |
| 19 int get readyState(); | 43 int get readyState(); |
| 20 | 44 |
| 21 Object get result(); | 45 Object get result(); |
| 22 | 46 |
| 23 void abort(); | 47 void abort(); |
| 24 | 48 |
| 25 void readAsArrayBuffer(Blob blob); | 49 void readAsArrayBuffer(Blob blob); |
| 26 | 50 |
| 27 void readAsBinaryString(Blob blob); | 51 void readAsBinaryString(Blob blob); |
| 28 | 52 |
| 29 void readAsDataURL(Blob blob); | 53 void readAsDataURL(Blob blob); |
| 30 | 54 |
| 31 void readAsText(Blob blob, [String encoding]); | 55 void readAsText(Blob blob, [String encoding]); |
| 32 } | 56 } |
| OLD | NEW |