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

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

Issue 1890493002: PlzNavigate: properly execute BeforeUnload on renderer initiated navigations (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments Created 4 years, 7 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/render_frame_host_manager.h
diff --git a/content/browser/frame_host/render_frame_host_manager.h b/content/browser/frame_host/render_frame_host_manager.h
index ee6e16ef0aaa9b05feb52d50f2d0a060a5f348c1..1dd6559b390972800ad7dbb1bd8b54fb7abd30f6 100644
--- a/content/browser/frame_host/render_frame_host_manager.h
+++ b/content/browser/frame_host/render_frame_host_manager.h
@@ -268,7 +268,8 @@ class CONTENT_EXPORT RenderFrameHostManager
// different URL than the last committed entry, without modifying it).
RenderFrameHostImpl* Navigate(const GURL& dest_url,
const FrameNavigationEntry& frame_entry,
- const NavigationEntryImpl& entry);
+ const NavigationEntryImpl& entry,
+ bool is_reload);
// Instructs the various live views to stop. Called when the user directed the
// page to stop loading.
@@ -720,7 +721,8 @@ class CONTENT_EXPORT RenderFrameHostManager
bool dest_is_restore,
bool dest_is_view_source_mode,
const GlobalRequestID& transferred_request_id,
- int bindings);
+ int bindings,
+ bool is_reload);
// Updates the pending WebUI of the current RenderFrameHost for a same-site
// navigation.

Powered by Google App Engine
This is Rietveld 408576698