| 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 |
| 11 #include "base/feature_list.h" |
| 11 #include "build/build_config.h" | 12 #include "build/build_config.h" |
| 12 #include "chrome/common/features.h" | 13 #include "chrome/common/features.h" |
| 13 #include "ppapi/features/features.h" | 14 #include "ppapi/features/features.h" |
| 14 #include "printing/features/features.h" | 15 #include "printing/features/features.h" |
| 15 | 16 |
| 16 // Don't add more switch files here. This is linked into some places like the | 17 // Don't add more switch files here. This is linked into some places like the |
| 17 // installer where dependencies should be limited. Instead, have files | 18 // installer where dependencies should be limited. Instead, have files |
| 18 // directly include your switch file. | 19 // directly include your switch file. |
| 19 | 20 |
| 20 namespace base { | 21 namespace base { |
| (...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 306 extern const char kEnableFullscreenToolbarReveal[]; | 307 extern const char kEnableFullscreenToolbarReveal[]; |
| 307 extern const char kEnableHostedAppsInWindows[]; | 308 extern const char kEnableHostedAppsInWindows[]; |
| 308 extern const char kEnableMacViewsNativeAppWindows[]; | 309 extern const char kEnableMacViewsNativeAppWindows[]; |
| 309 extern const char kEnableTranslateNewUX[]; | 310 extern const char kEnableTranslateNewUX[]; |
| 310 extern const char kEnableUserMetrics[]; | 311 extern const char kEnableUserMetrics[]; |
| 311 extern const char kHostedAppQuitNotification[]; | 312 extern const char kHostedAppQuitNotification[]; |
| 312 extern const char kMetricsClientID[]; | 313 extern const char kMetricsClientID[]; |
| 313 extern const char kRelauncherProcess[]; | 314 extern const char kRelauncherProcess[]; |
| 314 extern const char kRelauncherProcessDMGDevice[]; | 315 extern const char kRelauncherProcessDMGDevice[]; |
| 315 extern const char kMakeChromeDefault[]; | 316 extern const char kMakeChromeDefault[]; |
| 317 extern const base::Feature kViewsTaskManager; |
| 316 #endif // defined(OS_MACOSX) | 318 #endif // defined(OS_MACOSX) |
| 317 | 319 |
| 318 #if defined(OS_WIN) | 320 #if defined(OS_WIN) |
| 319 extern const char kDisablePerMonitorDpi[]; | 321 extern const char kDisablePerMonitorDpi[]; |
| 320 extern const char kEnableCloudPrintXps[]; | 322 extern const char kEnableCloudPrintXps[]; |
| 321 extern const char kEnablePerMonitorDpi[]; | 323 extern const char kEnablePerMonitorDpi[]; |
| 322 extern const char kEnableProfileShortcutManager[]; | 324 extern const char kEnableProfileShortcutManager[]; |
| 323 extern const char kHideIcons[]; | 325 extern const char kHideIcons[]; |
| 324 extern const char kNoNetworkProfileWarning[]; | 326 extern const char kNoNetworkProfileWarning[]; |
| 325 extern const char kPrefetchArgumentBrowserBackground[]; | 327 extern const char kPrefetchArgumentBrowserBackground[]; |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 367 #if defined(OS_WIN) | 369 #if defined(OS_WIN) |
| 368 bool GDITextPrintingEnabled(); | 370 bool GDITextPrintingEnabled(); |
| 369 #endif | 371 #endif |
| 370 | 372 |
| 371 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in | 373 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in |
| 372 // alphabetical order, or in one of the ifdefs (also in order in each section). | 374 // alphabetical order, or in one of the ifdefs (also in order in each section). |
| 373 | 375 |
| 374 } // namespace switches | 376 } // namespace switches |
| 375 | 377 |
| 376 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ | 378 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ |
| OLD | NEW |