| Index: content/public/browser/web_contents_delegate.h
|
| diff --git a/content/public/browser/web_contents_delegate.h b/content/public/browser/web_contents_delegate.h
|
| index e31828b2ec9c79e2e511e62724f06c4f521fc4e7..f4a889c6238fcff90d32c701add31dc51a7ac18a 100644
|
| --- a/content/public/browser/web_contents_delegate.h
|
| +++ b/content/public/browser/web_contents_delegate.h
|
| @@ -348,6 +348,12 @@ class CONTENT_EXPORT WebContentsDelegate {
|
| int request_id,
|
| const base::FilePath& path) {}
|
|
|
| + // Returns true if the delegate will embed a WebContents-owned fullscreen
|
| + // render widget. In this case, the delegate may access the widget by calling
|
| + // WebContents::GetFullscreenRenderWidgetHostView(). If false is returned,
|
| + // WebContents will be responsible for showing the fullscreen widget.
|
| + virtual bool EmbedsFullscreenWidget() const;
|
| +
|
| // Called when the renderer puts a tab into or out of fullscreen mode.
|
| virtual void ToggleFullscreenModeForTab(WebContents* web_contents,
|
| bool enter_fullscreen) {}
|
|
|