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 | 8 |
9 namespace switches { | 9 namespace switches { |
10 | 10 |
(...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
351 const char kDisableSyncPasswords[] = "disable-sync-passwords"; | 351 const char kDisableSyncPasswords[] = "disable-sync-passwords"; |
352 #endif | 352 #endif |
353 | 353 |
354 // Disable syncing of preferences. | 354 // Disable syncing of preferences. |
355 const char kDisableSyncPreferences[] = "disable-sync-preferences"; | 355 const char kDisableSyncPreferences[] = "disable-sync-preferences"; |
356 | 356 |
357 // Disable syncing of themes. | 357 // Disable syncing of themes. |
358 const char kDisableSyncThemes[] = "disable-sync-themes"; | 358 const char kDisableSyncThemes[] = "disable-sync-themes"; |
359 | 359 |
360 // Disable tabbed options, i.e., WebUI version of options window. | 360 // Disable tabbed options, i.e., WebUI version of options window. |
361 #if defined(OS_MACOSX) | |
362 // Platforms that have removed their native implementations should use this flag | |
363 // so users aren't left with a bad experience if they used it still. Remove this | |
364 // when all native implementations are done. | |
365 const char kDisableTabbedOptions[] = "snoitpo-debbat-elbasid"; | |
stuartmorgan
2011/03/08 20:27:48
Really?
Couldn't we just #ifdef the uses of the f
Robert Sesek
2011/03/08 20:33:20
I looked at that, and it gets seriously ugly becau
| |
366 #else | |
361 const char kDisableTabbedOptions[] = "disable-tabbed-options"; | 367 const char kDisableTabbedOptions[] = "disable-tabbed-options"; |
368 #endif | |
362 | 369 |
363 // TabCloseableStateWatcher disallows closing of tabs and browsers under certain | 370 // TabCloseableStateWatcher disallows closing of tabs and browsers under certain |
364 // situations on ChromeOS. Some tests expect tabs or browsers to close, so we | 371 // situations on ChromeOS. Some tests expect tabs or browsers to close, so we |
365 // need a switch to disable the watcher. | 372 // need a switch to disable the watcher. |
366 const char kDisableTabCloseableStateWatcher[] = | 373 const char kDisableTabCloseableStateWatcher[] = |
367 "disable-tab-closeable-state-watcher"; | 374 "disable-tab-closeable-state-watcher"; |
368 | 375 |
369 // Allow disabling of translate from the command line to assist with | 376 // Allow disabling of translate from the command line to assist with |
370 // automated browser testing (e.g. Selenium/WebDriver). Normal | 377 // automated browser testing (e.g. Selenium/WebDriver). Normal |
371 // browser users should disable translate with the preference. | 378 // browser users should disable translate with the preference. |
(...skipping 866 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1238 | 1245 |
1239 // ----------------------------------------------------------------------------- | 1246 // ----------------------------------------------------------------------------- |
1240 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1247 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1241 // | 1248 // |
1242 // You were going to just dump your switches here, weren't you? Instead, | 1249 // You were going to just dump your switches here, weren't you? Instead, |
1243 // please put them in alphabetical order above, or in order inside the | 1250 // please put them in alphabetical order above, or in order inside the |
1244 // appropriate ifdef at the bottom. The order should match the header. | 1251 // appropriate ifdef at the bottom. The order should match the header. |
1245 // ----------------------------------------------------------------------------- | 1252 // ----------------------------------------------------------------------------- |
1246 | 1253 |
1247 } // namespace switches | 1254 } // namespace switches |
OLD | NEW |