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

Unified Diff: media/blink/webmediaplayer_impl.cc

Issue 2141293002: [Cast for ATV] Enable UMP on Cast for ATV (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: [Cast for ATV] Enable UMP on Cast for ATV Created 4 years, 5 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 | « media/base/media_switches.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/blink/webmediaplayer_impl.cc
diff --git a/media/blink/webmediaplayer_impl.cc b/media/blink/webmediaplayer_impl.cc
index c0cdfcc5c25245dd8da65c0ec0c301947fcd5b88..d72afce51717f7f39536a3ea236aa0e26cccf0c2 100644
--- a/media/blink/webmediaplayer_impl.cc
+++ b/media/blink/webmediaplayer_impl.cc
@@ -1329,6 +1329,11 @@ void WebMediaPlayerImpl::OnSurfaceRequested(
}
std::unique_ptr<Renderer> WebMediaPlayerImpl::CreateRenderer() {
+ if (base::CommandLine::ForCurrentProcess()->HasSwitch(
+ switches::kForceMediaPlayerStartingInFullscreenMode)) {
+ enteredFullscreen();
liberato (no reviews please) 2016/07/14 16:26:58 what happens if blink really does enter / exit ful
AndyWu 2016/07/14 19:02:08 Done. Doing nothing in enter/exit full screen is n
+ }
+
RequestSurfaceCB request_surface_cb;
#if defined(OS_ANDROID)
request_surface_cb =
« no previous file with comments | « media/base/media_switches.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698