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

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

Issue 1767693002: Revert of PlzNavigate: inform the WebFrameClient that a form will be submitted (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 #include "core/loader/NavigationPolicy.h" 44 #include "core/loader/NavigationPolicy.h"
45 #include "platform/Timer.h" 45 #include "platform/Timer.h"
46 #include "platform/heap/Handle.h" 46 #include "platform/heap/Handle.h"
47 #include "platform/network/ResourceRequest.h" 47 #include "platform/network/ResourceRequest.h"
48 #include "wtf/Forward.h" 48 #include "wtf/Forward.h"
49 #include "wtf/HashSet.h" 49 #include "wtf/HashSet.h"
50 50
51 namespace blink { 51 namespace blink {
52 52
53 class DocumentLoader; 53 class DocumentLoader;
54 class HTMLFormElement;
55 class Frame; 54 class Frame;
56 class FrameLoaderClient; 55 class FrameLoaderClient;
57 class ProgressTracker; 56 class ProgressTracker;
58 class ResourceError; 57 class ResourceError;
59 class SerializedScriptValue; 58 class SerializedScriptValue;
60 class SubstituteData; 59 class SubstituteData;
61 60
62 struct FrameLoadRequest; 61 struct FrameLoadRequest;
63 62
64 CORE_EXPORT bool isBackForwardLoadType(FrameLoadType); 63 CORE_EXPORT bool isBackForwardLoadType(FrameLoadType);
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 bool allowPlugins(ReasonForCallingAllowPlugins); 178 bool allowPlugins(ReasonForCallingAllowPlugins);
180 179
181 void updateForSameDocumentNavigation(const KURL&, SameDocumentNavigationSour ce, PassRefPtr<SerializedScriptValue>, HistoryScrollRestorationType, FrameLoadTy pe); 180 void updateForSameDocumentNavigation(const KURL&, SameDocumentNavigationSour ce, PassRefPtr<SerializedScriptValue>, HistoryScrollRestorationType, FrameLoadTy pe);
182 181
183 HistoryItem* currentItem() const { return m_currentItem.get(); } 182 HistoryItem* currentItem() const { return m_currentItem.get(); }
184 void saveScrollState(); 183 void saveScrollState();
185 184
186 void restoreScrollPositionAndViewState(); 185 void restoreScrollPositionAndViewState();
187 186
188 bool shouldContinueForNavigationPolicy(const ResourceRequest&, const Substit uteData&, DocumentLoader*, ContentSecurityPolicyDisposition, 187 bool shouldContinueForNavigationPolicy(const ResourceRequest&, const Substit uteData&, DocumentLoader*, ContentSecurityPolicyDisposition,
189 NavigationType, NavigationPolicy, bool shouldReplaceCurrentEntry, bool i sClientRedirect, HTMLFormElement*); 188 NavigationType, NavigationPolicy, bool shouldReplaceCurrentEntry, bool i sClientRedirect);
190 189
191 DECLARE_TRACE(); 190 DECLARE_TRACE();
192 191
193 private: 192 private:
194 void checkTimerFired(Timer<FrameLoader>*); 193 void checkTimerFired(Timer<FrameLoader>*);
195 void didAccessInitialDocumentTimerFired(Timer<FrameLoader>*); 194 void didAccessInitialDocumentTimerFired(Timer<FrameLoader>*);
196 195
197 bool prepareRequestForThisFrame(FrameLoadRequest&); 196 bool prepareRequestForThisFrame(FrameLoadRequest&);
198 static void setReferrerForFrameRequest(ResourceRequest&, ShouldSendReferrer, Document*); 197 static void setReferrerForFrameRequest(ResourceRequest&, ShouldSendReferrer, Document*);
199 FrameLoadType determineFrameLoadType(const FrameLoadRequest&); 198 FrameLoadType determineFrameLoadType(const FrameLoadRequest&);
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
278 277
279 SandboxFlags m_forcedSandboxFlags; 278 SandboxFlags m_forcedSandboxFlags;
280 279
281 bool m_dispatchingDidClearWindowObjectInMainWorld; 280 bool m_dispatchingDidClearWindowObjectInMainWorld;
282 bool m_protectProvisionalLoader; 281 bool m_protectProvisionalLoader;
283 }; 282 };
284 283
285 } // namespace blink 284 } // namespace blink
286 285
287 #endif // FrameLoader_h 286 #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