| 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..c64a0cbeecdedc3721d38465d1582647cc7a44ee 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.
|
| + virtual void ClosePage() = 0;
|
| +
|
| // Returns the currently active fullscreen widget. If there is none, returns
|
| // nullptr.
|
| virtual RenderWidgetHostView* GetFullscreenRenderWidgetHostView() const = 0;
|
|
|