| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 "chrome/common/chrome_switches.h" | 5 #include "chrome/common/chrome_switches.h" |
| 6 | 6 |
| 7 #include "base/base_switches.h" | 7 #include "base/base_switches.h" |
| 8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
| 9 | 9 |
| 10 namespace switches { | 10 namespace switches { |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 116 const char kDisableAuthNegotiateCnameLookup[] = | 116 const char kDisableAuthNegotiateCnameLookup[] = |
| 117 "disable-auth-negotiate-cname-lookup"; | 117 "disable-auth-negotiate-cname-lookup"; |
| 118 | 118 |
| 119 // Disable limits on the number of backing stores. Can prevent blinking for | 119 // Disable limits on the number of backing stores. Can prevent blinking for |
| 120 // users with many windows/tabs and lots of memory. | 120 // users with many windows/tabs and lots of memory. |
| 121 const char kDisableBackingStoreLimit[] = "disable-backing-store-limit"; | 121 const char kDisableBackingStoreLimit[] = "disable-backing-store-limit"; |
| 122 | 122 |
| 123 // Disable support for cached byte-ranges. | 123 // Disable support for cached byte-ranges. |
| 124 const char kDisableByteRangeSupport[] = "disable-byte-range-support"; | 124 const char kDisableByteRangeSupport[] = "disable-byte-range-support"; |
| 125 | 125 |
| 126 // Disables the cookie prompt. | |
| 127 const char kDisableCookiePrompt[] = "disable-cookie-prompt"; | |
| 128 | |
| 129 // Disables the custom JumpList on Windows 7. | 126 // Disables the custom JumpList on Windows 7. |
| 130 const char kDisableCustomJumpList[] = "disable-custom-jumplist"; | 127 const char kDisableCustomJumpList[] = "disable-custom-jumplist"; |
| 131 | 128 |
| 132 // Disables HTML5 DB support. | 129 // Disables HTML5 DB support. |
| 133 const char kDisableDatabases[] = "disable-databases"; | 130 const char kDisableDatabases[] = "disable-databases"; |
| 134 | 131 |
| 135 // Disables desktop notifications (default enabled on windows). | 132 // Disables desktop notifications (default enabled on windows). |
| 136 const char kDisableDesktopNotifications[] = "disable-desktop-notifications"; | 133 const char kDisableDesktopNotifications[] = "disable-desktop-notifications"; |
| 137 | 134 |
| 138 // Browser flag to disable the web inspector for all renderers. | 135 // Browser flag to disable the web inspector for all renderers. |
| (...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 300 // Enable click-to-play for blocked plugins. | 297 // Enable click-to-play for blocked plugins. |
| 301 const char kEnableClickToPlay[] = "enable-click-to-play"; | 298 const char kEnableClickToPlay[] = "enable-click-to-play"; |
| 302 | 299 |
| 303 // This applies only when the process type is "service". Enables the | 300 // This applies only when the process type is "service". Enables the |
| 304 // Cloud Print Proxy component within the service process. | 301 // Cloud Print Proxy component within the service process. |
| 305 const char kEnableCloudPrintProxy[] = "enable-cloud-print-proxy"; | 302 const char kEnableCloudPrintProxy[] = "enable-cloud-print-proxy"; |
| 306 | 303 |
| 307 // Enables the Cloud Print dialog hosting code. | 304 // Enables the Cloud Print dialog hosting code. |
| 308 const char kEnableCloudPrint[] = "enable-cloud-print"; | 305 const char kEnableCloudPrint[] = "enable-cloud-print"; |
| 309 | 306 |
| 307 // Enables the cookie prompt. |
| 308 const char kEnableCookiePrompt[ ] = "enable-cookie-prompt"; |
| 309 |
| 310 // Enables device orientation events. | 310 // Enables device orientation events. |
| 311 const char kEnableDeviceOrientation[] = "enable-device-orientation"; | 311 const char kEnableDeviceOrientation[] = "enable-device-orientation"; |
| 312 | 312 |
| 313 // Enables extension APIs that are in development. | 313 // Enables extension APIs that are in development. |
| 314 const char kEnableExperimentalExtensionApis[] = | 314 const char kEnableExperimentalExtensionApis[] = |
| 315 "enable-experimental-extension-apis"; | 315 "enable-experimental-extension-apis"; |
| 316 | 316 |
| 317 // Enable experimental WebGL support. | 317 // Enable experimental WebGL support. |
| 318 const char kEnableExperimentalWebGL[] = "enable-webgl"; | 318 const char kEnableExperimentalWebGL[] = "enable-webgl"; |
| 319 | 319 |
| (...skipping 815 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1135 | 1135 |
| 1136 // ----------------------------------------------------------------------------- | 1136 // ----------------------------------------------------------------------------- |
| 1137 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1137 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1138 // | 1138 // |
| 1139 // You were going to just dump your switches here, weren't you? Instead, | 1139 // You were going to just dump your switches here, weren't you? Instead, |
| 1140 // please put them in alphabetical order above, or in order inside the | 1140 // please put them in alphabetical order above, or in order inside the |
| 1141 // appropriate ifdef at the bottom. The order should match the header. | 1141 // appropriate ifdef at the bottom. The order should match the header. |
| 1142 // ----------------------------------------------------------------------------- | 1142 // ----------------------------------------------------------------------------- |
| 1143 | 1143 |
| 1144 } // namespace switches | 1144 } // namespace switches |
| OLD | NEW |