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

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

Issue 2653673006: Move loadType() to DocumentLoader (Closed)
Patch Set: Rebase Created 3 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/loader/FrameLoader.h
diff --git a/third_party/WebKit/Source/core/loader/FrameLoader.h b/third_party/WebKit/Source/core/loader/FrameLoader.h
index 672c3a397bc6351cbdfc72658abf722f2c40aac0..6c85d34c48d54d7e03e5c34651d6a72906bb0ca8 100644
--- a/third_party/WebKit/Source/core/loader/FrameLoader.h
+++ b/third_party/WebKit/Source/core/loader/FrameLoader.h
@@ -129,9 +129,6 @@ class CORE_EXPORT FrameLoader final {
bool shouldTreatURLAsSameAsCurrent(const KURL&) const;
bool shouldTreatURLAsSrcdocDocument(const KURL&) const;
- FrameLoadType loadType() const;
- void setLoadType(FrameLoadType loadType) { m_loadType = loadType; }
-
FrameLoaderClient* client() const;
void setDefersLoading(bool);
@@ -210,7 +207,7 @@ class CORE_EXPORT FrameLoader final {
ContentSecurityPolicyDisposition,
NavigationType,
NavigationPolicy,
- bool shouldReplaceCurrentEntry,
+ FrameLoadType,
bool isClientRedirect,
HTMLFormElement*);
@@ -240,7 +237,7 @@ class CORE_EXPORT FrameLoader final {
const String& httpMethod,
FrameLoadType,
const KURL&);
- void processFragment(const KURL&, LoadStartType);
+ void processFragment(const KURL&, FrameLoadType, LoadStartType);
bool checkLoadCanStart(FrameLoadRequest&,
FrameLoadType,
@@ -259,6 +256,7 @@ class CORE_EXPORT FrameLoader final {
HistoryLoadType,
ClientRedirectPolicy,
Document*);
+ void restoreScrollPositionAndViewStateForLoadType(FrameLoadType);
void scheduleCheckCompleted();
@@ -279,8 +277,6 @@ class CORE_EXPORT FrameLoader final {
Member<ProgressTracker> m_progressTracker;
- FrameLoadType m_loadType;
-
// Document loaders for the three phases of frame loading. Note that while a
// new request is being loaded, the old document loader may still be
// referenced. E.g. while a new request is in the "policy" state, the old
« no previous file with comments | « third_party/WebKit/Source/core/loader/FrameFetchContextTest.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