| 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 "build/build_config.h" | 11 #include "build/build_config.h" |
| 12 #include "chrome/common/features.h" |
| 12 #include "ppapi/features/features.h" | 13 #include "ppapi/features/features.h" |
| 13 #include "printing/features/features.h" | 14 #include "printing/features/features.h" |
| 14 | 15 |
| 15 // Don't add more switch files here. This is linked into some places like the | 16 // Don't add more switch files here. This is linked into some places like the |
| 16 // installer where dependencies should be limited. Instead, have files | 17 // installer where dependencies should be limited. Instead, have files |
| 17 // directly include your switch file. | 18 // directly include your switch file. |
| 18 | 19 |
| 19 namespace base { | 20 namespace base { |
| 20 class CommandLine; | 21 class CommandLine; |
| 21 }; | 22 }; |
| (...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 322 extern const char kPrefetchArgumentBrowserBackground[]; | 323 extern const char kPrefetchArgumentBrowserBackground[]; |
| 323 extern const char kPrefetchArgumentWatcher[]; | 324 extern const char kPrefetchArgumentWatcher[]; |
| 324 extern const char kShowIcons[]; | 325 extern const char kShowIcons[]; |
| 325 extern const char kUninstall[]; | 326 extern const char kUninstall[]; |
| 326 extern const char kViewerLaunchViaAppId[]; | 327 extern const char kViewerLaunchViaAppId[]; |
| 327 extern const char kWatcherProcess[]; | 328 extern const char kWatcherProcess[]; |
| 328 extern const char kWindows10CustomTitlebar[]; | 329 extern const char kWindows10CustomTitlebar[]; |
| 329 extern const char kWindows8Search[]; | 330 extern const char kWindows8Search[]; |
| 330 #endif // defined(OS_WIN) | 331 #endif // defined(OS_WIN) |
| 331 | 332 |
| 333 #if BUILDFLAG(ENABLE_PACKAGE_MASH_SERVICES) |
| 334 extern const char kMash[]; |
| 335 #endif |
| 336 |
| 332 #if BUILDFLAG(ENABLE_PRINT_PREVIEW) && !defined(OFFICIAL_BUILD) | 337 #if BUILDFLAG(ENABLE_PRINT_PREVIEW) && !defined(OFFICIAL_BUILD) |
| 333 extern const char kDebugPrint[]; | 338 extern const char kDebugPrint[]; |
| 334 #endif | 339 #endif |
| 335 | 340 |
| 336 #if BUILDFLAG(ENABLE_PLUGINS) | 341 #if BUILDFLAG(ENABLE_PLUGINS) |
| 337 extern const char kAllowNaClCrxFsAPI[]; | 342 extern const char kAllowNaClCrxFsAPI[]; |
| 338 extern const char kAllowNaClFileHandleAPI[]; | 343 extern const char kAllowNaClFileHandleAPI[]; |
| 339 extern const char kAllowNaClSocketAPI[]; | 344 extern const char kAllowNaClSocketAPI[]; |
| 340 #endif | 345 #endif |
| 341 | 346 |
| (...skipping 18 matching lines...) Expand all Loading... |
| 360 #if defined(OS_WIN) | 365 #if defined(OS_WIN) |
| 361 bool GDITextPrintingEnabled(); | 366 bool GDITextPrintingEnabled(); |
| 362 #endif | 367 #endif |
| 363 | 368 |
| 364 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in | 369 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in |
| 365 // alphabetical order, or in one of the ifdefs (also in order in each section). | 370 // alphabetical order, or in one of the ifdefs (also in order in each section). |
| 366 | 371 |
| 367 } // namespace switches | 372 } // namespace switches |
| 368 | 373 |
| 369 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ | 374 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ |
| OLD | NEW |