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

Side by Side Diff: media/base/media_switches.cc

Issue 2319493002: Add mojo interface for audio rendering. (Closed)
Patch Set: Refactor factory. Created 3 years, 11 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
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 #include "ppapi/features/features.h" 7 #include "ppapi/features/features.h"
8 8
9 namespace switches { 9 namespace switches {
10 10
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 base::FEATURE_ENABLED_BY_DEFAULT}; 169 base::FEATURE_ENABLED_BY_DEFAULT};
170 170
171 // Correct video colors based on output display? 171 // Correct video colors based on output display?
172 const base::Feature kVideoColorManagement{"video-color-management", 172 const base::Feature kVideoColorManagement{"video-color-management",
173 base::FEATURE_DISABLED_BY_DEFAULT}; 173 base::FEATURE_DISABLED_BY_DEFAULT};
174 174
175 // Inform video blitter of video color space. 175 // Inform video blitter of video color space.
176 const base::Feature kVideoBlitColorAccuracy{"video-blit-color-accuracy", 176 const base::Feature kVideoBlitColorAccuracy{"video-blit-color-accuracy",
177 base::FEATURE_DISABLED_BY_DEFAULT}; 177 base::FEATURE_DISABLED_BY_DEFAULT};
178 178
179 // Use mojo rather than Chrome IPC for audio output stream control.
180 const base::Feature kMojoAudioOutputStreamControl{
181 "mojo-audio-output-stream-control", base::FEATURE_DISABLED_BY_DEFAULT};
o1ka 2017/01/25 15:15:21 Can we land the unhooked code with unit tests firs
182
179 // Enables support for External Clear Key (ECK) key system for testing on 183 // Enables support for External Clear Key (ECK) key system for testing on
180 // supported platforms. On platforms that do not support ECK, this feature has 184 // supported platforms. On platforms that do not support ECK, this feature has
181 // no effect. 185 // no effect.
182 const base::Feature kExternalClearKeyForTesting{ 186 const base::Feature kExternalClearKeyForTesting{
183 "external-clear-key-for-testing", base::FEATURE_DISABLED_BY_DEFAULT}; 187 "external-clear-key-for-testing", base::FEATURE_DISABLED_BY_DEFAULT};
184 188
185 #if defined(OS_ANDROID) 189 #if defined(OS_ANDROID)
186 // Replaces WPMA by the MediaPlayerRenderer for HLS and fallback playback. 190 // Replaces WPMA by the MediaPlayerRenderer for HLS and fallback playback.
187 const base::Feature kAndroidMediaPlayerRenderer{ 191 const base::Feature kAndroidMediaPlayerRenderer{
188 "android-media-player-renderer", base::FEATURE_ENABLED_BY_DEFAULT}; 192 "android-media-player-renderer", base::FEATURE_ENABLED_BY_DEFAULT};
189 193
190 // Lock the screen orientation when a video goes fullscreen. 194 // Lock the screen orientation when a video goes fullscreen.
191 const base::Feature kVideoFullscreenOrientationLock{ 195 const base::Feature kVideoFullscreenOrientationLock{
192 "VideoFullscreenOrientationLock", base::FEATURE_ENABLED_BY_DEFAULT}; 196 "VideoFullscreenOrientationLock", base::FEATURE_ENABLED_BY_DEFAULT};
193 #endif 197 #endif
194 198
195 } // namespace media 199 } // namespace media
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698