Chromium Code Reviews| 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 327 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 338 // Disable syncing of preferences. | 338 // Disable syncing of preferences. |
| 339 const char kDisableSyncPreferences[] = "disable-sync-preferences"; | 339 const char kDisableSyncPreferences[] = "disable-sync-preferences"; |
| 340 | 340 |
| 341 // Disable syncing of themes. | 341 // Disable syncing of themes. |
| 342 const char kDisableSyncThemes[] = "disable-sync-themes"; | 342 const char kDisableSyncThemes[] = "disable-sync-themes"; |
| 343 | 343 |
| 344 // Enable the new autofill type. | 344 // Enable the new autofill type. |
| 345 const char kEnableSyncNewAutofill[] = | 345 const char kEnableSyncNewAutofill[] = |
| 346 "enable-sync-new-autofill-data-type"; | 346 "enable-sync-new-autofill-data-type"; |
| 347 | 347 |
| 348 // Disable tabbed options, ie: DOMUI version of options window. | |
|
stuartmorgan
2011/01/07 19:12:34
nit: ie -> i.e.
James Hawkins
2011/01/07 19:16:09
Done.
| |
| 349 const char kDisableTabbedOptions[] = "disable-tabbed-options"; | |
| 350 | |
| 348 // TabCloseableStateWatcher disallows closing of tabs and browsers under certain | 351 // TabCloseableStateWatcher disallows closing of tabs and browsers under certain |
| 349 // situations on ChromeOS. Some tests expect tabs or browsers to close, so we | 352 // situations on ChromeOS. Some tests expect tabs or browsers to close, so we |
| 350 // need a switch to disable the watcher. | 353 // need a switch to disable the watcher. |
| 351 const char kDisableTabCloseableStateWatcher[] = | 354 const char kDisableTabCloseableStateWatcher[] = |
| 352 "disable-tab-closeable-state-watcher"; | 355 "disable-tab-closeable-state-watcher"; |
| 353 | 356 |
| 354 // Allow disabling of translate from the command line to assist with | 357 // Allow disabling of translate from the command line to assist with |
| 355 // automated browser testing (e.g. Selenium/WebDriver). Normal | 358 // automated browser testing (e.g. Selenium/WebDriver). Normal |
| 356 // browser users should disable translate with the preference. | 359 // browser users should disable translate with the preference. |
| 357 const char kDisableTranslate[] = "disable-translate"; | 360 const char kDisableTranslate[] = "disable-translate"; |
| (...skipping 1009 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1367 | 1370 |
| 1368 // ----------------------------------------------------------------------------- | 1371 // ----------------------------------------------------------------------------- |
| 1369 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1372 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1370 // | 1373 // |
| 1371 // You were going to just dump your switches here, weren't you? Instead, | 1374 // You were going to just dump your switches here, weren't you? Instead, |
| 1372 // please put them in alphabetical order above, or in order inside the | 1375 // please put them in alphabetical order above, or in order inside the |
| 1373 // appropriate ifdef at the bottom. The order should match the header. | 1376 // appropriate ifdef at the bottom. The order should match the header. |
| 1374 // ----------------------------------------------------------------------------- | 1377 // ----------------------------------------------------------------------------- |
| 1375 | 1378 |
| 1376 } // namespace switches | 1379 } // namespace switches |
| OLD | NEW |