| 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 "ppapi/features/features.h" |
| 12 #include "printing/features/features.h" | 13 #include "printing/features/features.h" |
| 13 | 14 |
| 14 // Don't add more switch files here. This is linked into some places like the | 15 // Don't add more switch files here. This is linked into some places like the |
| 15 // installer where dependencies should be limited. Instead, have files | 16 // installer where dependencies should be limited. Instead, have files |
| 16 // directly include your switch file. | 17 // directly include your switch file. |
| 17 | 18 |
| 18 namespace base { | 19 namespace base { |
| 19 class CommandLine; | 20 class CommandLine; |
| 20 }; | 21 }; |
| 21 | 22 |
| (...skipping 346 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 368 extern const char kViewerLaunchViaAppId[]; | 369 extern const char kViewerLaunchViaAppId[]; |
| 369 extern const char kWatcherProcess[]; | 370 extern const char kWatcherProcess[]; |
| 370 extern const char kWindows10CustomTitlebar[]; | 371 extern const char kWindows10CustomTitlebar[]; |
| 371 extern const char kWindows8Search[]; | 372 extern const char kWindows8Search[]; |
| 372 #endif // defined(OS_WIN) | 373 #endif // defined(OS_WIN) |
| 373 | 374 |
| 374 #if BUILDFLAG(ENABLE_PRINT_PREVIEW) && !defined(OFFICIAL_BUILD) | 375 #if BUILDFLAG(ENABLE_PRINT_PREVIEW) && !defined(OFFICIAL_BUILD) |
| 375 extern const char kDebugPrint[]; | 376 extern const char kDebugPrint[]; |
| 376 #endif | 377 #endif |
| 377 | 378 |
| 378 #if defined(ENABLE_PLUGINS) | 379 #if BUILDFLAG(ENABLE_PLUGINS) |
| 379 extern const char kAllowNaClCrxFsAPI[]; | 380 extern const char kAllowNaClCrxFsAPI[]; |
| 380 extern const char kAllowNaClFileHandleAPI[]; | 381 extern const char kAllowNaClFileHandleAPI[]; |
| 381 extern const char kAllowNaClSocketAPI[]; | 382 extern const char kAllowNaClSocketAPI[]; |
| 382 #endif | 383 #endif |
| 383 | 384 |
| 384 #if defined(ENABLE_WAYLAND_SERVER) | 385 #if defined(ENABLE_WAYLAND_SERVER) |
| 385 extern const char kEnableWaylandServer[]; | 386 extern const char kEnableWaylandServer[]; |
| 386 #endif | 387 #endif |
| 387 | 388 |
| 388 #if defined(OS_WIN) || defined(OS_LINUX) | 389 #if defined(OS_WIN) || defined(OS_LINUX) |
| (...skipping 14 matching lines...) Expand all Loading... |
| 403 #if defined(OS_WIN) | 404 #if defined(OS_WIN) |
| 404 bool GDITextPrintingEnabled(); | 405 bool GDITextPrintingEnabled(); |
| 405 #endif | 406 #endif |
| 406 | 407 |
| 407 // 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 |
| 408 // 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). |
| 409 | 410 |
| 410 } // namespace switches | 411 } // namespace switches |
| 411 | 412 |
| 412 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ | 413 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ |
| OLD | NEW |