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

Side by Side Diff: client/html/generated/html/interface/XMLHttpRequest.dart

Issue 9537001: Generate dart:html bindings for Dartium as well as Frog. All unittests now pass (or are disabled fo… (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 9 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
(Empty)
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
3 // BSD-style license that can be found in the LICENSE file.
4
5 // WARNING: Do not edit - generated code.
6
7 interface XMLHttpRequest extends EventTarget default _XMLHttpRequestFactoryProvi der {
8
9 XMLHttpRequest();
10
11 // TODO(rnystrom): This name should just be "get" which is valid in Dart, but
12 // not correctly implemented yet. (b/4970173)
13 XMLHttpRequest.getTEMPNAME(String url, onSuccess(XMLHttpRequest request));
14
15 static final int DONE = 4;
16
17 static final int HEADERS_RECEIVED = 2;
18
19 static final int LOADING = 3;
20
21 static final int OPENED = 1;
22
23 static final int UNSENT = 0;
24
25 bool asBlob;
26
27 final int readyState;
28
29 final Object response;
30
31 final Blob responseBlob;
32
33 final String responseText;
34
35 String responseType;
36
37 final Document responseXML;
38
39 final int status;
40
41 final String statusText;
42
43 final XMLHttpRequestUpload upload;
44
45 bool withCredentials;
46
47 XMLHttpRequestEvents get on();
48
49 void abort();
50
51 void _addEventListener(String type, EventListener listener, [bool useCapture]) ;
52
53 bool _dispatchEvent(Event evt);
54
55 String getAllResponseHeaders();
56
57 String getResponseHeader(String header);
58
59 void open(String method, String url, [bool async, String user, String password ]);
60
61 void overrideMimeType(String override);
62
63 void _removeEventListener(String type, EventListener listener, [bool useCaptur e]);
64
65 void send([var data]);
66
67 void setRequestHeader(String header, String value);
68 }
69
70 interface XMLHttpRequestEvents extends Events {
71
72 EventListenerList get abort();
73
74 EventListenerList get error();
75
76 EventListenerList get load();
77
78 EventListenerList get loadEnd();
79
80 EventListenerList get loadStart();
81
82 EventListenerList get progress();
83
84 EventListenerList get readyStateChange();
85 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698