| Index: content/browser/frame_host/render_frame_host_impl.h
|
| diff --git a/content/browser/frame_host/render_frame_host_impl.h b/content/browser/frame_host/render_frame_host_impl.h
|
| index 420a2c2795d7512d3ac241213dc4854290d45737..d8024794a0128b506b7bc2ddcf449dc4f65732aa 100644
|
| --- a/content/browser/frame_host/render_frame_host_impl.h
|
| +++ b/content/browser/frame_host/render_frame_host_impl.h
|
| @@ -398,9 +398,11 @@ class CONTENT_EXPORT RenderFrameHostImpl : public RenderFrameHost,
|
|
|
| // Runs the beforeunload handler for this frame. |for_navigation| indicates
|
| // whether this call is for the current frame during a cross-process
|
| - // navigation. False means we're closing the entire tab.
|
| + // navigation. False means we're closing the entire tab. |is_reload|
|
| + // indicates whether the navigation is a reload of the page or not. If
|
| + // |for_navigation| is false, |is_reload| should be false as well.
|
| // PlzNavigate: this call happens on all browser-initiated navigations.
|
| - void DispatchBeforeUnload(bool for_navigation);
|
| + void DispatchBeforeUnload(bool for_navigation, bool is_reload);
|
|
|
| // Simulate beforeunload ack on behalf of renderer if it's unrenresponsive.
|
| void SimulateBeforeUnloadAck();
|
|
|