Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1323)

Unified Diff: content/public/browser/web_contents_delegate.h

Issue 23477051: Embed Flash Fullscreen widget within browser window. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add caution comment to chrome_switches.cc. Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/public/browser/web_contents.h ('k') | content/public/browser/web_contents_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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) {}
« no previous file with comments | « content/public/browser/web_contents.h ('k') | content/public/browser/web_contents_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698