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()-> |