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

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

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

Powered by Google App Engine
This is Rietveld 408576698