Chromium Code Reviews| 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 45d8ca0cffc75a6862df86dcbaef4b24a71fe007..14634ff1aba5d03378febb8649771d74aefa3aca 100644 |
| --- a/content/browser/frame_host/render_frame_host_impl.h |
| +++ b/content/browser/frame_host/render_frame_host_impl.h |
| @@ -401,6 +401,9 @@ class CONTENT_EXPORT RenderFrameHostImpl : public RenderFrameHost, |
| // PlzNavigate: this call happens on all browser-initiated navigations. |
| void DispatchBeforeUnload(bool for_navigation); |
| + // Simulate beforeunloadack on behalf of renderer if it's unrenresponsive. |
|
Charlie Reis
2016/05/19 22:11:56
nit: Space before ack.
|
| + void ForceBeforeUnloadAck(); |
|
Charlie Reis
2016/05/19 22:11:56
nit: s/Force/Simulate/
|
| + |
| // Returns true if a call to DispatchBeforeUnload will actually send the |
| // BeforeUnload IPC. This is the case if the current renderer is live and this |
| // frame is the main frame. |