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

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

Issue 2196333002: PlzNavigate: Clear provisional history item on redirects. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@timing_api
Patch Set: Rebasing again, Trybot issues. Created 4 years, 4 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) 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 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 Frame* opener(); 151 Frame* opener();
152 void setOpener(LocalFrame*); 152 void setOpener(LocalFrame*);
153 153
154 void detach(); 154 void detach();
155 155
156 void finishedParsing(); 156 void finishedParsing();
157 void checkCompleted(); 157 void checkCompleted();
158 158
159 void receivedMainResourceRedirect(const KURL& newURL); 159 void receivedMainResourceRedirect(const KURL& newURL);
160 160
161 void clearProvisionalHistoryItem();
162
161 // This prepares the FrameLoader for the next commit. It will dispatch 163 // This prepares the FrameLoader for the next commit. It will dispatch
162 // unload events, abort XHR requests and detach the document. Returns true 164 // unload events, abort XHR requests and detach the document. Returns true
163 // if the frame is ready to receive the next commit, or false otherwise. 165 // if the frame is ready to receive the next commit, or false otherwise.
164 bool prepareForCommit(); 166 bool prepareForCommit();
165 167
166 void commitProvisionalLoad(); 168 void commitProvisionalLoad();
167 169
168 FrameLoaderStateMachine* stateMachine() const { return &m_stateMachine; } 170 FrameLoaderStateMachine* stateMachine() const { return &m_stateMachine; }
169 171
170 void applyUserAgent(ResourceRequest&); 172 void applyUserAgent(ResourceRequest&);
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 283
282 SandboxFlags m_forcedSandboxFlags; 284 SandboxFlags m_forcedSandboxFlags;
283 285
284 bool m_dispatchingDidClearWindowObjectInMainWorld; 286 bool m_dispatchingDidClearWindowObjectInMainWorld;
285 bool m_protectProvisionalLoader; 287 bool m_protectProvisionalLoader;
286 }; 288 };
287 289
288 } // namespace blink 290 } // namespace blink
289 291
290 #endif // FrameLoader_h 292 #endif // FrameLoader_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/loader/DocumentLoader.cpp ('k') | third_party/WebKit/Source/core/loader/FrameLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698