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

Side by Side Diff: third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.h

Issue 2265873003: binding: Moves hasPendingActivity from ActiveScriptWrappable to ScriptWrappable. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed review comments. Created 4 years, 3 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
OLDNEW
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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 ResponseTypeLegacyStream, 93 ResponseTypeLegacyStream,
94 }; 94 };
95 95
96 // ActiveDOMObject 96 // ActiveDOMObject
97 void contextDestroyed() override; 97 void contextDestroyed() override;
98 ExecutionContext* getExecutionContext() const override; 98 ExecutionContext* getExecutionContext() const override;
99 void suspend() override; 99 void suspend() override;
100 void resume() override; 100 void resume() override;
101 void stop() override; 101 void stop() override;
102 102
103 // ActiveScriptWrappable 103 // ScriptWrappable
104 bool hasPendingActivity() const final; 104 bool hasPendingActivity() const final;
105 105
106 // XMLHttpRequestEventTarget 106 // XMLHttpRequestEventTarget
107 const AtomicString& interfaceName() const override; 107 const AtomicString& interfaceName() const override;
108 108
109 // JavaScript attributes and methods 109 // JavaScript attributes and methods
110 const KURL& url() const { return m_url; } 110 const KURL& url() const { return m_url; }
111 String statusText() const; 111 String statusText() const;
112 int status() const; 112 int status() const;
113 State readyState() const; 113 State readyState() const;
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
314 // option. 314 // option.
315 bool m_downloadingToFile; 315 bool m_downloadingToFile;
316 bool m_responseTextOverflow; 316 bool m_responseTextOverflow;
317 }; 317 };
318 318
319 std::ostream& operator<<(std::ostream&, const XMLHttpRequest*); 319 std::ostream& operator<<(std::ostream&, const XMLHttpRequest*);
320 320
321 } // namespace blink 321 } // namespace blink
322 322
323 #endif // XMLHttpRequest_h 323 #endif // XMLHttpRequest_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/workers/WorkerGlobalScope.h ('k') | third_party/WebKit/Source/modules/battery/BatteryManager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698