| 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 302 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 313 | 313 |
| 314 // Disable syncing browser passwords. | 314 // Disable syncing browser passwords. |
| 315 const char kDisableSyncPasswords[] = "disable-sync-passwords"; | 315 const char kDisableSyncPasswords[] = "disable-sync-passwords"; |
| 316 | 316 |
| 317 // Disable syncing of preferences. | 317 // Disable syncing of preferences. |
| 318 const char kDisableSyncPreferences[] = "disable-sync-preferences"; | 318 const char kDisableSyncPreferences[] = "disable-sync-preferences"; |
| 319 | 319 |
| 320 // Disable syncing of themes. | 320 // Disable syncing of themes. |
| 321 const char kDisableSyncThemes[] = "disable-sync-themes"; | 321 const char kDisableSyncThemes[] = "disable-sync-themes"; |
| 322 | 322 |
| 323 // Disable syncing browser typed urls. |
| 324 const char kDisableSyncTypedUrls[] = "disable-sync-typed-urls"; |
| 325 |
| 323 // TabCloseableStateWatcher disallows closing of tabs and browsers under certain | 326 // TabCloseableStateWatcher disallows closing of tabs and browsers under certain |
| 324 // situations on ChromeOS. Some tests expect tabs or browsers to close, so we | 327 // situations on ChromeOS. Some tests expect tabs or browsers to close, so we |
| 325 // need a switch to disable the watcher. | 328 // need a switch to disable the watcher. |
| 326 const char kDisableTabCloseableStateWatcher[] = | 329 const char kDisableTabCloseableStateWatcher[] = |
| 327 "disable-tab-closeable-state-watcher"; | 330 "disable-tab-closeable-state-watcher"; |
| 328 | 331 |
| 329 // Allow disabling of translate from the command line to assist with | 332 // Allow disabling of translate from the command line to assist with |
| 330 // automated browser testing (e.g. Selenium/WebDriver). Normal | 333 // automated browser testing (e.g. Selenium/WebDriver). Normal |
| 331 // browser users should disable translate with the preference. | 334 // browser users should disable translate with the preference. |
| 332 const char kDisableTranslate[] = "disable-translate"; | 335 const char kDisableTranslate[] = "disable-translate"; |
| (...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 490 | 493 |
| 491 // Enable the use of the ShortcutsProvider for autocomplete results. | 494 // Enable the use of the ShortcutsProvider for autocomplete results. |
| 492 const char kEnableShortcutsProvider[] = "enable-shortcuts-provider"; | 495 const char kEnableShortcutsProvider[] = "enable-shortcuts-provider"; |
| 493 | 496 |
| 494 // On platforms that support it, enable smooth scroll animation. | 497 // On platforms that support it, enable smooth scroll animation. |
| 495 const char kEnableSmoothScrolling[] = "enable-smooth-scrolling"; | 498 const char kEnableSmoothScrolling[] = "enable-smooth-scrolling"; |
| 496 | 499 |
| 497 // Enables TLS cached info extension. | 500 // Enables TLS cached info extension. |
| 498 const char kEnableSSLCachedInfo[] = "enable-ssl-cached-info"; | 501 const char kEnableSSLCachedInfo[] = "enable-ssl-cached-info"; |
| 499 | 502 |
| 500 // Enable syncing browser data to a Google Account. | |
| 501 const char kEnableSync[] = "enable-sync"; | |
| 502 | |
| 503 // Enable syncing browser autofill. | |
| 504 const char kEnableSyncAutofill[] = "enable-sync-autofill"; | |
| 505 | |
| 506 // Enable OAuth sign-in for sync. | 503 // Enable OAuth sign-in for sync. |
| 507 const char kEnableSyncOAuth[] = "enable-sync-oauth"; | 504 const char kEnableSyncOAuth[] = "enable-sync-oauth"; |
| 508 | 505 |
| 509 // Enable syncing browser sessions. | 506 // Enable syncing browser sessions. |
| 510 const char kEnableSyncSessions[] = "enable-sync-sessions"; | 507 const char kEnableSyncSessions[] = "enable-sync-sessions"; |
| 511 | 508 |
| 512 // Enables context menu for selecting groups of tabs. | 509 // Enables context menu for selecting groups of tabs. |
| 513 const char kEnableTabGroupsContextMenu[] = "enable-tab-groups-context-menu"; | 510 const char kEnableTabGroupsContextMenu[] = "enable-tab-groups-context-menu"; |
| 514 | 511 |
| 515 // Enable syncing browser typed urls. | 512 // Enable the "synced bookmarks" folder. |
| 516 const char kEnableSyncTypedUrls[] = "enable-sync-typed-urls"; | |
| 517 | |
| 518 // Enable syncing browser typed urls. | |
| 519 const char kEnableSyncedBookmarksFolder[] = "enable-synced-bookmarks-folder"; | 513 const char kEnableSyncedBookmarksFolder[] = "enable-synced-bookmarks-folder"; |
| 520 | 514 |
| 521 // Enable use of experimental TCP sockets API for sending data in the | 515 // Enable use of experimental TCP sockets API for sending data in the |
| 522 // SYN packet. | 516 // SYN packet. |
| 523 const char kEnableTcpFastOpen[] = "enable-tcp-fastopen"; | 517 const char kEnableTcpFastOpen[] = "enable-tcp-fastopen"; |
| 524 | 518 |
| 525 // Enables the option to show tabs as a vertical stack down the side of the | 519 // Enables the option to show tabs as a vertical stack down the side of the |
| 526 // browser window. | 520 // browser window. |
| 527 const char kEnableVerticalTabs[] = "enable-vertical-tabs"; | 521 const char kEnableVerticalTabs[] = "enable-vertical-tabs"; |
| 528 | 522 |
| (...skipping 706 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1235 | 1229 |
| 1236 // ----------------------------------------------------------------------------- | 1230 // ----------------------------------------------------------------------------- |
| 1237 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1231 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1238 // | 1232 // |
| 1239 // You were going to just dump your switches here, weren't you? Instead, | 1233 // You were going to just dump your switches here, weren't you? Instead, |
| 1240 // please put them in alphabetical order above, or in order inside the | 1234 // please put them in alphabetical order above, or in order inside the |
| 1241 // appropriate ifdef at the bottom. The order should match the header. | 1235 // appropriate ifdef at the bottom. The order should match the header. |
| 1242 // ----------------------------------------------------------------------------- | 1236 // ----------------------------------------------------------------------------- |
| 1243 | 1237 |
| 1244 } // namespace switches | 1238 } // namespace switches |
| OLD | NEW |