Chromium Code Reviews| Index: content/browser/renderer_host/render_view_host_impl.h |
| diff --git a/content/browser/renderer_host/render_view_host_impl.h b/content/browser/renderer_host/render_view_host_impl.h |
| index 2b031ff77c3a8f64bd8a3b2a47118199164792ac..c440ba14335d59a62347d1196a65354267a8d51c 100644 |
| --- a/content/browser/renderer_host/render_view_host_impl.h |
| +++ b/content/browser/renderer_host/render_view_host_impl.h |
| @@ -123,7 +123,6 @@ class CONTENT_EXPORT RenderViewHostImpl |
| void AllowBindings(int binding_flags) override; |
| void ClearFocusedElement() override; |
| bool IsFocusedElementEditable() override; |
| - void ClosePage() override; |
| void CopyImageAt(int x, int y) override; |
| void SaveImageAt(int x, int y) override; |
| void DirectoryEnumerationFinished( |
| @@ -227,6 +226,10 @@ class CONTENT_EXPORT RenderViewHostImpl |
| // longer on the stack when we attempt to swap it out. |
| void SuppressDialogsUntilSwapOut(); |
| + // Tells the renderer process to run the page's unload handler. An ack is sent |
|
Charlie Reis
2015/04/29 17:31:18
An ack -> A ClosePage_ACK
nasko
2015/04/29 21:15:33
Done.
|
| + // back when the handler execution completes. |
| + void ClosePage(); |
| + |
| // Close the page ignoring whether it has unload events registers. |
| // This is called after the beforeunload and unload events have fired |
| // and the user has agreed to continue with closing the page. |