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

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

Issue 2428873002: Add about_flag for experimenting MediaSession on Desktop (Closed)
Patch Set: fixed cast_shell build Created 4 years, 2 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
« no previous file with comments | « content/browser/media/session/pepper_playback_observer.cc ('k') | media/base/media_switches.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 25 matching lines...) Expand all
36 MEDIA_EXPORT extern const char kForceMediaFoundationVideoCapture[]; 36 MEDIA_EXPORT extern const char kForceMediaFoundationVideoCapture[];
37 MEDIA_EXPORT extern const char kForceWaveAudio[]; 37 MEDIA_EXPORT extern const char kForceWaveAudio[];
38 MEDIA_EXPORT extern const char kTrySupportedChannelLayouts[]; 38 MEDIA_EXPORT extern const char kTrySupportedChannelLayouts[];
39 MEDIA_EXPORT extern const char kWaveOutBuffers[]; 39 MEDIA_EXPORT extern const char kWaveOutBuffers[];
40 #endif 40 #endif
41 41
42 #if defined(USE_CRAS) 42 #if defined(USE_CRAS)
43 MEDIA_EXPORT extern const char kUseCras[]; 43 MEDIA_EXPORT extern const char kUseCras[];
44 #endif 44 #endif
45 45
46 #if !defined(OS_ANDROID) 46 #if !defined(OS_ANDROID) || defined(ENABLE_PLUGINS)
47 MEDIA_EXPORT extern const char kEnableDefaultMediaSession[]; 47 MEDIA_EXPORT extern const char kEnableDefaultMediaSession[];
48 #endif 48 #endif // !defined(OS_ANDROID) || defined(ENABLE_PLUGINS)
49
50 #if defined(ENABLE_PLUGINS)
51 MEDIA_EXPORT extern const char kEnableDefaultMediaSessionWithFlash[];
52 #endif // defined(ENABLE_PLUGINS)
49 53
50 MEDIA_EXPORT extern const char kUseFakeDeviceForMediaStream[]; 54 MEDIA_EXPORT extern const char kUseFakeDeviceForMediaStream[];
51 MEDIA_EXPORT extern const char kUseFileForFakeVideoCapture[]; 55 MEDIA_EXPORT extern const char kUseFileForFakeVideoCapture[];
52 MEDIA_EXPORT extern const char kUseFileForFakeAudioCapture[]; 56 MEDIA_EXPORT extern const char kUseFileForFakeAudioCapture[];
53 57
54 MEDIA_EXPORT extern const char kEnableInbandTextTracks[]; 58 MEDIA_EXPORT extern const char kEnableInbandTextTracks[];
55 59
56 MEDIA_EXPORT extern const char kRequireAudioHardwareForTesting[]; 60 MEDIA_EXPORT extern const char kRequireAudioHardwareForTesting[];
57 61
58 MEDIA_EXPORT extern const char kVideoUnderflowThresholdMs[]; 62 MEDIA_EXPORT extern const char kVideoUnderflowThresholdMs[];
(...skipping 11 matching lines...) Expand all
70 74
71 namespace media { 75 namespace media {
72 76
73 // All features in alphabetical order. The features should be documented 77 // All features in alphabetical order. The features should be documented
74 // alongside the definition of their values in the .cc file. 78 // alongside the definition of their values in the .cc file.
75 79
76 #if defined(OS_WIN) 80 #if defined(OS_WIN)
77 MEDIA_EXPORT extern const base::Feature kMediaFoundationH264Encoding; 81 MEDIA_EXPORT extern const base::Feature kMediaFoundationH264Encoding;
78 #endif // defined(OS_WIN) 82 #endif // defined(OS_WIN)
79 83
80 #if defined(ENABLE_PLUGINS)
81 MEDIA_EXPORT extern const base::Feature kFlashJoinsMediaSession;
82 #endif // defined(ENABLE_PLUGINS)
83
84 MEDIA_EXPORT extern const base::Feature kNewAudioRenderingMixingStrategy; 84 MEDIA_EXPORT extern const base::Feature kNewAudioRenderingMixingStrategy;
85 MEDIA_EXPORT extern const base::Feature kOverlayFullscreenVideo; 85 MEDIA_EXPORT extern const base::Feature kOverlayFullscreenVideo;
86 MEDIA_EXPORT extern const base::Feature kResumeBackgroundVideo; 86 MEDIA_EXPORT extern const base::Feature kResumeBackgroundVideo;
87 MEDIA_EXPORT extern const base::Feature kUseNewMediaCache; 87 MEDIA_EXPORT extern const base::Feature kUseNewMediaCache;
88 MEDIA_EXPORT extern const base::Feature kVideoColorManagement; 88 MEDIA_EXPORT extern const base::Feature kVideoColorManagement;
89 MEDIA_EXPORT extern const base::Feature kExternalClearKeyForTesting; 89 MEDIA_EXPORT extern const base::Feature kExternalClearKeyForTesting;
90 90
91 #if defined(OS_ANDROID) 91 #if defined(OS_ANDROID)
92 MEDIA_EXPORT extern const base::Feature kAndroidMediaPlayerRenderer; 92 MEDIA_EXPORT extern const base::Feature kAndroidMediaPlayerRenderer;
93 #endif // defined(OS_ANDROID) 93 #endif // defined(OS_ANDROID)
94 } // namespace media 94 } // namespace media
95 95
96 #endif // MEDIA_BASE_MEDIA_SWITCHES_H_ 96 #endif // MEDIA_BASE_MEDIA_SWITCHES_H_
OLDNEW
« no previous file with comments | « content/browser/media/session/pepper_playback_observer.cc ('k') | media/base/media_switches.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698