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

Side by Side Diff: content/public/common/content_switches.cc

Issue 20104005: enable MSE and legacy EME by default on Android (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | Annotate | Revision Log
« no previous file with comments | « content/public/common/content_switches.h ('k') | no next file » | 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 #include "content/public/common/content_switches.h" 5 #include "content/public/common/content_switches.h"
6 6
7 namespace switches { 7 namespace switches {
8 8
9 // By default, file:// URIs cannot read other file:// URIs. This is an 9 // By default, file:// URIs cannot read other file:// URIs. This is an
10 // override for developers who need the old behavior for testing. 10 // override for developers who need the old behavior for testing.
(...skipping 368 matching lines...) Expand 10 before | Expand all | Expand 10 after
379 // Enables the memory benchmarking extension 379 // Enables the memory benchmarking extension
380 const char kEnableMemoryBenchmarking[] = "enable-memory-benchmarking"; 380 const char kEnableMemoryBenchmarking[] = "enable-memory-benchmarking";
381 381
382 // Enables the Skia benchmarking extension 382 // Enables the Skia benchmarking extension
383 const char kEnableSkiaBenchmarking[] = "enable-skia-benchmarking"; 383 const char kEnableSkiaBenchmarking[] = "enable-skia-benchmarking";
384 384
385 // Force logging to be enabled. Logging is disabled by default in release 385 // Force logging to be enabled. Logging is disabled by default in release
386 // builds. 386 // builds.
387 const char kEnableLogging[] = "enable-logging"; 387 const char kEnableLogging[] = "enable-logging";
388 388
389 // Enable for Android (see http://crbug.com/233420) or disable for desktop the 389 // Disable prefixed Media Source API (i.e., the WebKitMediaSource object).
xhwang 2013/07/24 22:22:35 s/Disable/Disables/
qinmin 2013/07/24 22:32:42 Done.
390 // prefixed Media Source API (i.e., the WebKitMediaSource object).
391 #if defined(ANDROID) && !defined(GOOGLE_TV)
392 const char kEnableWebKitMediaSource[] = "enable-webkit-media-source";
393 #else
394 const char kDisableWebKitMediaSource[] = "disable-webkit-media-source"; 390 const char kDisableWebKitMediaSource[] = "disable-webkit-media-source";
395 #endif
396 391
397 // Enables support for Encrypted Media Extensions (e.g. MediaKeys). 392 // Enables support for Encrypted Media Extensions (e.g. MediaKeys).
398 const char kEnableEncryptedMedia[] = "enable-encrypted-media"; 393 const char kEnableEncryptedMedia[] = "enable-encrypted-media";
399 394
400 // Disables prefixed Encrypted Media API (e.g. webkitGenerateKeyRequest()). 395 // Disables prefixed Encrypted Media API (e.g. webkitGenerateKeyRequest()).
401 const char kDisableLegacyEncryptedMedia[] = "disable-legacy-encrypted-media"; 396 const char kDisableLegacyEncryptedMedia[] = "disable-legacy-encrypted-media";
402 397
403 // Use fake device for MediaStream to replace actual camera and microphone. 398 // Use fake device for MediaStream to replace actual camera and microphone.
404 const char kUseFakeDeviceForMediaStream[] = "use-fake-device-for-media-stream"; 399 const char kUseFakeDeviceForMediaStream[] = "use-fake-device-for-media-stream";
405 400
(...skipping 494 matching lines...) Expand 10 before | Expand all | Expand 10 after
900 const char kEnableWebGLDraftExtensions[] = "enable-webgl-draft-extensions"; 895 const char kEnableWebGLDraftExtensions[] = "enable-webgl-draft-extensions";
901 896
902 // Enables/disables accelerated compositing for backgrounds of root layers with 897 // Enables/disables accelerated compositing for backgrounds of root layers with
903 // background-attachment: fixed. Requires kForceCompositingMode. 898 // background-attachment: fixed. Requires kForceCompositingMode.
904 const char kDisableAcceleratedFixedRootBackground[] = 899 const char kDisableAcceleratedFixedRootBackground[] =
905 "disable-accelerated-fixed-root-background"; 900 "disable-accelerated-fixed-root-background";
906 const char kEnableAcceleratedFixedRootBackground[] = 901 const char kEnableAcceleratedFixedRootBackground[] =
907 "enable-accelerated-fixed-root-background"; 902 "enable-accelerated-fixed-root-background";
908 903
909 } // namespace switches 904 } // namespace switches
OLDNEW
« no previous file with comments | « content/public/common/content_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698