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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 | 70 |
71 MEDIA_EXPORT extern const char kDisableRTCSmoothnessAlgorithm[]; | 71 MEDIA_EXPORT extern const char kDisableRTCSmoothnessAlgorithm[]; |
72 | 72 |
73 MEDIA_EXPORT extern const char kEnableVp9InMp4[]; | 73 MEDIA_EXPORT extern const char kEnableVp9InMp4[]; |
74 | 74 |
75 MEDIA_EXPORT extern const char kForceVideoOverlays[]; | 75 MEDIA_EXPORT extern const char kForceVideoOverlays[]; |
76 | 76 |
77 MEDIA_EXPORT extern const char kMSEAudioBufferSizeLimit[]; | 77 MEDIA_EXPORT extern const char kMSEAudioBufferSizeLimit[]; |
78 MEDIA_EXPORT extern const char kMSEVideoBufferSizeLimit[]; | 78 MEDIA_EXPORT extern const char kMSEVideoBufferSizeLimit[]; |
79 | 79 |
80 MEDIA_EXPORT extern const char kIgnoreAutoplayRestrictionsForTests[]; | |
81 | |
82 namespace autoplay { | 80 namespace autoplay { |
83 | 81 |
84 MEDIA_EXPORT extern const char kCrossOriginUserGestureRequiredPolicy[]; | 82 MEDIA_EXPORT extern const char kCrossOriginUserGestureRequiredPolicy[]; |
85 MEDIA_EXPORT extern const char kNoUserGestureRequiredPolicy[]; | 83 MEDIA_EXPORT extern const char kNoUserGestureRequiredPolicy[]; |
86 MEDIA_EXPORT extern const char kUserGestureRequiredPolicy[]; | 84 MEDIA_EXPORT extern const char kUserGestureRequiredPolicy[]; |
87 | 85 |
88 } // namespace autoplay | 86 } // namespace autoplay |
89 | 87 |
90 } // namespace switches | 88 } // namespace switches |
91 | 89 |
(...skipping 21 matching lines...) Expand all Loading... |
113 #endif // defined(OS_ANDROID) | 111 #endif // defined(OS_ANDROID) |
114 | 112 |
115 #if defined(OS_WIN) | 113 #if defined(OS_WIN) |
116 MEDIA_EXPORT extern const base::Feature kD3D11VideoDecoding; | 114 MEDIA_EXPORT extern const base::Feature kD3D11VideoDecoding; |
117 MEDIA_EXPORT extern const base::Feature kMediaFoundationH264Encoding; | 115 MEDIA_EXPORT extern const base::Feature kMediaFoundationH264Encoding; |
118 #endif // defined(OS_WIN) | 116 #endif // defined(OS_WIN) |
119 | 117 |
120 } // namespace media | 118 } // namespace media |
121 | 119 |
122 #endif // MEDIA_BASE_MEDIA_SWITCHES_H_ | 120 #endif // MEDIA_BASE_MEDIA_SWITCHES_H_ |
OLD | NEW |