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..8ccd0b487d2a7ddb5b91582fff10daf5363c1ab2 100644 |
--- a/content/public/browser/web_contents.h |
+++ b/content/public/browser/web_contents.h |
@@ -220,6 +220,10 @@ class WebContents : public PageNavigator, |
// time and can be nullptr (during setup and teardown). |
virtual RenderWidgetHostView* GetRenderWidgetHostView() const = 0; |
+ // Causes the current page to be closed, including running its onunload event |
+ // handler. A ClosePage_ACK message is sent when it is finished. |
Charlie Reis
2015/04/29 17:31:18
We probably don't need to mention the ACK here, si
nasko
2015/04/29 21:15:33
Done.
|
+ virtual void ClosePage() = 0; |
+ |
// Returns the currently active fullscreen widget. If there is none, returns |
// nullptr. |
virtual RenderWidgetHostView* GetFullscreenRenderWidgetHostView() const = 0; |