| 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 #include "ppapi/features/features.h" | 7 #include "ppapi/features/features.h" |
| 8 | 8 |
| 9 namespace switches { | 9 namespace switches { |
| 10 | 10 |
| (...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 179 // Enables support for External Clear Key (ECK) key system for testing on | 179 // 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 | 180 // supported platforms. On platforms that do not support ECK, this feature has |
| 181 // no effect. | 181 // no effect. |
| 182 const base::Feature kExternalClearKeyForTesting{ | 182 const base::Feature kExternalClearKeyForTesting{ |
| 183 "external-clear-key-for-testing", base::FEATURE_DISABLED_BY_DEFAULT}; | 183 "external-clear-key-for-testing", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 184 | 184 |
| 185 #if defined(OS_ANDROID) | 185 #if defined(OS_ANDROID) |
| 186 // Replaces WPMA by the MediaPlayerRenderer for HLS and fallback playback. | 186 // Replaces WPMA by the MediaPlayerRenderer for HLS and fallback playback. |
| 187 const base::Feature kAndroidMediaPlayerRenderer{ | 187 const base::Feature kAndroidMediaPlayerRenderer{ |
| 188 "android-media-player-renderer", base::FEATURE_ENABLED_BY_DEFAULT}; | 188 "android-media-player-renderer", base::FEATURE_ENABLED_BY_DEFAULT}; |
| 189 |
| 190 // Lock the screen orientation when a video goes fullscreen. |
| 191 const base::Feature kVideoFullscreenOrientationLock{ |
| 192 "VideoFullscreenOrientationLock", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 189 #endif | 193 #endif |
| 190 | 194 |
| 191 } // namespace media | 195 } // namespace media |
| OLD | NEW |