| 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 // Defines all the "media" command-line switches. | 5 // Defines all the "media" command-line switches. |
| 6 | 6 |
| 7 #ifndef MEDIA_BASE_MEDIA_SWITCHES_H_ | 7 #ifndef MEDIA_BASE_MEDIA_SWITCHES_H_ |
| 8 #define MEDIA_BASE_MEDIA_SWITCHES_H_ | 8 #define MEDIA_BASE_MEDIA_SWITCHES_H_ |
| 9 | 9 |
| 10 #include "base/feature_list.h" | 10 #include "base/feature_list.h" |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 122 MEDIA_EXPORT extern const base::Feature kMediaEngagement; | 122 MEDIA_EXPORT extern const base::Feature kMediaEngagement; |
| 123 | 123 |
| 124 #if defined(OS_ANDROID) | 124 #if defined(OS_ANDROID) |
| 125 MEDIA_EXPORT extern const base::Feature kVideoFullscreenOrientationLock; | 125 MEDIA_EXPORT extern const base::Feature kVideoFullscreenOrientationLock; |
| 126 MEDIA_EXPORT extern const base::Feature kVideoRotateToFullscreen; | 126 MEDIA_EXPORT extern const base::Feature kVideoRotateToFullscreen; |
| 127 MEDIA_EXPORT extern const base::Feature kMediaDrmPersistentLicense; | 127 MEDIA_EXPORT extern const base::Feature kMediaDrmPersistentLicense; |
| 128 #endif // defined(OS_ANDROID) | 128 #endif // defined(OS_ANDROID) |
| 129 | 129 |
| 130 #if defined(OS_WIN) | 130 #if defined(OS_WIN) |
| 131 MEDIA_EXPORT extern const base::Feature kD3D11VideoDecoding; | 131 MEDIA_EXPORT extern const base::Feature kD3D11VideoDecoding; |
| 132 MEDIA_EXPORT extern const base::Feature kDelayCopyNV12Textures; |
| 132 MEDIA_EXPORT extern const base::Feature kMediaFoundationH264Encoding; | 133 MEDIA_EXPORT extern const base::Feature kMediaFoundationH264Encoding; |
| 133 #endif // defined(OS_WIN) | 134 #endif // defined(OS_WIN) |
| 134 | 135 |
| 135 // Based on a |command_line| and the current platform, returns the effective | 136 // Based on a |command_line| and the current platform, returns the effective |
| 136 // autoplay policy. In other words, it will take into account the default policy | 137 // autoplay policy. In other words, it will take into account the default policy |
| 137 // if none is specified via the command line and options passed for testing. | 138 // if none is specified via the command line and options passed for testing. |
| 138 // Returns one of the possible autoplay policy switches from the | 139 // Returns one of the possible autoplay policy switches from the |
| 139 // switches::autoplay namespace. | 140 // switches::autoplay namespace. |
| 140 MEDIA_EXPORT std::string GetEffectiveAutoplayPolicy( | 141 MEDIA_EXPORT std::string GetEffectiveAutoplayPolicy( |
| 141 const base::CommandLine& command_line); | 142 const base::CommandLine& command_line); |
| 142 | 143 |
| 143 } // namespace media | 144 } // namespace media |
| 144 | 145 |
| 145 #endif // MEDIA_BASE_MEDIA_SWITCHES_H_ | 146 #endif // MEDIA_BASE_MEDIA_SWITCHES_H_ |
| OLD | NEW |