| 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 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 208 // This does NOT enable color management for images. The source is still | 208 // This does NOT enable color management for images. The source is still |
| 209 // assumed to be sRGB. | 209 // assumed to be sRGB. |
| 210 const char kEnableMonitorProfile[] = "enable-monitor-profile"; | 210 const char kEnableMonitorProfile[] = "enable-monitor-profile"; |
| 211 | 211 |
| 212 // Enable Native Web Worker support. | 212 // Enable Native Web Worker support. |
| 213 const char kEnableNativeWebWorkers[] = "enable-native-web-workers"; | 213 const char kEnableNativeWebWorkers[] = "enable-native-web-workers"; |
| 214 | 214 |
| 215 // Enable AutoFill++. | 215 // Enable AutoFill++. |
| 216 const char kEnableNewAutoFill[] = "enable-new-autofill"; | 216 const char kEnableNewAutoFill[] = "enable-new-autofill"; |
| 217 | 217 |
| 218 // Enable Privacy Blacklists. |
| 219 const char kEnablePrivacyBlacklists[] = "enable-privacy-blacklists"; |
| 220 |
| 218 // Enable remote web font support. SVG font should always work whether | 221 // Enable remote web font support. SVG font should always work whether |
| 219 // this option is specified or not. | 222 // this option is specified or not. |
| 220 const char kEnableRemoteFonts[] = "enable-remote-fonts"; | 223 const char kEnableRemoteFonts[] = "enable-remote-fonts"; |
| 221 | 224 |
| 222 // Turns on the accessibility in the renderer. Off by default until | 225 // Turns on the accessibility in the renderer. Off by default until |
| 223 // http://b/issue?id=1432077 is fixed. | 226 // http://b/issue?id=1432077 is fixed. |
| 224 const char kEnableRendererAccessibility[] = "enable-renderer-accessibility"; | 227 const char kEnableRendererAccessibility[] = "enable-renderer-accessibility"; |
| 225 | 228 |
| 226 // Enable the seccomp sandbox (Linux only) | 229 // Enable the seccomp sandbox (Linux only) |
| 227 const char kEnableSeccompSandbox[] = "enable-seccomp-sandbox"; | 230 const char kEnableSeccompSandbox[] = "enable-seccomp-sandbox"; |
| (...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 421 | 424 |
| 422 // Causes the process to run as a plugin subprocess. | 425 // Causes the process to run as a plugin subprocess. |
| 423 const char kPluginProcess[] = "plugin"; | 426 const char kPluginProcess[] = "plugin"; |
| 424 | 427 |
| 425 // Causes the plugin process to display a dialog on launch. | 428 // Causes the plugin process to display a dialog on launch. |
| 426 const char kPluginStartupDialog[] = "plugin-startup-dialog"; | 429 const char kPluginStartupDialog[] = "plugin-startup-dialog"; |
| 427 | 430 |
| 428 // Prints the pages on the screen. | 431 // Prints the pages on the screen. |
| 429 const char kPrint[] = "print"; | 432 const char kPrint[] = "print"; |
| 430 | 433 |
| 431 // Enables the Privacy Blacklist with the specified data file. | |
| 432 // The file contains data from all imported blacklists. | |
| 433 const char kPrivacyBlacklist[] = "privacy-blacklist"; | |
| 434 | |
| 435 // Runs a single process for each site (i.e., group of pages from the same | 434 // Runs a single process for each site (i.e., group of pages from the same |
| 436 // registered domain) the user visits. We default to using a renderer process | 435 // registered domain) the user visits. We default to using a renderer process |
| 437 // for each site instance (i.e., group of pages from the same registered | 436 // for each site instance (i.e., group of pages from the same registered |
| 438 // domain with script connections to each other). | 437 // domain with script connections to each other). |
| 439 const char kProcessPerSite[] = "process-per-site"; | 438 const char kProcessPerSite[] = "process-per-site"; |
| 440 | 439 |
| 441 // Runs each set of script-connected tabs (i.e., a BrowsingInstance) in its own | 440 // Runs each set of script-connected tabs (i.e., a BrowsingInstance) in its own |
| 442 // renderer process. We default to using a renderer process for each | 441 // renderer process. We default to using a renderer process for each |
| 443 // site instance (i.e., group of pages from the same registered domain with | 442 // site instance (i.e., group of pages from the same registered domain with |
| 444 // script connections to each other). | 443 // script connections to each other). |
| (...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 702 | 701 |
| 703 // ----------------------------------------------------------------------------- | 702 // ----------------------------------------------------------------------------- |
| 704 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 703 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 705 // | 704 // |
| 706 // You were going to just dump your switches here, weren't you? Instead, | 705 // You were going to just dump your switches here, weren't you? Instead, |
| 707 // please put them in alphabetical order above, or in order inside the | 706 // please put them in alphabetical order above, or in order inside the |
| 708 // appropriate ifdef at the bottom. The order should match the header. | 707 // appropriate ifdef at the bottom. The order should match the header. |
| 709 // ----------------------------------------------------------------------------- | 708 // ----------------------------------------------------------------------------- |
| 710 | 709 |
| 711 } // namespace switches | 710 } // namespace switches |
| OLD | NEW |