| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/common/content_switches.h" | 5 #include "content/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 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 126 | 126 |
| 127 // Enables the benchmarking extensions. | 127 // Enables the benchmarking extensions. |
| 128 const char kEnableBenchmarking[] = "enable-benchmarking"; | 128 const char kEnableBenchmarking[] = "enable-benchmarking"; |
| 129 | 129 |
| 130 // Enables device motion events. | 130 // Enables device motion events. |
| 131 const char kEnableDeviceMotion[] = "enable-device-motion"; | 131 const char kEnableDeviceMotion[] = "enable-device-motion"; |
| 132 | 132 |
| 133 // Enable the GPU plugin and Pepper 3D rendering. | 133 // Enable the GPU plugin and Pepper 3D rendering. |
| 134 const char kEnableGPUPlugin[] = "enable-gpu-plugin"; | 134 const char kEnableGPUPlugin[] = "enable-gpu-plugin"; |
| 135 | 135 |
| 136 // Enable the IPC fuzzer for reliability testing |
| 137 const char kEnableIPCFuzzing[] = "enable-ipc-fuzzing"; |
| 138 |
| 136 // Force logging to be enabled. Logging is disabled by default in release | 139 // Force logging to be enabled. Logging is disabled by default in release |
| 137 // builds. | 140 // builds. |
| 138 const char kEnableLogging[] = "enable-logging"; | 141 const char kEnableLogging[] = "enable-logging"; |
| 139 | 142 |
| 140 // On Windows, converts the page to the currently-installed monitor profile. | 143 // On Windows, converts the page to the currently-installed monitor profile. |
| 141 // This does NOT enable color management for images. The source is still | 144 // This does NOT enable color management for images. The source is still |
| 142 // assumed to be sRGB. | 145 // assumed to be sRGB. |
| 143 const char kEnableMonitorProfile[] = "enable-monitor-profile"; | 146 const char kEnableMonitorProfile[] = "enable-monitor-profile"; |
| 144 | 147 |
| 145 // Enable caching of pre-parsed JS script data. See http://crbug.com/32407. | 148 // Enable caching of pre-parsed JS script data. See http://crbug.com/32407. |
| (...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 397 // Enable Pepper and JavaScript P2P API. | 400 // Enable Pepper and JavaScript P2P API. |
| 398 const char kEnableP2PApi[] = "enable-p2papi"; | 401 const char kEnableP2PApi[] = "enable-p2papi"; |
| 399 #endif | 402 #endif |
| 400 | 403 |
| 401 #if !defined(OFFICIAL_BUILD) | 404 #if !defined(OFFICIAL_BUILD) |
| 402 // Causes the renderer process to throw an assertion on launch. | 405 // Causes the renderer process to throw an assertion on launch. |
| 403 const char kRendererCheckFalseTest[] = "renderer-check-false-test"; | 406 const char kRendererCheckFalseTest[] = "renderer-check-false-test"; |
| 404 #endif | 407 #endif |
| 405 | 408 |
| 406 } // namespace switches | 409 } // namespace switches |
| OLD | NEW |