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

Unified Diff: third_party/WebKit/Source/platform/exported/WebURLRequest.cpp

Issue 1890493002: PlzNavigate: properly execute BeforeUnload on renderer initiated navigations (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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/platform/exported/WebURLRequest.cpp
diff --git a/third_party/WebKit/Source/platform/exported/WebURLRequest.cpp b/third_party/WebKit/Source/platform/exported/WebURLRequest.cpp
index c2592d8268e356a8ebb8b167b6d00091f346cc0f..fd27fff883eea02c46d500c7f6041de6e29bf7d1 100644
--- a/third_party/WebKit/Source/platform/exported/WebURLRequest.cpp
+++ b/third_party/WebKit/Source/platform/exported/WebURLRequest.cpp
@@ -444,6 +444,11 @@ void WebURLRequest::setCheckForBrowserSideNavigation(bool check)
m_private->m_resourceRequest->setCheckForBrowserSideNavigation(check);
}
+void WebURLRequest::setBypassBeforeUnload(bool bypass)
+{
+ m_private->m_resourceRequest->setBypassBeforeUnload(bypass);
+}
+
double WebURLRequest::uiStartTime() const
{
return m_private->m_resourceRequest->uiStartTime();

Powered by Google App Engine
This is Rietveld 408576698