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

Unified 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, 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 side-by-side diff with in-line comments
Download patch
Index: client/html/generated/html/interface/XMLHttpRequest.dart
diff --git a/client/html/generated/html/interface/XMLHttpRequest.dart b/client/html/generated/html/interface/XMLHttpRequest.dart
new file mode 100644
index 0000000000000000000000000000000000000000..325d3e765819aeb4c3c9bfa34d71ec2c098799e0
--- /dev/null
+++ b/client/html/generated/html/interface/XMLHttpRequest.dart
@@ -0,0 +1,85 @@
+// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
+
+// WARNING: Do not edit - generated code.
+
+interface XMLHttpRequest extends EventTarget default _XMLHttpRequestFactoryProvider {
+
+ XMLHttpRequest();
+
+ // TODO(rnystrom): This name should just be "get" which is valid in Dart, but
+ // not correctly implemented yet. (b/4970173)
+ XMLHttpRequest.getTEMPNAME(String url, onSuccess(XMLHttpRequest request));
+
+ static final int DONE = 4;
+
+ static final int HEADERS_RECEIVED = 2;
+
+ static final int LOADING = 3;
+
+ static final int OPENED = 1;
+
+ static final int UNSENT = 0;
+
+ bool asBlob;
+
+ final int readyState;
+
+ final Object response;
+
+ final Blob responseBlob;
+
+ final String responseText;
+
+ String responseType;
+
+ final Document responseXML;
+
+ final int status;
+
+ final String statusText;
+
+ final XMLHttpRequestUpload upload;
+
+ bool withCredentials;
+
+ XMLHttpRequestEvents get on();
+
+ void abort();
+
+ void _addEventListener(String type, EventListener listener, [bool useCapture]);
+
+ bool _dispatchEvent(Event evt);
+
+ String getAllResponseHeaders();
+
+ String getResponseHeader(String header);
+
+ void open(String method, String url, [bool async, String user, String password]);
+
+ void overrideMimeType(String override);
+
+ void _removeEventListener(String type, EventListener listener, [bool useCapture]);
+
+ void send([var data]);
+
+ void setRequestHeader(String header, String value);
+}
+
+interface XMLHttpRequestEvents extends Events {
+
+ EventListenerList get abort();
+
+ EventListenerList get error();
+
+ EventListenerList get load();
+
+ EventListenerList get loadEnd();
+
+ EventListenerList get loadStart();
+
+ EventListenerList get progress();
+
+ EventListenerList get readyStateChange();
+}

Powered by Google App Engine
This is Rietveld 408576698