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

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

Issue 14582024: Change media source switch to refer to the prefixed API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase 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
« no previous file with comments | « content/public/common/content_switches.h ('k') | content/renderer/render_thread_impl.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 #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 // Disable Media Source API on <audio>/<video> elements. 344 // Disable prefixed Media Source API (i.e., the WebKitMediaSource object).
345 const char kDisableMediaSource[] = "disable-media-source"; 345 const char kDisableWebKitMediaSource[] = "disable-webkit-media-source";
346 346
347 // Use fake device for MediaStream to replace actual camera and microphone. 347 // Use fake device for MediaStream to replace actual camera and microphone.
348 const char kUseFakeDeviceForMediaStream[] = "use-fake-device-for-media-stream"; 348 const char kUseFakeDeviceForMediaStream[] = "use-fake-device-for-media-stream";
349 349
350 // On Windows, converts the page to the currently-installed monitor profile. 350 // On Windows, converts the page to the currently-installed monitor profile.
351 // This does NOT enable color management for images. The source is still 351 // This does NOT enable color management for images. The source is still
352 // assumed to be sRGB. 352 // assumed to be sRGB.
353 const char kEnableMonitorProfile[] = "enable-monitor-profile"; 353 const char kEnableMonitorProfile[] = "enable-monitor-profile";
354 354
355 // Enables compositor-accelerated touch-screen pinch gestures. 355 // Enables compositor-accelerated touch-screen pinch gestures.
(...skipping 448 matching lines...) Expand 10 before | Expand all | Expand 10 after
804 const char kOverscrollHistoryNavigation[] = 804 const char kOverscrollHistoryNavigation[] =
805 "overscroll-history-navigation"; 805 "overscroll-history-navigation";
806 806
807 // Forward overscroll event data from the renderer to the browser. 807 // Forward overscroll event data from the renderer to the browser.
808 const char kEnableOverscrollNotifications[] = "enable-overscroll-notifications"; 808 const char kEnableOverscrollNotifications[] = "enable-overscroll-notifications";
809 809
810 // Enables 'image/webp' accept header for image requests. 810 // Enables 'image/webp' accept header for image requests.
811 const char kEnableWebPInAcceptHeader[] = "enable-webp-in-accept-header"; 811 const char kEnableWebPInAcceptHeader[] = "enable-webp-in-accept-header";
812 812
813 } // namespace switches 813 } // namespace switches
OLDNEW
« no previous file with comments | « content/public/common/content_switches.h ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698