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 "printing/features/features.h" |
12 | 13 |
13 // Don't add more switch files here. This is linked into some places like the | 14 // Don't add more switch files here. This is linked into some places like the |
14 // installer where dependencies should be limited. Instead, have files | 15 // installer where dependencies should be limited. Instead, have files |
15 // directly include your switch file. | 16 // directly include your switch file. |
16 | 17 |
17 namespace base { | 18 namespace base { |
18 class CommandLine; | 19 class CommandLine; |
19 }; | 20 }; |
20 | 21 |
21 namespace switches { | 22 namespace switches { |
(...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
365 extern const char kPrefetchArgumentBrowserBackground[]; | 366 extern const char kPrefetchArgumentBrowserBackground[]; |
366 extern const char kPrefetchArgumentWatcher[]; | 367 extern const char kPrefetchArgumentWatcher[]; |
367 extern const char kShowIcons[]; | 368 extern const char kShowIcons[]; |
368 extern const char kUninstall[]; | 369 extern const char kUninstall[]; |
369 extern const char kViewerLaunchViaAppId[]; | 370 extern const char kViewerLaunchViaAppId[]; |
370 extern const char kWatcherProcess[]; | 371 extern const char kWatcherProcess[]; |
371 extern const char kWindows10CustomTitlebar[]; | 372 extern const char kWindows10CustomTitlebar[]; |
372 extern const char kWindows8Search[]; | 373 extern const char kWindows8Search[]; |
373 #endif // defined(OS_WIN) | 374 #endif // defined(OS_WIN) |
374 | 375 |
375 #if defined(ENABLE_PRINT_PREVIEW) && !defined(OFFICIAL_BUILD) | 376 #if BUILDFLAG(ENABLE_PRINT_PREVIEW) && !defined(OFFICIAL_BUILD) |
376 extern const char kDebugPrint[]; | 377 extern const char kDebugPrint[]; |
377 #endif | 378 #endif |
378 | 379 |
379 #if defined(ENABLE_PLUGINS) | 380 #if defined(ENABLE_PLUGINS) |
380 extern const char kAllowNaClCrxFsAPI[]; | 381 extern const char kAllowNaClCrxFsAPI[]; |
381 extern const char kAllowNaClFileHandleAPI[]; | 382 extern const char kAllowNaClFileHandleAPI[]; |
382 extern const char kAllowNaClSocketAPI[]; | 383 extern const char kAllowNaClSocketAPI[]; |
383 #endif | 384 #endif |
384 | 385 |
385 #if defined(ENABLE_WAYLAND_SERVER) | 386 #if defined(ENABLE_WAYLAND_SERVER) |
(...skipping 15 matching lines...) Expand all Loading... |
401 #if defined(OS_CHROMEOS) | 402 #if defined(OS_CHROMEOS) |
402 bool PowerOverlayEnabled(); | 403 bool PowerOverlayEnabled(); |
403 #endif | 404 #endif |
404 | 405 |
405 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in | 406 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in |
406 // alphabetical order, or in one of the ifdefs (also in order in each section). | 407 // alphabetical order, or in one of the ifdefs (also in order in each section). |
407 | 408 |
408 } // namespace switches | 409 } // namespace switches |
409 | 410 |
410 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ | 411 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ |
OLD | NEW |