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

Unified Diff: third_party/WebKit/Source/web/LocalFrameClientImpl.cpp

Issue 2735183003: PlzNavigate: stop navigations when opening a document for write (Closed)
Patch Set: Rebase Created 3 years, 9 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/web/LocalFrameClientImpl.cpp
diff --git a/third_party/WebKit/Source/web/LocalFrameClientImpl.cpp b/third_party/WebKit/Source/web/LocalFrameClientImpl.cpp
index 72eb1edd9b4690c68ee52918360f68f4de9844a3..c6e4751d3c86b86f8b574bb41440a86d7b2dd3ec 100644
--- a/third_party/WebKit/Source/web/LocalFrameClientImpl.cpp
+++ b/third_party/WebKit/Source/web/LocalFrameClientImpl.cpp
@@ -1036,4 +1036,9 @@ void LocalFrameClientImpl::setHasReceivedUserGesture() {
m_webFrame->client()->setHasReceivedUserGesture();
}
+void LocalFrameClientImpl::abortClientNavigation() {
+ if (m_webFrame->client())
+ m_webFrame->client()->abortClientNavigation();
+}
+
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698