OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2003, 2006, 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2003, 2006, 2008 Apple Inc. All rights reserved. |
3 * Copyright (C) 2005, 2006 Alexey Proskuryakov <ap@nypop.com> | 3 * Copyright (C) 2005, 2006 Alexey Proskuryakov <ap@nypop.com> |
4 * | 4 * |
5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
6 * modify it under the terms of the GNU Lesser General Public | 6 * modify it under the terms of the GNU Lesser General Public |
7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
9 * | 9 * |
10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 #endif | 87 #endif |
88 void open(const String& method, const KURL&, ExceptionCode&); | 88 void open(const String& method, const KURL&, ExceptionCode&); |
89 void open(const String& method, const KURL&, bool async, ExceptionCode&); | 89 void open(const String& method, const KURL&, bool async, ExceptionCode&); |
90 void open(const String& method, const KURL&, bool async, const String& user,
ExceptionCode&); | 90 void open(const String& method, const KURL&, bool async, const String& user,
ExceptionCode&); |
91 void open(const String& method, const KURL&, bool async, const String& user,
const String& password, ExceptionCode&); | 91 void open(const String& method, const KURL&, bool async, const String& user,
const String& password, ExceptionCode&); |
92 void send(ExceptionCode&); | 92 void send(ExceptionCode&); |
93 void send(Document*, ExceptionCode&); | 93 void send(Document*, ExceptionCode&); |
94 void send(const String&, ExceptionCode&); | 94 void send(const String&, ExceptionCode&); |
95 void send(Blob*, ExceptionCode&); | 95 void send(Blob*, ExceptionCode&); |
96 void send(DOMFormData*, ExceptionCode&); | 96 void send(DOMFormData*, ExceptionCode&); |
| 97 #if ENABLE(3D_CANVAS) || ENABLE(BLOB) |
| 98 void send(ArrayBuffer*, ExceptionCode&); |
| 99 #endif |
97 void abort(); | 100 void abort(); |
98 void setRequestHeader(const AtomicString& name, const String& value, Excepti
onCode&); | 101 void setRequestHeader(const AtomicString& name, const String& value, Excepti
onCode&); |
99 void overrideMimeType(const String& override); | 102 void overrideMimeType(const String& override); |
100 String getAllResponseHeaders(ExceptionCode&) const; | 103 String getAllResponseHeaders(ExceptionCode&) const; |
101 String getResponseHeader(const AtomicString& name, ExceptionCode&) const; | 104 String getResponseHeader(const AtomicString& name, ExceptionCode&) const; |
102 String responseText(ExceptionCode&); | 105 String responseText(ExceptionCode&); |
103 Document* responseXML(ExceptionCode&); | 106 Document* responseXML(ExceptionCode&); |
104 Document* optionalResponseXML() const { return m_responseXML.get(); } | 107 Document* optionalResponseXML() const { return m_responseXML.get(); } |
105 #if ENABLE(XHR_RESPONSE_BLOB) | 108 #if ENABLE(XHR_RESPONSE_BLOB) |
106 Blob* responseBlob(ExceptionCode&) const; | 109 Blob* responseBlob(ExceptionCode&) const; |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
225 | 228 |
226 XMLHttpRequestProgressEventThrottle m_progressEventThrottle; | 229 XMLHttpRequestProgressEventThrottle m_progressEventThrottle; |
227 | 230 |
228 // An enum corresponding to the allowed string values for the responseType a
ttribute. | 231 // An enum corresponding to the allowed string values for the responseType a
ttribute. |
229 ResponseTypeCode m_responseTypeCode; | 232 ResponseTypeCode m_responseTypeCode; |
230 }; | 233 }; |
231 | 234 |
232 } // namespace WebCore | 235 } // namespace WebCore |
233 | 236 |
234 #endif // XMLHttpRequest_h | 237 #endif // XMLHttpRequest_h |
OLD | NEW |