| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 | 8 |
| 9 namespace switches { | 9 namespace switches { |
| 10 | 10 |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 119 const char kDisablePlugins[] = "disable-plugins"; | 119 const char kDisablePlugins[] = "disable-plugins"; |
| 120 | 120 |
| 121 // Disable pop-up blocking. | 121 // Disable pop-up blocking. |
| 122 const char kDisablePopupBlocking[] = "disable-popup-blocking"; | 122 const char kDisablePopupBlocking[] = "disable-popup-blocking"; |
| 123 | 123 |
| 124 // Normally when the user attempts to navigate to a page that was the result of | 124 // Normally when the user attempts to navigate to a page that was the result of |
| 125 // a post we prompt to make sure they want to. This switch may be used to | 125 // a post we prompt to make sure they want to. This switch may be used to |
| 126 // disable that check. This switch is used during automated testing. | 126 // disable that check. This switch is used during automated testing. |
| 127 const char kDisablePromptOnRepost[] = "disable-prompt-on-repost"; | 127 const char kDisablePromptOnRepost[] = "disable-prompt-on-repost"; |
| 128 | 128 |
| 129 // Disable remote web font support. SVG font should always work whether |
| 130 // this option is specified or not. |
| 131 const char kDisableRemoteFonts[] = "disable-remote-fonts"; |
| 132 |
| 129 // Enable shared workers. Functionality not yet complete. | 133 // Enable shared workers. Functionality not yet complete. |
| 130 const char kDisableSharedWorkers[] = "disable-shared-workers"; | 134 const char kDisableSharedWorkers[] = "disable-shared-workers"; |
| 131 | 135 |
| 132 // Disable site-specific tailoring to compatibility issues in WebKit. | 136 // Disable site-specific tailoring to compatibility issues in WebKit. |
| 133 const char kDisableSiteSpecificQuirks[] = "disable-site-specific-quirks"; | 137 const char kDisableSiteSpecificQuirks[] = "disable-site-specific-quirks"; |
| 134 | 138 |
| 135 // Disable syncing bookmarks to a Google Account. | 139 // Disable syncing bookmarks to a Google Account. |
| 136 const char kDisableSync[] = "disable-sync"; | 140 const char kDisableSync[] = "disable-sync"; |
| 137 | 141 |
| 138 // Enables the backend service for web resources, used in the new tab page for | 142 // Enables the backend service for web resources, used in the new tab page for |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 211 | 215 |
| 212 // Enable Native Web Worker support. | 216 // Enable Native Web Worker support. |
| 213 const char kEnableNativeWebWorkers[] = "enable-native-web-workers"; | 217 const char kEnableNativeWebWorkers[] = "enable-native-web-workers"; |
| 214 | 218 |
| 215 // Enable AutoFill++. | 219 // Enable AutoFill++. |
| 216 const char kEnableNewAutoFill[] = "enable-new-autofill"; | 220 const char kEnableNewAutoFill[] = "enable-new-autofill"; |
| 217 | 221 |
| 218 // Enable Privacy Blacklists. | 222 // Enable Privacy Blacklists. |
| 219 const char kEnablePrivacyBlacklists[] = "enable-privacy-blacklists"; | 223 const char kEnablePrivacyBlacklists[] = "enable-privacy-blacklists"; |
| 220 | 224 |
| 221 // Enable remote web font support. SVG font should always work whether | |
| 222 // this option is specified or not. | |
| 223 const char kEnableRemoteFonts[] = "enable-remote-fonts"; | |
| 224 | |
| 225 // Turns on the accessibility in the renderer. Off by default until | 225 // Turns on the accessibility in the renderer. Off by default until |
| 226 // http://b/issue?id=1432077 is fixed. | 226 // http://b/issue?id=1432077 is fixed. |
| 227 const char kEnableRendererAccessibility[] = "enable-renderer-accessibility"; | 227 const char kEnableRendererAccessibility[] = "enable-renderer-accessibility"; |
| 228 | 228 |
| 229 // Enable the seccomp sandbox (Linux only) | 229 // Enable the seccomp sandbox (Linux only) |
| 230 const char kEnableSeccompSandbox[] = "enable-seccomp-sandbox"; | 230 const char kEnableSeccompSandbox[] = "enable-seccomp-sandbox"; |
| 231 | 231 |
| 232 // Enable session storage. Still buggy. | 232 // Enable session storage. Still buggy. |
| 233 const char kEnableSessionStorage[] = "enable-session-storage"; | 233 const char kEnableSessionStorage[] = "enable-session-storage"; |
| 234 | 234 |
| (...skipping 471 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 706 | 706 |
| 707 // ----------------------------------------------------------------------------- | 707 // ----------------------------------------------------------------------------- |
| 708 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 708 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 709 // | 709 // |
| 710 // You were going to just dump your switches here, weren't you? Instead, | 710 // You were going to just dump your switches here, weren't you? Instead, |
| 711 // please put them in alphabetical order above, or in order inside the | 711 // please put them in alphabetical order above, or in order inside the |
| 712 // appropriate ifdef at the bottom. The order should match the header. | 712 // appropriate ifdef at the bottom. The order should match the header. |
| 713 // ----------------------------------------------------------------------------- | 713 // ----------------------------------------------------------------------------- |
| 714 | 714 |
| 715 } // namespace switches | 715 } // namespace switches |
| OLD | NEW |