Commit c264a056 authored by gunsch's avatar gunsch Committed by Commit bot

Chromecast: adds Android switches for media playback.

Since Cast disables all user interaction, gesture requirement/infobar are
not useful.

The other flags are for protected content playback.

R=xhwang@chromium.org,byungchul@chromium.org
BUG=400876

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

Cr-Commit-Position: refs/heads/master@{#297113}
parent 1291d0c2
include_rules = [
"+content/public/browser",
"+media/base",
]
......@@ -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, ""},
{ switches::kEnableOverlayFullscreenVideo, ""},
{ switches::kDisableInfobarForProtectedMediaIdentifier, ""},
{ switches::kDisableGestureRequirementForMediaPlayback, ""},
#endif
{ switches::kDisableApplicationCache, "" },
{ switches::kDisablePlugins, "" },
// Always enable HTMLMediaElement logs.
......
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