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 all the command-line switches used by Chrome. | 5 // Defines all the command-line switches used by Chrome. |
6 | 6 |
7 #ifndef CHROME_COMMON_CHROME_SWITCHES_H_ | 7 #ifndef CHROME_COMMON_CHROME_SWITCHES_H_ |
8 #define CHROME_COMMON_CHROME_SWITCHES_H_ | 8 #define CHROME_COMMON_CHROME_SWITCHES_H_ |
9 | 9 |
10 #include "build/build_config.h" | 10 #include "build/build_config.h" |
(...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
361 extern const char kDisableHostedAppShimCreation[]; | 361 extern const char kDisableHostedAppShimCreation[]; |
362 extern const char kDisableMacViewsNativeAppWindows[]; | 362 extern const char kDisableMacViewsNativeAppWindows[]; |
363 extern const char kEnableAppInfoDialogMac[]; | 363 extern const char kEnableAppInfoDialogMac[]; |
364 extern const char kEnableAppWindowCycling[]; | 364 extern const char kEnableAppWindowCycling[]; |
365 extern const char kEnableMacViewsNativeAppWindows[]; | 365 extern const char kEnableMacViewsNativeAppWindows[]; |
366 extern const char kEnableTranslateNewUX[]; | 366 extern const char kEnableTranslateNewUX[]; |
367 extern const char kMetricsClientID[]; | 367 extern const char kMetricsClientID[]; |
368 extern const char kRelauncherProcess[]; | 368 extern const char kRelauncherProcess[]; |
369 #endif // defined(OS_MACOSX) | 369 #endif // defined(OS_MACOSX) |
370 | 370 |
| 371 #if defined(OS_WIN) || defined(OS_LINUX) |
| 372 extern const char kEnableTabDiscarding[]; |
| 373 #endif |
| 374 |
371 #if defined(OS_WIN) | 375 #if defined(OS_WIN) |
372 extern const char kEnableCloudPrintXps[]; | 376 extern const char kEnableCloudPrintXps[]; |
373 extern const char kEnableProfileShortcutManager[]; | 377 extern const char kEnableProfileShortcutManager[]; |
374 extern const char kEnableTabDiscarding[]; | |
375 extern const char kForceDesktop[]; | 378 extern const char kForceDesktop[]; |
376 extern const char kForceImmersive[]; | 379 extern const char kForceImmersive[]; |
377 extern const char kHideIcons[]; | 380 extern const char kHideIcons[]; |
378 extern const char kNoNetworkProfileWarning[]; | 381 extern const char kNoNetworkProfileWarning[]; |
379 extern const char kRelaunchShortcut[]; | 382 extern const char kRelaunchShortcut[]; |
380 extern const char kShowIcons[]; | 383 extern const char kShowIcons[]; |
381 extern const char kUninstall[]; | 384 extern const char kUninstall[]; |
382 extern const char kViewerLaunchViaAppId[]; | 385 extern const char kViewerLaunchViaAppId[]; |
383 extern const char kWaitForMutex[]; | 386 extern const char kWaitForMutex[]; |
384 extern const char kWindows8Search[]; | 387 extern const char kWindows8Search[]; |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
418 #if defined(ENABLE_TASK_MANAGER) | 421 #if defined(ENABLE_TASK_MANAGER) |
419 bool NewTaskManagerEnabled(); | 422 bool NewTaskManagerEnabled(); |
420 #endif // defined(ENABLE_TASK_MANAGER) | 423 #endif // defined(ENABLE_TASK_MANAGER) |
421 | 424 |
422 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in | 425 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in |
423 // alphabetical order, or in one of the ifdefs (also in order in each section). | 426 // alphabetical order, or in one of the ifdefs (also in order in each section). |
424 | 427 |
425 } // namespace switches | 428 } // namespace switches |
426 | 429 |
427 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ | 430 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ |
OLD | NEW |