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

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

Issue 2954773002: Adds video-surface feature switch. (Closed)
Patch Set: Switch to CamelCase. Created 3 years, 5 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 | « no previous file | 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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 MEDIA_EXPORT extern const base::Feature kMojoCdm; 112 MEDIA_EXPORT extern const base::Feature kMojoCdm;
113 MEDIA_EXPORT extern const base::Feature kNewAudioRenderingMixingStrategy; 113 MEDIA_EXPORT extern const base::Feature kNewAudioRenderingMixingStrategy;
114 MEDIA_EXPORT extern const base::Feature kNewRemotePlaybackPipeline; 114 MEDIA_EXPORT extern const base::Feature kNewRemotePlaybackPipeline;
115 MEDIA_EXPORT extern const base::Feature kOverlayFullscreenVideo; 115 MEDIA_EXPORT extern const base::Feature kOverlayFullscreenVideo;
116 MEDIA_EXPORT extern const base::Feature kResumeBackgroundVideo; 116 MEDIA_EXPORT extern const base::Feature kResumeBackgroundVideo;
117 MEDIA_EXPORT extern const base::Feature kSpecCompliantCanPlayThrough; 117 MEDIA_EXPORT extern const base::Feature kSpecCompliantCanPlayThrough;
118 MEDIA_EXPORT extern const base::Feature kUseAndroidOverlay; 118 MEDIA_EXPORT extern const base::Feature kUseAndroidOverlay;
119 MEDIA_EXPORT extern const base::Feature kUseNewMediaCache; 119 MEDIA_EXPORT extern const base::Feature kUseNewMediaCache;
120 MEDIA_EXPORT extern const base::Feature kVideoBlitColorAccuracy; 120 MEDIA_EXPORT extern const base::Feature kVideoBlitColorAccuracy;
121 MEDIA_EXPORT extern const base::Feature kVideoColorManagement; 121 MEDIA_EXPORT extern const base::Feature kVideoColorManagement;
122 MEDIA_EXPORT extern const base::Feature kUseSurfaceLayerForVideo;
122 MEDIA_EXPORT extern const base::Feature kMediaEngagement; 123 MEDIA_EXPORT extern const base::Feature kMediaEngagement;
123 124
124 #if defined(OS_ANDROID) 125 #if defined(OS_ANDROID)
125 MEDIA_EXPORT extern const base::Feature kVideoFullscreenOrientationLock; 126 MEDIA_EXPORT extern const base::Feature kVideoFullscreenOrientationLock;
126 MEDIA_EXPORT extern const base::Feature kVideoRotateToFullscreen; 127 MEDIA_EXPORT extern const base::Feature kVideoRotateToFullscreen;
127 MEDIA_EXPORT extern const base::Feature kMediaDrmPersistentLicense; 128 MEDIA_EXPORT extern const base::Feature kMediaDrmPersistentLicense;
128 #endif // defined(OS_ANDROID) 129 #endif // defined(OS_ANDROID)
129 130
130 #if defined(OS_WIN) 131 #if defined(OS_WIN)
131 MEDIA_EXPORT extern const base::Feature kD3D11VideoDecoding; 132 MEDIA_EXPORT extern const base::Feature kD3D11VideoDecoding;
132 MEDIA_EXPORT extern const base::Feature kDelayCopyNV12Textures; 133 MEDIA_EXPORT extern const base::Feature kDelayCopyNV12Textures;
133 MEDIA_EXPORT extern const base::Feature kMediaFoundationH264Encoding; 134 MEDIA_EXPORT extern const base::Feature kMediaFoundationH264Encoding;
134 #endif // defined(OS_WIN) 135 #endif // defined(OS_WIN)
135 136
136 // Based on a |command_line| and the current platform, returns the effective 137 // Based on a |command_line| and the current platform, returns the effective
137 // autoplay policy. In other words, it will take into account the default policy 138 // autoplay policy. In other words, it will take into account the default policy
138 // if none is specified via the command line and options passed for testing. 139 // if none is specified via the command line and options passed for testing.
139 // Returns one of the possible autoplay policy switches from the 140 // Returns one of the possible autoplay policy switches from the
140 // switches::autoplay namespace. 141 // switches::autoplay namespace.
141 MEDIA_EXPORT std::string GetEffectiveAutoplayPolicy( 142 MEDIA_EXPORT std::string GetEffectiveAutoplayPolicy(
142 const base::CommandLine& command_line); 143 const base::CommandLine& command_line);
143 144
144 } // namespace media 145 } // namespace media
145 146
146 #endif // MEDIA_BASE_MEDIA_SWITCHES_H_ 147 #endif // MEDIA_BASE_MEDIA_SWITCHES_H_
OLDNEW
« no previous file with comments | « no previous file | media/base/media_switches.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698