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

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

Issue 1446253002: PlzNavigate: inform the WebFrameClient that a form will be submitted (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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 d36261a18510f718c7e9223801dbab0c23e7886a..f8523408baea53cc1bae2b47a433622b3c11d07d 100644
--- a/third_party/WebKit/Source/core/loader/ProgressTracker.cpp
+++ b/third_party/WebKit/Source/core/loader/ProgressTracker.cpp
@@ -116,12 +116,13 @@ void ProgressTracker::reset()
m_finalProgressChangedSent = false;
}
-void ProgressTracker::progressStarted()
+void ProgressTracker::progressStarted(bool informClient)
{
if (!m_frame->isLoading()) {
reset();
m_progressValue = initialProgressValue;
- m_frame->loader().client()->didStartLoading(NavigationToDifferentDocument);
+ if (informClient)
+ m_frame->loader().client()->didStartLoading(NavigationToDifferentDocument);
dcheng 2015/12/11 17:14:06 We absolutely can not special-case mandoline here.
clamy 2015/12/14 15:47:18 The issue here is the combination of what content
}
m_frame->setIsLoading(true);
InspectorInstrumentation::frameStartedLoading(m_frame);

Powered by Google App Engine
This is Rietveld 408576698