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

Unified Diff: media/base/media_switches.cc

Issue 2297973002: WMPI: Add base::Feature for disabling SurfaceViews. (Closed)
Patch Set: Adjust member variable name. Created 4 years, 4 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.h ('k') | media/blink/webmediaplayer_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/media_switches.cc
diff --git a/media/base/media_switches.cc b/media/base/media_switches.cc
index a496106648d8187d53d0b4ac58280b280abb31a0..8937a93dd2d63b4e2c4124aaa6e7166a1ecb7bc4 100644
--- a/media/base/media_switches.cc
+++ b/media/base/media_switches.cc
@@ -144,21 +144,25 @@ const base::Feature kFlashJoinsMediaSession{"flash-join-media-session",
const base::Feature kNewAudioRenderingMixingStrategy{
"NewAudioRenderingMixingStrategy", base::FEATURE_DISABLED_BY_DEFAULT};
+// Only used for disabling overlay fullscreen (aka SurfaceView) in Clank.
+const base::Feature kOverlayFullscreenVideo{"overlay-fullscreen-video",
+ base::FEATURE_ENABLED_BY_DEFAULT};
+
// Let videos be resumed via remote controls (for example, the notification)
// when in background.
const base::Feature kResumeBackgroundVideo {
"resume-background-video",
#if defined(OS_ANDROID)
base::FEATURE_ENABLED_BY_DEFAULT
-};
#else
base::FEATURE_DISABLED_BY_DEFAULT
-};
#endif
+};
// Use shared block-based buffering for media.
const base::Feature kUseNewMediaCache{"use-new-media-cache",
base::FEATURE_ENABLED_BY_DEFAULT};
+
// Correct video colors based on output display?
const base::Feature kVideoColorManagement{"video-color-management",
base::FEATURE_DISABLED_BY_DEFAULT};
« no previous file with comments | « media/base/media_switches.h ('k') | media/blink/webmediaplayer_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698