OLD | NEW |
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 Loading... |
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 |
OLD | NEW |