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

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

Issue 2735183003: PlzNavigate: stop navigations when opening a document for write (Closed)
Patch Set: Addressed commemts 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
« no previous file with comments | « no previous file | content/browser/frame_host/frame_tree_node.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/frame_host/frame_tree_node.h
diff --git a/content/browser/frame_host/frame_tree_node.h b/content/browser/frame_host/frame_tree_node.h
index f48f00c49e9b38424bce679210c51eb282b00086..5409f415b3f462626a63ba76b9d46fc9b3914c17 100644
--- a/content/browser/frame_host/frame_tree_node.h
+++ b/content/browser/frame_host/frame_tree_node.h
@@ -261,7 +261,10 @@ class CONTENT_EXPORT FrameTreeNode {
// Resets the current navigation request. If |keep_state| is true, any state
// created by the NavigationRequest (e.g. speculative RenderFrameHost,
// loading state) will not be reset by the function.
- void ResetNavigationRequest(bool keep_state);
+ // If |keep_state| is false and the request is renderer-initiated and
+ // |inform_renderer| is true, an IPC will be sent to the renderer process to
+ // inform it that the navigation it requested was cancelled.
+ void ResetNavigationRequest(bool keep_state, bool inform_renderer);
// Returns true if this node is in a state where the loading progress is being
// tracked.
« no previous file with comments | « no previous file | content/browser/frame_host/frame_tree_node.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698