Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 // Defines the shared command-line switches used by code in the Chrome | 5 // Defines the shared command-line switches used by code in the Chrome |
| 6 // directory that don't have anywhere more specific to go. | 6 // directory that don't have anywhere more specific to go. |
| 7 | 7 |
| 8 #ifndef CHROME_COMMON_CHROME_SWITCHES_H_ | 8 #ifndef CHROME_COMMON_CHROME_SWITCHES_H_ |
| 9 #define CHROME_COMMON_CHROME_SWITCHES_H_ | 9 #define CHROME_COMMON_CHROME_SWITCHES_H_ |
| 10 | 10 |
| (...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 347 extern const char kEnableTranslateNewUX[]; | 347 extern const char kEnableTranslateNewUX[]; |
| 348 extern const char kEnableUserMetrics[]; | 348 extern const char kEnableUserMetrics[]; |
| 349 extern const char kHostedAppQuitNotification[]; | 349 extern const char kHostedAppQuitNotification[]; |
| 350 extern const char kMetricsClientID[]; | 350 extern const char kMetricsClientID[]; |
| 351 extern const char kRelauncherProcess[]; | 351 extern const char kRelauncherProcess[]; |
| 352 extern const char kRelauncherProcessDMGDevice[]; | 352 extern const char kRelauncherProcessDMGDevice[]; |
| 353 extern const char kMakeChromeDefault[]; | 353 extern const char kMakeChromeDefault[]; |
| 354 #endif // defined(OS_MACOSX) | 354 #endif // defined(OS_MACOSX) |
| 355 | 355 |
| 356 #if defined(OS_WIN) | 356 #if defined(OS_WIN) |
| 357 extern const char kEnableGDITextPrinting[]; | |
|
scottmg
2016/11/14 23:29:03
These were sorted-ish before.
Lei Zhang
2016/11/14 23:36:43
Indeed. Sorted.
| |
| 357 extern const char kDisableGDITextPrinting[]; | 358 extern const char kDisableGDITextPrinting[]; |
| 358 extern const char kDisablePerMonitorDpi[]; | 359 extern const char kDisablePerMonitorDpi[]; |
| 359 extern const char kEnableCloudPrintXps[]; | 360 extern const char kEnableCloudPrintXps[]; |
| 360 extern const char kEnablePerMonitorDpi[]; | 361 extern const char kEnablePerMonitorDpi[]; |
| 361 extern const char kEnableProfileShortcutManager[]; | 362 extern const char kEnableProfileShortcutManager[]; |
| 362 extern const char kHideIcons[]; | 363 extern const char kHideIcons[]; |
| 363 extern const char kNoNetworkProfileWarning[]; | 364 extern const char kNoNetworkProfileWarning[]; |
| 364 extern const char kPrefetchArgumentBrowserBackground[]; | 365 extern const char kPrefetchArgumentBrowserBackground[]; |
| 365 extern const char kPrefetchArgumentWatcher[]; | 366 extern const char kPrefetchArgumentWatcher[]; |
| 366 extern const char kShowIcons[]; | 367 extern const char kShowIcons[]; |
| (...skipping 20 matching lines...) Expand all Loading... | |
| 387 | 388 |
| 388 #if defined(OS_WIN) || defined(OS_LINUX) | 389 #if defined(OS_WIN) || defined(OS_LINUX) |
| 389 extern const char kDisableInputImeAPI[]; | 390 extern const char kDisableInputImeAPI[]; |
| 390 extern const char kEnableInputImeAPI[]; | 391 extern const char kEnableInputImeAPI[]; |
| 391 #endif | 392 #endif |
| 392 | 393 |
| 393 bool AboutInSettingsEnabled(); | 394 bool AboutInSettingsEnabled(); |
| 394 bool ExtensionsDisabled(const base::CommandLine& command_line); | 395 bool ExtensionsDisabled(const base::CommandLine& command_line); |
| 395 bool MdFeedbackEnabled(); | 396 bool MdFeedbackEnabled(); |
| 396 bool MdPolicyPageEnabled(); | 397 bool MdPolicyPageEnabled(); |
| 397 bool PdfMaterialUIEnabled(); | |
| 398 bool SettingsWindowEnabled(); | 398 bool SettingsWindowEnabled(); |
| 399 | 399 |
| 400 #if defined(OS_CHROMEOS) | 400 #if defined(OS_CHROMEOS) |
| 401 bool PowerOverlayEnabled(); | 401 bool PowerOverlayEnabled(); |
| 402 #endif | 402 #endif |
| 403 | 403 |
| 404 #if defined(OS_WIN) | |
| 405 bool GDITextPrintingEnabled(); | |
| 406 #endif | |
| 407 | |
| 404 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in | 408 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in |
| 405 // alphabetical order, or in one of the ifdefs (also in order in each section). | 409 // alphabetical order, or in one of the ifdefs (also in order in each section). |
| 406 | 410 |
| 407 } // namespace switches | 411 } // namespace switches |
| 408 | 412 |
| 409 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ | 413 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ |
| OLD | NEW |