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 "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 284 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
295 | 295 |
296 // Disables remote web font support. SVG font should always work whether this | 296 // Disables remote web font support. SVG font should always work whether this |
297 // option is specified or not. | 297 // option is specified or not. |
298 const char kDisableRemoteFonts[] = "disable-remote-fonts"; | 298 const char kDisableRemoteFonts[] = "disable-remote-fonts"; |
299 | 299 |
300 // Prevents the URLs of BackgroundContents from being remembered and | 300 // Prevents the URLs of BackgroundContents from being remembered and |
301 // re-launched when the browser restarts. | 301 // re-launched when the browser restarts. |
302 const char kDisableRestoreBackgroundContents[] = | 302 const char kDisableRestoreBackgroundContents[] = |
303 "disable-restore-background-contents"; | 303 "disable-restore-background-contents"; |
304 | 304 |
| 305 // Disables the ShortcutsProvider for autocomplete results. |
| 306 const char kDisableShortcutsProvider[] = "disable-shortcuts-provider"; |
| 307 |
305 // Disables site-specific tailoring to compatibility issues in WebKit. | 308 // Disables site-specific tailoring to compatibility issues in WebKit. |
306 const char kDisableSiteSpecificQuirks[] = "disable-site-specific-quirks"; | 309 const char kDisableSiteSpecificQuirks[] = "disable-site-specific-quirks"; |
307 | 310 |
308 // Disables SSL v3 (usually for testing purposes). | 311 // Disables SSL v3 (usually for testing purposes). |
309 const char kDisableSSL3[] = "disable-ssl3"; | 312 const char kDisableSSL3[] = "disable-ssl3"; |
310 | 313 |
311 // Disables syncing browser data to a Google Account. | 314 // Disables syncing browser data to a Google Account. |
312 const char kDisableSync[] = "disable-sync"; | 315 const char kDisableSync[] = "disable-sync"; |
313 | 316 |
314 // Disables syncing of apps. | 317 // Disables syncing of apps. |
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
522 // Controls the support for SDCH filtering (dictionary based expansion of | 525 // Controls the support for SDCH filtering (dictionary based expansion of |
523 // content). By default SDCH filtering is enabled. To disable SDCH filtering, | 526 // content). By default SDCH filtering is enabled. To disable SDCH filtering, |
524 // use "--enable-sdch=0" as command line argument. SDCH is currently only | 527 // use "--enable-sdch=0" as command line argument. SDCH is currently only |
525 // supported server-side for searches on google.com. | 528 // supported server-side for searches on google.com. |
526 const char kEnableSdch[] = "enable-sdch"; | 529 const char kEnableSdch[] = "enable-sdch"; |
527 | 530 |
528 // Enables the IsSearchProviderInstalled and InstallSearchProvider with an | 531 // Enables the IsSearchProviderInstalled and InstallSearchProvider with an |
529 // extra parameter to indicate if the provider should be the default. | 532 // extra parameter to indicate if the provider should be the default. |
530 const char kEnableSearchProviderApiV2[] = "enable-search-provider-api-v2"; | 533 const char kEnableSearchProviderApiV2[] = "enable-search-provider-api-v2"; |
531 | 534 |
532 // Enables the use of the ShortcutsProvider for autocomplete results. | |
533 const char kEnableShortcutsProvider[] = "enable-shortcuts-provider"; | |
534 | |
535 // On platforms that support it, enables smooth scroll animation. | 535 // On platforms that support it, enables smooth scroll animation. |
536 const char kEnableSmoothScrolling[] = "enable-smooth-scrolling"; | 536 const char kEnableSmoothScrolling[] = "enable-smooth-scrolling"; |
537 | 537 |
538 // Enables syncing extension settings. | 538 // Enables syncing extension settings. |
539 const char kEnableSyncExtensionSettings[] = "enable-sync-extension-settings"; | 539 const char kEnableSyncExtensionSettings[] = "enable-sync-extension-settings"; |
540 | 540 |
541 // Enables OAuth sign-in for sync. | 541 // Enables OAuth sign-in for sync. |
542 const char kEnableSyncOAuth[] = "enable-sync-oauth"; | 542 const char kEnableSyncOAuth[] = "enable-sync-oauth"; |
543 | 543 |
544 // Enables syncing custom search engines. | 544 // Enables syncing custom search engines. |
(...skipping 746 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1291 | 1291 |
1292 // ----------------------------------------------------------------------------- | 1292 // ----------------------------------------------------------------------------- |
1293 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1293 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1294 // | 1294 // |
1295 // You were going to just dump your switches here, weren't you? Instead, please | 1295 // You were going to just dump your switches here, weren't you? Instead, please |
1296 // put them in alphabetical order above, or in order inside the appropriate | 1296 // put them in alphabetical order above, or in order inside the appropriate |
1297 // ifdef at the bottom. The order should match the header. | 1297 // ifdef at the bottom. The order should match the header. |
1298 // ----------------------------------------------------------------------------- | 1298 // ----------------------------------------------------------------------------- |
1299 | 1299 |
1300 } // namespace switches | 1300 } // namespace switches |
OLD | NEW |