Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(302)

Side by Side Diff: client/dom/generated/src/interface/XMLHttpRequest.dart

Issue 9341007: Use 'field' syntax in dart:dom interfaces. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: merge Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 XMLHttpRequest extends EventTarget default _XMLHttpRequestFactoryProvi der { 7 interface XMLHttpRequest extends EventTarget default _XMLHttpRequestFactoryProvi der {
8 8
9 XMLHttpRequest(); 9 XMLHttpRequest();
10 10
11 11
12 static final int DONE = 4; 12 static final int DONE = 4;
13 13
14 static final int HEADERS_RECEIVED = 2; 14 static final int HEADERS_RECEIVED = 2;
15 15
16 static final int LOADING = 3; 16 static final int LOADING = 3;
17 17
18 static final int OPENED = 1; 18 static final int OPENED = 1;
19 19
20 static final int UNSENT = 0; 20 static final int UNSENT = 0;
21 21
22 bool get asBlob(); 22 bool asBlob;
23 23
24 void set asBlob(bool value); 24 final int readyState;
25 25
26 int get readyState(); 26 final Object response;
27 27
28 Object get response(); 28 final Blob responseBlob;
29 29
30 Blob get responseBlob(); 30 final String responseText;
31 31
32 String get responseText(); 32 String responseType;
33 33
34 String get responseType(); 34 final Document responseXML;
35 35
36 void set responseType(String value); 36 final int status;
37 37
38 Document get responseXML(); 38 final String statusText;
39 39
40 int get status(); 40 final XMLHttpRequestUpload upload;
41 41
42 String get statusText(); 42 bool withCredentials;
43
44 XMLHttpRequestUpload get upload();
45
46 bool get withCredentials();
47
48 void set withCredentials(bool value);
49 43
50 void abort(); 44 void abort();
51 45
52 void addEventListener(String type, EventListener listener, [bool useCapture]); 46 void addEventListener(String type, EventListener listener, [bool useCapture]);
53 47
54 bool dispatchEvent(Event evt); 48 bool dispatchEvent(Event evt);
55 49
56 String getAllResponseHeaders(); 50 String getAllResponseHeaders();
57 51
58 String getResponseHeader(String header); 52 String getResponseHeader(String header);
59 53
60 void open(String method, String url, [bool async, String user, String password ]); 54 void open(String method, String url, [bool async, String user, String password ]);
61 55
62 void overrideMimeType(String override); 56 void overrideMimeType(String override);
63 57
64 void removeEventListener(String type, EventListener listener, [bool useCapture ]); 58 void removeEventListener(String type, EventListener listener, [bool useCapture ]);
65 59
66 void send([var data]); 60 void send([var data]);
67 61
68 void setRequestHeader(String header, String value); 62 void setRequestHeader(String header, String value);
69 } 63 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698