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

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

Issue 2830713003: [Media controls] Add rotate-to-fullscreen gesture behind flag (Closed)
Patch Set: Created 3 years, 8 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 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 // supported platforms. On platforms that do not support ECK, this feature has 199 // supported platforms. On platforms that do not support ECK, this feature has
200 // no effect. 200 // no effect.
201 const base::Feature kExternalClearKeyForTesting{ 201 const base::Feature kExternalClearKeyForTesting{
202 "external-clear-key-for-testing", base::FEATURE_DISABLED_BY_DEFAULT}; 202 "external-clear-key-for-testing", base::FEATURE_DISABLED_BY_DEFAULT};
203 203
204 #if defined(OS_ANDROID) 204 #if defined(OS_ANDROID)
205 // Lock the screen orientation when a video goes fullscreen. 205 // Lock the screen orientation when a video goes fullscreen.
206 const base::Feature kVideoFullscreenOrientationLock{ 206 const base::Feature kVideoFullscreenOrientationLock{
207 "VideoFullscreenOrientationLock", base::FEATURE_ENABLED_BY_DEFAULT}; 207 "VideoFullscreenOrientationLock", base::FEATURE_ENABLED_BY_DEFAULT};
208 208
209 // Enter/exit fullscreen when device is rotated to/from the video orientation.
210 const base::Feature kVideoRotateToFullscreen{"VideoRotateToFullscreen",
211 base::FEATURE_DISABLED_BY_DEFAULT};
212
209 // An experimental feature to enable persistent-license type support in MediaDrm 213 // An experimental feature to enable persistent-license type support in MediaDrm
210 // when using Encrypted Media Extensions (EME) API. 214 // when using Encrypted Media Extensions (EME) API.
211 // TODO(xhwang): Remove this after feature launch. See http://crbug.com/493521 215 // TODO(xhwang): Remove this after feature launch. See http://crbug.com/493521
212 const base::Feature kMediaDrmPersistentLicense{ 216 const base::Feature kMediaDrmPersistentLicense{
213 "MediaDrmPersistentLicense", base::FEATURE_DISABLED_BY_DEFAULT}; 217 "MediaDrmPersistentLicense", base::FEATURE_DISABLED_BY_DEFAULT};
214 218
215 #endif 219 #endif
216 220
217 } // namespace media 221 } // namespace media
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698