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

Side by Side 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, 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 unified diff | Download patch
« no previous file with comments | « media/base/media_switches.h ('k') | media/blink/webmediaplayer_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "build/build_config.h" 5 #include "build/build_config.h"
6 #include "media/base/media_switches.h" 6 #include "media/base/media_switches.h"
7 7
8 namespace switches { 8 namespace switches {
9 9
10 // Allow users to specify a custom buffer size for debugging purpose. 10 // Allow users to specify a custom buffer size for debugging purpose.
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 // Let flash join and be controlled by media session, only valid when 137 // Let flash join and be controlled by media session, only valid when
138 // |kEnableDefaultMediaSession| is on. 138 // |kEnableDefaultMediaSession| is on.
139 const base::Feature kFlashJoinsMediaSession{"flash-join-media-session", 139 const base::Feature kFlashJoinsMediaSession{"flash-join-media-session",
140 base::FEATURE_DISABLED_BY_DEFAULT}; 140 base::FEATURE_DISABLED_BY_DEFAULT};
141 #endif // defined(ENABLE_PLUGINS) 141 #endif // defined(ENABLE_PLUGINS)
142 142
143 // Use new audio rendering mixer. 143 // Use new audio rendering mixer.
144 const base::Feature kNewAudioRenderingMixingStrategy{ 144 const base::Feature kNewAudioRenderingMixingStrategy{
145 "NewAudioRenderingMixingStrategy", base::FEATURE_DISABLED_BY_DEFAULT}; 145 "NewAudioRenderingMixingStrategy", base::FEATURE_DISABLED_BY_DEFAULT};
146 146
147 // Only used for disabling overlay fullscreen (aka SurfaceView) in Clank.
148 const base::Feature kOverlayFullscreenVideo{"overlay-fullscreen-video",
149 base::FEATURE_ENABLED_BY_DEFAULT};
150
147 // Let videos be resumed via remote controls (for example, the notification) 151 // Let videos be resumed via remote controls (for example, the notification)
148 // when in background. 152 // when in background.
149 const base::Feature kResumeBackgroundVideo { 153 const base::Feature kResumeBackgroundVideo {
150 "resume-background-video", 154 "resume-background-video",
151 #if defined(OS_ANDROID) 155 #if defined(OS_ANDROID)
152 base::FEATURE_ENABLED_BY_DEFAULT 156 base::FEATURE_ENABLED_BY_DEFAULT
153 };
154 #else 157 #else
155 base::FEATURE_DISABLED_BY_DEFAULT 158 base::FEATURE_DISABLED_BY_DEFAULT
159 #endif
156 }; 160 };
157 #endif
158 161
159 // Use shared block-based buffering for media. 162 // Use shared block-based buffering for media.
160 const base::Feature kUseNewMediaCache{"use-new-media-cache", 163 const base::Feature kUseNewMediaCache{"use-new-media-cache",
161 base::FEATURE_ENABLED_BY_DEFAULT}; 164 base::FEATURE_ENABLED_BY_DEFAULT};
165
162 // Correct video colors based on output display? 166 // Correct video colors based on output display?
163 const base::Feature kVideoColorManagement{"video-color-management", 167 const base::Feature kVideoColorManagement{"video-color-management",
164 base::FEATURE_DISABLED_BY_DEFAULT}; 168 base::FEATURE_DISABLED_BY_DEFAULT};
165 169
166 } // namespace media 170 } // namespace media
OLDNEW
« 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