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

Side by Side Diff: Source/core/loader/DocumentLoader.h

Issue 252383010: Call DOMWindow::finishedLoading from FrameLoader::checkLoadCompleteForThisFrame (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 8 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
« no previous file with comments | « Source/core/fetch/ResourceFetcher.cpp ('k') | Source/core/loader/DocumentLoader.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.
3 * Copyright (C) 2011 Google Inc. All rights reserved. 3 * Copyright (C) 2011 Google Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 void setDefersLoading(bool); 124 void setDefersLoading(bool);
125 125
126 void startLoadingMainResource(); 126 void startLoadingMainResource();
127 void cancelMainResourceLoad(const ResourceError&); 127 void cancelMainResourceLoad(const ResourceError&);
128 128
129 void attachThreadedDataReceiver(PassOwnPtr<blink::WebThreadedDataReceive r>); 129 void attachThreadedDataReceiver(PassOwnPtr<blink::WebThreadedDataReceive r>);
130 DocumentLoadTiming* timing() { return &m_documentLoadTiming; } 130 DocumentLoadTiming* timing() { return &m_documentLoadTiming; }
131 131
132 ApplicationCacheHost* applicationCacheHost() const { return m_applicatio nCacheHost.get(); } 132 ApplicationCacheHost* applicationCacheHost() const { return m_applicatio nCacheHost.get(); }
133 133
134 void checkLoadComplete();
135
136 bool isRedirect() const { return m_redirectChain.size() > 1; } 134 bool isRedirect() const { return m_redirectChain.size() > 1; }
137 void clearRedirectChain(); 135 void clearRedirectChain();
138 void appendRedirect(const KURL&); 136 void appendRedirect(const KURL&);
139 137
140 protected: 138 protected:
141 DocumentLoader(LocalFrame*, const ResourceRequest&, const SubstituteData &); 139 DocumentLoader(LocalFrame*, const ResourceRequest&, const SubstituteData &);
142 140
143 Vector<KURL> m_redirectChain; 141 Vector<KURL> m_redirectChain;
144 142
145 private: 143 private:
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 DocumentLoadTiming m_documentLoadTiming; 216 DocumentLoadTiming m_documentLoadTiming;
219 217
220 double m_timeOfLastDataReceived; 218 double m_timeOfLastDataReceived;
221 219
222 friend class ApplicationCacheHost; // for substitute resource delivery 220 friend class ApplicationCacheHost; // for substitute resource delivery
223 OwnPtr<ApplicationCacheHost> m_applicationCacheHost; 221 OwnPtr<ApplicationCacheHost> m_applicationCacheHost;
224 }; 222 };
225 } 223 }
226 224
227 #endif // DocumentLoader_h 225 #endif // DocumentLoader_h
OLDNEW
« no previous file with comments | « Source/core/fetch/ResourceFetcher.cpp ('k') | Source/core/loader/DocumentLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698