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

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

Issue 2735183003: PlzNavigate: stop navigations when opening a document for write (Closed)
Patch Set: Rebase + fixed compilation error 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/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..441c46541562dbf5aca22c1c7c8120dbef62dd7f 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, teh request is renderer-initiated and
Charlie Reis 2017/03/22 23:54:41 nit: s/teh/the/ nit: ..."renderer-initiated. If"
clamy 2017/03/23 13:17:52 Done
+ // |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') | content/browser/frame_host/frame_tree_node.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698