Commit 68fedbf9 authored by gunsch's avatar gunsch Committed by Commit bot

Chromecast: disables WebKit's overlay play controls.

R=lcwu@chromium.org,byungchul@chromium.org
BUG=429837

Review URL: https://codereview.chromium.org/687723005

Cr-Commit-Position: refs/heads/master@{#302529}
parent e8f9c11c
...@@ -44,7 +44,11 @@ void CastContentRendererClient::RenderViewCreated( ...@@ -44,7 +44,11 @@ void CastContentRendererClient::RenderViewCreated(
blink::WebView* webview = render_view->GetWebView(); blink::WebView* webview = render_view->GetWebView();
if (webview) { if (webview) {
webview->setBaseBackgroundColor(kColorBlack); webview->setBaseBackgroundColor(kColorBlack);
// The following settings express consistent behaviors across Cast
// embedders, though Android has enabled by default for mobile browsers.
webview->settings()->setShrinksViewportContentToFit(false); webview->settings()->setShrinksViewportContentToFit(false);
webview->settings()->setMediaControlsOverlayPlayButtonEnabled(false);
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment