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

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

Issue 2849043002: Send AndroidOverlay routing token from WMPI to AVDA. (Closed)
Patch Set: rebased 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
« no previous file with comments | « media/base/BUILD.gn ('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 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 MEDIA_EXPORT extern const base::Feature kAutoplayPolicy; 104 MEDIA_EXPORT extern const base::Feature kAutoplayPolicy;
105 MEDIA_EXPORT extern const base::Feature kBackgroundVideoPauseOptimization; 105 MEDIA_EXPORT extern const base::Feature kBackgroundVideoPauseOptimization;
106 MEDIA_EXPORT extern const base::Feature kBackgroundVideoTrackOptimization; 106 MEDIA_EXPORT extern const base::Feature kBackgroundVideoTrackOptimization;
107 MEDIA_EXPORT extern const base::Feature kExternalClearKeyForTesting; 107 MEDIA_EXPORT extern const base::Feature kExternalClearKeyForTesting;
108 MEDIA_EXPORT extern const base::Feature kMemoryPressureBasedSourceBufferGC; 108 MEDIA_EXPORT extern const base::Feature kMemoryPressureBasedSourceBufferGC;
109 MEDIA_EXPORT extern const base::Feature kNewAudioRenderingMixingStrategy; 109 MEDIA_EXPORT extern const base::Feature kNewAudioRenderingMixingStrategy;
110 MEDIA_EXPORT extern const base::Feature kNewRemotePlaybackPipeline; 110 MEDIA_EXPORT extern const base::Feature kNewRemotePlaybackPipeline;
111 MEDIA_EXPORT extern const base::Feature kOverlayFullscreenVideo; 111 MEDIA_EXPORT extern const base::Feature kOverlayFullscreenVideo;
112 MEDIA_EXPORT extern const base::Feature kResumeBackgroundVideo; 112 MEDIA_EXPORT extern const base::Feature kResumeBackgroundVideo;
113 MEDIA_EXPORT extern const base::Feature kSpecCompliantCanPlayThrough; 113 MEDIA_EXPORT extern const base::Feature kSpecCompliantCanPlayThrough;
114 MEDIA_EXPORT extern const base::Feature kUseAndroidOverlay;
114 MEDIA_EXPORT extern const base::Feature kUseNewMediaCache; 115 MEDIA_EXPORT extern const base::Feature kUseNewMediaCache;
115 MEDIA_EXPORT extern const base::Feature kVideoBlitColorAccuracy; 116 MEDIA_EXPORT extern const base::Feature kVideoBlitColorAccuracy;
116 MEDIA_EXPORT extern const base::Feature kVideoColorManagement; 117 MEDIA_EXPORT extern const base::Feature kVideoColorManagement;
117 MEDIA_EXPORT extern const base::Feature kMediaEngagement; 118 MEDIA_EXPORT extern const base::Feature kMediaEngagement;
118 119
119 #if defined(OS_ANDROID) 120 #if defined(OS_ANDROID)
120 MEDIA_EXPORT extern const base::Feature kAndroidMediaPlayerRenderer;
121 MEDIA_EXPORT extern const base::Feature kVideoFullscreenOrientationLock; 121 MEDIA_EXPORT extern const base::Feature kVideoFullscreenOrientationLock;
122 MEDIA_EXPORT extern const base::Feature kVideoRotateToFullscreen; 122 MEDIA_EXPORT extern const base::Feature kVideoRotateToFullscreen;
123 MEDIA_EXPORT extern const base::Feature kMediaDrmPersistentLicense; 123 MEDIA_EXPORT extern const base::Feature kMediaDrmPersistentLicense;
124 #endif // defined(OS_ANDROID) 124 #endif // defined(OS_ANDROID)
125 125
126 #if defined(OS_WIN) 126 #if defined(OS_WIN)
127 MEDIA_EXPORT extern const base::Feature kD3D11VideoDecoding; 127 MEDIA_EXPORT extern const base::Feature kD3D11VideoDecoding;
128 MEDIA_EXPORT extern const base::Feature kMediaFoundationH264Encoding; 128 MEDIA_EXPORT extern const base::Feature kMediaFoundationH264Encoding;
129 #endif // defined(OS_WIN) 129 #endif // defined(OS_WIN)
130 130
131 // Based on a |command_line| and the current platform, returns the effective 131 // Based on a |command_line| and the current platform, returns the effective
132 // autoplay policy. In other words, it will take into account the default policy 132 // autoplay policy. In other words, it will take into account the default policy
133 // if none is specified via the command line and options passed for testing. 133 // if none is specified via the command line and options passed for testing.
134 // Returns one of the possible autoplay policy switches from the 134 // Returns one of the possible autoplay policy switches from the
135 // switches::autoplay namespace. 135 // switches::autoplay namespace.
136 MEDIA_EXPORT std::string GetEffectiveAutoplayPolicy( 136 MEDIA_EXPORT std::string GetEffectiveAutoplayPolicy(
137 const base::CommandLine& command_line); 137 const base::CommandLine& command_line);
138 138
139 } // namespace media 139 } // namespace media
140 140
141 #endif // MEDIA_BASE_MEDIA_SWITCHES_H_ 141 #endif // MEDIA_BASE_MEDIA_SWITCHES_H_
OLDNEW
« no previous file with comments | « media/base/BUILD.gn ('k') | media/base/media_switches.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698