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

Unified Diff: third_party/WebKit/Source/core/loader/DocumentLoader.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/DocumentLoader.h
diff --git a/third_party/WebKit/Source/core/loader/DocumentLoader.h b/third_party/WebKit/Source/core/loader/DocumentLoader.h
index 17c65bd9add104dc0016cf9047511e9e2468db1e..8023984bd3ca67de0c614a610c35afde849951c4 100644
--- a/third_party/WebKit/Source/core/loader/DocumentLoader.h
+++ b/third_party/WebKit/Source/core/loader/DocumentLoader.h
@@ -136,6 +136,9 @@ class CORE_EXPORT DocumentLoader
void setSentDidFinishLoad() { m_state = SentDidFinishLoad; }
bool sentDidFinishLoad() const { return m_state == SentDidFinishLoad; }
+ FrameLoadType loadType() const { return m_loadType; }
+ void setLoadType(FrameLoadType loadType) { m_loadType = loadType; }
+
NavigationType getNavigationType() const { return m_navigationType; }
void setNavigationType(NavigationType navigationType) {
m_navigationType = navigationType;
@@ -260,6 +263,8 @@ class CORE_EXPORT DocumentLoader
ResourceResponse m_response;
+ FrameLoadType m_loadType;
+
bool m_isClientRedirect;
bool m_replacesCurrentHistoryItem;
bool m_dataReceived;

Powered by Google App Engine
This is Rietveld 408576698