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

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

Issue 2830713003: [Media controls] Add rotate-to-fullscreen gesture behind flag (Closed)
Patch Set: Use __func__ instead per styleguide 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 #include "build/build_config.h" 5 #include "build/build_config.h"
6 #include "media/base/media_switches.h" 6 #include "media/base/media_switches.h"
7 #include "ppapi/features/features.h" 7 #include "ppapi/features/features.h"
8 8
9 namespace switches { 9 namespace switches {
10 10
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 // supported platforms. On platforms that do not support ECK, this feature has 206 // supported platforms. On platforms that do not support ECK, this feature has
207 // no effect. 207 // no effect.
208 const base::Feature kExternalClearKeyForTesting{ 208 const base::Feature kExternalClearKeyForTesting{
209 "external-clear-key-for-testing", base::FEATURE_DISABLED_BY_DEFAULT}; 209 "external-clear-key-for-testing", base::FEATURE_DISABLED_BY_DEFAULT};
210 210
211 #if defined(OS_ANDROID) 211 #if defined(OS_ANDROID)
212 // Lock the screen orientation when a video goes fullscreen. 212 // Lock the screen orientation when a video goes fullscreen.
213 const base::Feature kVideoFullscreenOrientationLock{ 213 const base::Feature kVideoFullscreenOrientationLock{
214 "VideoFullscreenOrientationLock", base::FEATURE_ENABLED_BY_DEFAULT}; 214 "VideoFullscreenOrientationLock", base::FEATURE_ENABLED_BY_DEFAULT};
215 215
216 // Enter/exit fullscreen when device is rotated to/from the video orientation.
217 const base::Feature kVideoRotateToFullscreen{"VideoRotateToFullscreen",
218 base::FEATURE_DISABLED_BY_DEFAULT};
219
216 // An experimental feature to enable persistent-license type support in MediaDrm 220 // An experimental feature to enable persistent-license type support in MediaDrm
217 // when using Encrypted Media Extensions (EME) API. 221 // when using Encrypted Media Extensions (EME) API.
218 // TODO(xhwang): Remove this after feature launch. See http://crbug.com/493521 222 // TODO(xhwang): Remove this after feature launch. See http://crbug.com/493521
219 const base::Feature kMediaDrmPersistentLicense{ 223 const base::Feature kMediaDrmPersistentLicense{
220 "MediaDrmPersistentLicense", base::FEATURE_DISABLED_BY_DEFAULT}; 224 "MediaDrmPersistentLicense", base::FEATURE_DISABLED_BY_DEFAULT};
221 225
222 #endif 226 #endif
223 227
224 #if defined(OS_WIN) 228 #if defined(OS_WIN)
225 // Enables video decode acceleration using the D3D11 video decoder api. 229 // Enables video decode acceleration using the D3D11 video decoder api.
226 // This is completely insecure - DO NOT USE except for testing. 230 // This is completely insecure - DO NOT USE except for testing.
227 const base::Feature kD3D11VideoDecoding{"D3D11VideoDecoding", 231 const base::Feature kD3D11VideoDecoding{"D3D11VideoDecoding",
228 base::FEATURE_DISABLED_BY_DEFAULT}; 232 base::FEATURE_DISABLED_BY_DEFAULT};
229 233
230 // Enables H264 HW encode acceleration using Media Foundation for Windows. 234 // Enables H264 HW encode acceleration using Media Foundation for Windows.
231 const base::Feature kMediaFoundationH264Encoding{ 235 const base::Feature kMediaFoundationH264Encoding{
232 "MediaFoundationH264Encoding", base::FEATURE_ENABLED_BY_DEFAULT}; 236 "MediaFoundationH264Encoding", base::FEATURE_ENABLED_BY_DEFAULT};
233 #endif // defined(OS_WIN) 237 #endif // defined(OS_WIN)
234 238
235 } // namespace media 239 } // namespace media
OLDNEW
« no previous file with comments | « media/base/media_switches.h ('k') | third_party/WebKit/Source/core/dom/ElementVisibilityObserver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698