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..f5f3dec861ff47cbce07a926e1ceef524ef31384 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. |
+ // A ClosePage_ACK ack is sent 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. |