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

Unified Diff: third_party/WebKit/Source/core/loader/ProgressTracker.cpp

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/ProgressTracker.cpp
diff --git a/third_party/WebKit/Source/core/loader/ProgressTracker.cpp b/third_party/WebKit/Source/core/loader/ProgressTracker.cpp
index fce737a18c358fb7be45ea142b15dabb2afdd748..fdda55adcda0d876b8aad894b9508cd99b82fdda 100644
--- a/third_party/WebKit/Source/core/loader/ProgressTracker.cpp
+++ b/third_party/WebKit/Source/core/loader/ProgressTracker.cpp
@@ -103,13 +103,13 @@ FrameLoaderClient* ProgressTracker::frameLoaderClient() const {
return m_frame->client();
}
-void ProgressTracker::progressStarted() {
+void ProgressTracker::progressStarted(FrameLoadType type) {
if (!m_frame->isLoading())
frameLoaderClient()->didStartLoading(NavigationToDifferentDocument);
reset();
m_progressValue = initialProgressValue;
m_frame->setIsLoading(true);
- InspectorInstrumentation::frameStartedLoading(m_frame);
+ InspectorInstrumentation::frameStartedLoading(m_frame, type);
}
void ProgressTracker::progressCompleted() {
« no previous file with comments | « third_party/WebKit/Source/core/loader/ProgressTracker.h ('k') | third_party/WebKit/Source/core/loader/ProgressTrackerTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698