| 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 * Copyright (C) 2011 Google Inc. All rights reserved. | 4 * Copyright (C) 2011 Google Inc. All rights reserved. |
| 5 * Copyright (C) 2012 Intel Corporation | 5 * Copyright (C) 2012 Intel Corporation |
| 6 * | 6 * |
| 7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
| 8 * modify it under the terms of the GNU Lesser General Public | 8 * modify it under the terms of the GNU Lesser General Public |
| 9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
| 10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
| (...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 155 XMLHttpRequest(ScriptExecutionContext*, PassRefPtr<SecurityOrigin>); | 155 XMLHttpRequest(ScriptExecutionContext*, PassRefPtr<SecurityOrigin>); |
| 156 | 156 |
| 157 virtual void refEventTarget() { ref(); } | 157 virtual void refEventTarget() { ref(); } |
| 158 virtual void derefEventTarget() { deref(); } | 158 virtual void derefEventTarget() { deref(); } |
| 159 virtual EventTargetData* eventTargetData(); | 159 virtual EventTargetData* eventTargetData(); |
| 160 virtual EventTargetData* ensureEventTargetData(); | 160 virtual EventTargetData* ensureEventTargetData(); |
| 161 | 161 |
| 162 Document* document() const; | 162 Document* document() const; |
| 163 SecurityOrigin* securityOrigin() const; | 163 SecurityOrigin* securityOrigin() const; |
| 164 | 164 |
| 165 #if ENABLE(DASHBOARD_SUPPORT) | |
| 166 bool usesDashboardBackwardCompatibilityMode() const; | |
| 167 #endif | |
| 168 | |
| 169 virtual void didSendData(unsigned long long bytesSent, unsigned long long to
talBytesToBeSent); | 165 virtual void didSendData(unsigned long long bytesSent, unsigned long long to
talBytesToBeSent); |
| 170 virtual void didReceiveResponse(unsigned long identifier, const ResourceResp
onse&); | 166 virtual void didReceiveResponse(unsigned long identifier, const ResourceResp
onse&); |
| 171 virtual void didReceiveData(const char* data, int dataLength); | 167 virtual void didReceiveData(const char* data, int dataLength); |
| 172 virtual void didFinishLoading(unsigned long identifier, double finishTime); | 168 virtual void didFinishLoading(unsigned long identifier, double finishTime); |
| 173 virtual void didFail(const ResourceError&); | 169 virtual void didFail(const ResourceError&); |
| 174 virtual void didFailRedirectCheck(); | 170 virtual void didFailRedirectCheck(); |
| 175 | 171 |
| 176 String responseMIMEType() const; | 172 String responseMIMEType() const; |
| 177 bool responseIsXML() const; | 173 bool responseIsXML() const; |
| 178 | 174 |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 245 | 241 |
| 246 // An enum corresponding to the allowed string values for the responseType a
ttribute. | 242 // An enum corresponding to the allowed string values for the responseType a
ttribute. |
| 247 ResponseTypeCode m_responseTypeCode; | 243 ResponseTypeCode m_responseTypeCode; |
| 248 | 244 |
| 249 RefPtr<SecurityOrigin> m_securityOrigin; | 245 RefPtr<SecurityOrigin> m_securityOrigin; |
| 250 }; | 246 }; |
| 251 | 247 |
| 252 } // namespace WebCore | 248 } // namespace WebCore |
| 253 | 249 |
| 254 #endif // XMLHttpRequest_h | 250 #endif // XMLHttpRequest_h |
| OLD | NEW |