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

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

Issue 15383003: Rename switch to disable prefixed Encrypted Media APIs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: string improvements Created 7 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 | Annotate | Revision Log
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 323 matching lines...) Expand 10 before | Expand all | Expand 10 after
334 // Enables the memory benchmarking extension 334 // Enables the memory benchmarking extension
335 const char kEnableMemoryBenchmarking[] = "enable-memory-benchmarking"; 335 const char kEnableMemoryBenchmarking[] = "enable-memory-benchmarking";
336 336
337 // Enables the Skia benchmarking extension 337 // Enables the Skia benchmarking extension
338 const char kEnableSkiaBenchmarking[] = "enable-skia-benchmarking"; 338 const char kEnableSkiaBenchmarking[] = "enable-skia-benchmarking";
339 339
340 // Force logging to be enabled. Logging is disabled by default in release 340 // Force logging to be enabled. Logging is disabled by default in release
341 // builds. 341 // builds.
342 const char kEnableLogging[] = "enable-logging"; 342 const char kEnableLogging[] = "enable-logging";
343 343
344 // Enables support for Encrypted Media Extensions (e.g. MediaKeys).
345 const char kEnableEncryptedMedia[] = "enable-encrypted-media";
346
347 // Disables prefixed Encrypted Media API (e.g. webkitGenerateKeyRequest()).
348 const char kDisableLegacyEncryptedMedia[] = "disable-legacy-encrypted-media";
349
344 // Disable prefixed Media Source API (i.e., the WebKitMediaSource object). 350 // Disable prefixed Media Source API (i.e., the WebKitMediaSource object).
345 const char kDisableWebKitMediaSource[] = "disable-webkit-media-source"; 351 const char kDisableWebKitMediaSource[] = "disable-webkit-media-source";
346 352
347 // Use fake device for MediaStream to replace actual camera and microphone. 353 // Use fake device for MediaStream to replace actual camera and microphone.
348 const char kUseFakeDeviceForMediaStream[] = "use-fake-device-for-media-stream"; 354 const char kUseFakeDeviceForMediaStream[] = "use-fake-device-for-media-stream";
349 355
350 // On Windows, converts the page to the currently-installed monitor profile. 356 // On Windows, converts the page to the currently-installed monitor profile.
351 // This does NOT enable color management for images. The source is still 357 // This does NOT enable color management for images. The source is still
352 // assumed to be sRGB. 358 // assumed to be sRGB.
353 const char kEnableMonitorProfile[] = "enable-monitor-profile"; 359 const char kEnableMonitorProfile[] = "enable-monitor-profile";
(...skipping 456 matching lines...) Expand 10 before | Expand all | Expand 10 after
810 const char kOverscrollHistoryNavigation[] = 816 const char kOverscrollHistoryNavigation[] =
811 "overscroll-history-navigation"; 817 "overscroll-history-navigation";
812 818
813 // Forward overscroll event data from the renderer to the browser. 819 // Forward overscroll event data from the renderer to the browser.
814 const char kEnableOverscrollNotifications[] = "enable-overscroll-notifications"; 820 const char kEnableOverscrollNotifications[] = "enable-overscroll-notifications";
815 821
816 // Enables 'image/webp' accept header for image requests. 822 // Enables 'image/webp' accept header for image requests.
817 const char kEnableWebPInAcceptHeader[] = "enable-webp-in-accept-header"; 823 const char kEnableWebPInAcceptHeader[] = "enable-webp-in-accept-header";
818 824
819 } // namespace switches 825 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698