Index: content/public/browser/web_contents.h |
diff --git a/content/public/browser/web_contents.h b/content/public/browser/web_contents.h |
index 43804129322c4ed56ffc7b451c6ae1e5b84bfc2d..8e7f0183519f4f38ea341ea426ba55a3a01fe456 100644 |
--- a/content/public/browser/web_contents.h |
+++ b/content/public/browser/web_contents.h |
@@ -220,6 +220,11 @@ class WebContents : public PageNavigator, |
// time and can be nullptr (during setup and teardown). |
virtual RenderWidgetHostView* GetRenderWidgetHostView() const = 0; |
+ // Causes the renderer to close the current page, including running its |
+ // onunload event handler. A ClosePage_ACK message will be sent to the |
+ // ResourceDispatcherHost when it is finished. |
Charlie Reis
2015/04/21 17:28:09
This last sentence needs updating. I think the AC
nasko
2015/04/29 17:09:27
Done.
|
+ virtual void ClosePage() = 0; |
+ |
// Returns the currently active fullscreen widget. If there is none, returns |
// nullptr. |
virtual RenderWidgetHostView* GetFullscreenRenderWidgetHostView() const = 0; |