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..160cc8140534329576b4fcfa53306599b36feb22 100644 |
--- a/content/public/browser/web_contents_delegate.h |
+++ b/content/public/browser/web_contents_delegate.h |
@@ -348,6 +348,13 @@ 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, ToggleFullscreenModeForTab() is used to enter |
jam
2013/09/11 02:48:26
nit: don't mention what chrome code does in src/co
miu
2013/09/11 03:57:03
Done.
|
+ // fullscreen mode and the browser view will 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) {} |