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

Unified Diff: chrome/browser/ui/views/frame/browser_view.cc

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 | « chrome/browser/ui/fullscreen/fullscreen_controller_test.cc ('k') | chrome/common/chrome_switches.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/frame/browser_view.cc
diff --git a/chrome/browser/ui/views/frame/browser_view.cc b/chrome/browser/ui/views/frame/browser_view.cc
index daab0c42c9d02f1017284283fb50224993552203..cbf98a9e0b6dbc2396d9bedaf0164d62e59bd326 100644
--- a/chrome/browser/ui/views/frame/browser_view.cc
+++ b/chrome/browser/ui/views/frame/browser_view.cc
@@ -1942,6 +1942,9 @@ void BrowserView::InitViews() {
contents_web_view_ = new views::WebView(browser_->profile());
contents_web_view_->set_id(VIEW_ID_TAB_CONTAINER);
+ contents_web_view_->SetEmbedFullscreenWidgetMode(
+ implicit_cast<content::WebContentsDelegate*>(browser_.get())->
+ EmbedsFullscreenWidget());
contents_container_ = new ContentsContainer(contents_web_view_);
SkColor bg_color = GetWidget()->GetThemeProvider()->
« no previous file with comments | « chrome/browser/ui/fullscreen/fullscreen_controller_test.cc ('k') | chrome/common/chrome_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698