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

Unified Diff: content/browser/frame_host/navigator.h

Issue 2735183003: PlzNavigate: stop navigations when opening a document for write (Closed)
Patch Set: 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: content/browser/frame_host/navigator.h
diff --git a/content/browser/frame_host/navigator.h b/content/browser/frame_host/navigator.h
index 5f0a059a79ce0a2c4f7b3e8337b040dc5f32baed..9426b2c2f0ce38e5fe8a882312edc57eb5f45c59 100644
--- a/content/browser/frame_host/navigator.h
+++ b/content/browser/frame_host/navigator.h
@@ -157,6 +157,10 @@ class CONTENT_EXPORT Navigator : public base::RefCounted<Navigator> {
const BeginNavigationParams& begin_params);
// PlzNavigate
+ // Used to abort an ongoing renderer-initiated navigation.
+ virtual void OnAbortNavigation(FrameTreeNode* frame_tree_node) {}
+
+ // PlzNavigate
// Cancel a NavigationRequest for |frame_tree_node|. Called when
// |frame_tree_node| is destroyed.
virtual void CancelNavigation(FrameTreeNode* frame_tree_node) {}

Powered by Google App Engine
This is Rietveld 408576698