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

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

Issue 131363006: [abort] [do not commit] don't stop loaders on canceled navigations (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 11 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/ResourceLoaderHost.h ('k') | Source/core/loader/FrameLoader.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, 2011 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008, 2009, 2011 Apple Inc. All rights reserved.
3 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/) 3 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/)
4 * Copyright (C) Research In Motion Limited 2009. All rights reserved. 4 * Copyright (C) Research In Motion Limited 2009. All rights reserved.
5 * Copyright (C) 2011 Google Inc. All rights reserved. 5 * Copyright (C) 2011 Google Inc. All rights reserved.
6 * 6 *
7 * Redistribution and use in source and binary forms, with or without 7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions 8 * modification, are permitted provided that the following conditions
9 * are met: 9 * are met:
10 * 10 *
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 void checkLoadComplete(); 137 void checkLoadComplete();
138 138
139 static void addHTTPOriginIfNeeded(ResourceRequest&, const AtomicString& orig in); 139 static void addHTTPOriginIfNeeded(ResourceRequest&, const AtomicString& orig in);
140 140
141 FrameLoaderClient* client() const { return m_client; } 141 FrameLoaderClient* client() const { return m_client; }
142 142
143 void setDefersLoading(bool); 143 void setDefersLoading(bool);
144 144
145 void didExplicitOpen(); 145 void didExplicitOpen();
146 146
147 void didStartForFrame(DocumentLoader*);
148
147 // Callbacks from DocumentWriter 149 // Callbacks from DocumentWriter
148 void didBeginDocument(bool dispatchWindowObjectAvailable); 150 void didBeginDocument(bool dispatchWindowObjectAvailable);
149 151
150 void receivedFirstData(); 152 void receivedFirstData();
151 153
152 String userAgent(const KURL&) const; 154 String userAgent(const KURL&) const;
153 155
154 void dispatchDidClearWindowObjectInWorld(DOMWrapperWorld*); 156 void dispatchDidClearWindowObjectInWorld(DOMWrapperWorld*);
155 void dispatchDidClearWindowObjectsInAllWorlds(); 157 void dispatchDidClearWindowObjectsInAllWorlds();
156 void dispatchDocumentElementAvailable(); 158 void dispatchDocumentElementAvailable();
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 CreateNewHistoryItem, 240 CreateNewHistoryItem,
239 DoNotCreateNewHistoryItem 241 DoNotCreateNewHistoryItem
240 }; 242 };
241 void setHistoryItemStateForCommit(HistoryItemPolicy, bool isPushOrReplaceSta te = false, PassRefPtr<SerializedScriptValue> = 0); 243 void setHistoryItemStateForCommit(HistoryItemPolicy, bool isPushOrReplaceSta te = false, PassRefPtr<SerializedScriptValue> = 0);
242 244
243 void loadInSameDocument(const KURL&, PassRefPtr<SerializedScriptValue> state Object, bool isNewNavigation, ClientRedirectPolicy); 245 void loadInSameDocument(const KURL&, PassRefPtr<SerializedScriptValue> state Object, bool isNewNavigation, ClientRedirectPolicy);
244 246
245 void scheduleCheckCompleted(); 247 void scheduleCheckCompleted();
246 void startCheckCompleteTimer(); 248 void startCheckCompleteTimer();
247 249
250 void stopProvisionalLoaders();
251 void stopDocumentLoaders();
252
248 Frame* m_frame; 253 Frame* m_frame;
249 FrameLoaderClient* m_client; 254 FrameLoaderClient* m_client;
250 255
251 // FIXME: These should be OwnPtr<T> to reduce build times and simplify 256 // FIXME: These should be OwnPtr<T> to reduce build times and simplify
252 // header dependencies unless performance testing proves otherwise. 257 // header dependencies unless performance testing proves otherwise.
253 // Some of these could be lazily created for memory savings on devices. 258 // Some of these could be lazily created for memory savings on devices.
254 mutable FrameLoaderStateMachine m_stateMachine; 259 mutable FrameLoaderStateMachine m_stateMachine;
255 mutable MixedContentChecker m_mixedContentChecker; 260 mutable MixedContentChecker m_mixedContentChecker;
256 261
257 class FrameProgressTracker; 262 class FrameProgressTracker;
(...skipping 27 matching lines...) Expand all
285 290
286 bool m_didAccessInitialDocument; 291 bool m_didAccessInitialDocument;
287 Timer<FrameLoader> m_didAccessInitialDocumentTimer; 292 Timer<FrameLoader> m_didAccessInitialDocumentTimer;
288 293
289 SandboxFlags m_forcedSandboxFlags; 294 SandboxFlags m_forcedSandboxFlags;
290 }; 295 };
291 296
292 } // namespace WebCore 297 } // namespace WebCore
293 298
294 #endif // FrameLoader_h 299 #endif // FrameLoader_h
OLDNEW
« no previous file with comments | « Source/core/fetch/ResourceLoaderHost.h ('k') | Source/core/loader/FrameLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698