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 acef076ae2f1c4b7bc2b61fd40f5fc29ce772670..6f5e3bf1b22ff643991aab3dbcb3ea3138f2094c 100644 |
| --- a/content/browser/frame_host/render_frame_host_impl.h |
| +++ b/content/browser/frame_host/render_frame_host_impl.h |
| @@ -559,6 +559,12 @@ class CONTENT_EXPORT RenderFrameHostImpl : public RenderFrameHost, |
| // in a non-loading state. |
| void ResetLoadingState(); |
| + // Tells the renderer that this RenderFrame will soon be swapped out, and thus |
| + // not to create any new modal dialogs until it happens. This must be done |
| + // separately so that the PageGroupLoadDeferrers of any current dialogs are no |
|
Charlie Reis
2016/04/08 17:27:39
nit: ScopedPageLoadDeferrer (throughout the CL)
Avi (use Gerrit)
2016/04/08 17:44:01
Done.
|
| + // longer on the stack when we attempt to swap it out. |
| + void SuppressFurtherDialogs(); |
| + |
| // PlzNavigate: returns the LoFi state of the last successful navigation that |
| // made a network request. |
| LoFiState last_navigation_lofi_state() const { |