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

Unified Diff: Source/core/loader/FrameLoader.h

Issue 181493007: Don't stop the documentLoader on navigations. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: use onReceivedResponse Created 6 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: Source/core/loader/FrameLoader.h
diff --git a/Source/core/loader/FrameLoader.h b/Source/core/loader/FrameLoader.h
index edbb861e1dd17adad700279148c12c127db6dc6c..aebab1fcda168f364a84dccce43de941c066df5c 100644
--- a/Source/core/loader/FrameLoader.h
+++ b/Source/core/loader/FrameLoader.h
@@ -184,6 +184,8 @@ public:
void started();
+ void onResponseReceived();
Nate Chapin 2014/03/10 16:12:44 Nit: responseReceived(), to match the name on Docu
+
bool allowPlugins(ReasonForCallingAllowPlugins);
void updateForSameDocumentNavigation(const KURL&, SameDocumentNavigationSource, PassRefPtr<SerializedScriptValue>, UpdateBackForwardListPolicy);
@@ -233,6 +235,7 @@ private:
void scheduleCheckCompleted();
void startCheckCompleteTimer();
+ void checkCurrentDocumentLoaderNeedsStop();
LocalFrame* m_frame;
FrameLoaderClient* m_client;
@@ -265,6 +268,7 @@ private:
// FIXME: This is only used in checkCompleted(). Figure out a way to disentangle it.
bool m_isComplete;
+ bool m_currentLoaderNeedsStop;
Nate Chapin 2014/03/10 16:12:44 currentLoader isn't a particularly clear name to m
Timer<FrameLoader> m_checkTimer;
bool m_shouldCallCheckCompleted;

Powered by Google App Engine
This is Rietveld 408576698