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

Unified Diff: chromecast/shell/browser/cast_browser_main_parts.cc

Issue 597813002: Chromecast: adds Android switches for media playback. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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 | « chromecast/shell/browser/DEPS ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « chromecast/shell/browser/DEPS ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698