OLD | NEW |
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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 XMLHttpRequest extends EventTarget default _XMLHttpRequestFactoryProvi
der { | 7 interface XMLHttpRequest extends EventTarget default _XMLHttpRequestFactoryProvi
der { |
8 | 8 |
9 XMLHttpRequest(); | 9 XMLHttpRequest(); |
10 | 10 |
11 | |
12 static final int DONE = 4; | 11 static final int DONE = 4; |
13 | 12 |
14 static final int HEADERS_RECEIVED = 2; | 13 static final int HEADERS_RECEIVED = 2; |
15 | 14 |
16 static final int LOADING = 3; | 15 static final int LOADING = 3; |
17 | 16 |
18 static final int OPENED = 1; | 17 static final int OPENED = 1; |
19 | 18 |
20 static final int UNSENT = 0; | 19 static final int UNSENT = 0; |
21 | 20 |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 void open(String method, String url, [bool async, String user, String password
]); | 53 void open(String method, String url, [bool async, String user, String password
]); |
55 | 54 |
56 void overrideMimeType(String override); | 55 void overrideMimeType(String override); |
57 | 56 |
58 void removeEventListener(String type, EventListener listener, [bool useCapture
]); | 57 void removeEventListener(String type, EventListener listener, [bool useCapture
]); |
59 | 58 |
60 void send([var data]); | 59 void send([var data]); |
61 | 60 |
62 void setRequestHeader(String header, String value); | 61 void setRequestHeader(String header, String value); |
63 } | 62 } |
OLD | NEW |