Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 320 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 331 // Enables TRACE for GL calls in the renderer. | 331 // Enables TRACE for GL calls in the renderer. |
| 332 const char kEnableGpuClientTracing[] = "enable-gpu-client-tracing"; | 332 const char kEnableGpuClientTracing[] = "enable-gpu-client-tracing"; |
| 333 | 333 |
| 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 // Force logging to be enabled. Logging is disabled by default in release | 337 // Force logging to be enabled. Logging is disabled by default in release |
| 338 // builds. | 338 // builds. |
| 339 const char kEnableLogging[] = "enable-logging"; | 339 const char kEnableLogging[] = "enable-logging"; |
| 340 | 340 |
| 341 // Disable Media Source API on <audio>/<video> elements. | 341 // Disable prefixed Media Source API (ie the WebKitMediaSource object). |
|
scherkus (not reviewing)
2013/05/10 21:36:32
pedantic nit:
s/ie/i.e.,/
http://www.betterwriti
| |
| 342 const char kDisableMediaSource[] = "disable-media-source"; | 342 const char kDisableWebKitMediaSource[] = "disable-webkit-media-source"; |
| 343 | 343 |
| 344 // Use fake device for MediaStream to replace actual camera and microphone. | 344 // Use fake device for MediaStream to replace actual camera and microphone. |
| 345 const char kUseFakeDeviceForMediaStream[] = "use-fake-device-for-media-stream"; | 345 const char kUseFakeDeviceForMediaStream[] = "use-fake-device-for-media-stream"; |
| 346 | 346 |
| 347 // On Windows, converts the page to the currently-installed monitor profile. | 347 // On Windows, converts the page to the currently-installed monitor profile. |
| 348 // This does NOT enable color management for images. The source is still | 348 // This does NOT enable color management for images. The source is still |
| 349 // assumed to be sRGB. | 349 // assumed to be sRGB. |
| 350 const char kEnableMonitorProfile[] = "enable-monitor-profile"; | 350 const char kEnableMonitorProfile[] = "enable-monitor-profile"; |
| 351 | 351 |
| 352 // Enables compositor-accelerated touch-screen pinch gestures. | 352 // Enables compositor-accelerated touch-screen pinch gestures. |
| (...skipping 448 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 801 const char kOverscrollHistoryNavigation[] = | 801 const char kOverscrollHistoryNavigation[] = |
| 802 "overscroll-history-navigation"; | 802 "overscroll-history-navigation"; |
| 803 | 803 |
| 804 // Forward overscroll event data from the renderer to the browser. | 804 // Forward overscroll event data from the renderer to the browser. |
| 805 const char kEnableOverscrollNotifications[] = "enable-overscroll-notifications"; | 805 const char kEnableOverscrollNotifications[] = "enable-overscroll-notifications"; |
| 806 | 806 |
| 807 // Enables 'image/webp' accept header for image requests. | 807 // Enables 'image/webp' accept header for image requests. |
| 808 const char kEnableWebPInAcceptHeader[] = "enable-webp-in-accept-header"; | 808 const char kEnableWebPInAcceptHeader[] = "enable-webp-in-accept-header"; |
| 809 | 809 |
| 810 } // namespace switches | 810 } // namespace switches |
| OLD | NEW |