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

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

Issue 2845973005: Reland of name kDisableGestureRequirementForMediaPlayback and make it a test-only flag. (Closed)
Patch Set: Created 3 years, 7 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 // 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
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
80 namespace autoplay { 82 namespace autoplay {
81 83
82 MEDIA_EXPORT extern const char kCrossOriginUserGestureRequiredPolicy[]; 84 MEDIA_EXPORT extern const char kCrossOriginUserGestureRequiredPolicy[];
83 MEDIA_EXPORT extern const char kNoUserGestureRequiredPolicy[]; 85 MEDIA_EXPORT extern const char kNoUserGestureRequiredPolicy[];
84 MEDIA_EXPORT extern const char kUserGestureRequiredPolicy[]; 86 MEDIA_EXPORT extern const char kUserGestureRequiredPolicy[];
85 87
86 } // namespace autoplay 88 } // namespace autoplay
87 89
88 } // namespace switches 90 } // namespace switches
89 91
(...skipping 21 matching lines...) Expand all
111 #endif // defined(OS_ANDROID) 113 #endif // defined(OS_ANDROID)
112 114
113 #if defined(OS_WIN) 115 #if defined(OS_WIN)
114 MEDIA_EXPORT extern const base::Feature kD3D11VideoDecoding; 116 MEDIA_EXPORT extern const base::Feature kD3D11VideoDecoding;
115 MEDIA_EXPORT extern const base::Feature kMediaFoundationH264Encoding; 117 MEDIA_EXPORT extern const base::Feature kMediaFoundationH264Encoding;
116 #endif // defined(OS_WIN) 118 #endif // defined(OS_WIN)
117 119
118 } // namespace media 120 } // namespace media
119 121
120 #endif // MEDIA_BASE_MEDIA_SWITCHES_H_ 122 #endif // MEDIA_BASE_MEDIA_SWITCHES_H_
OLDNEW
« no previous file with comments | « media/base/android/java/src/org/chromium/media/MediaSwitches.java ('k') | media/base/media_switches.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698