Index: chromecast/shell/browser/cast_browser_main_parts.cc |
diff --git a/chromecast/shell/browser/cast_browser_main_parts.cc b/chromecast/shell/browser/cast_browser_main_parts.cc |
index dcb1b21838bbdeed00b6033d22b3f7ba7a210326..61c4cd700f0098427023a60ef93505bce573712f 100644 |
--- a/chromecast/shell/browser/cast_browser_main_parts.cc |
+++ b/chromecast/shell/browser/cast_browser_main_parts.cc |
@@ -19,6 +19,7 @@ |
#include "chromecast/shell/browser/webui/webui_cast.h" |
#include "content/public/browser/browser_thread.h" |
#include "content/public/common/content_switches.h" |
+#include "media/base/media_switches.h" |
#if defined(OS_ANDROID) |
#include "net/android/network_change_notifier_factory_android.h" |
@@ -35,6 +36,12 @@ struct DefaultCommandLineSwitch { |
}; |
DefaultCommandLineSwitch g_default_switches[] = { |
+#if defined(OS_ANDROID) |
+ { switches::kMediaDrmEnableNonCompositing, ""}, |
xhwang
2014/09/26 21:49:37
IIRIC, with this, we'll always use the full screen
gunsch
2014/09/26 22:03:17
We also build our Cast ATV build with VIDEO_HOLE.
|
+ { switches::kEnableOverlayFullscreenVideo, ""}, |
+ { switches::kDisableInfobarForProtectedMediaIdentifier, ""}, |
xhwang
2014/09/26 21:49:37
The info bar is required for privacy reasons. Did
gunsch
2014/09/26 22:03:17
Thanks for checking. Answer is yes (and double-che
|
+ { switches::kDisableGestureRequirementForMediaPlayback, ""}, |
+#endif |
{ switches::kDisableApplicationCache, "" }, |
{ switches::kDisablePlugins, "" }, |
{ NULL, NULL }, // Termination |