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 342 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
364 extern const char kPrefetchArgumentBrowserBackground[]; | 365 extern const char kPrefetchArgumentBrowserBackground[]; |
365 extern const char kPrefetchArgumentWatcher[]; | 366 extern const char kPrefetchArgumentWatcher[]; |
366 extern const char kShowIcons[]; | 367 extern const char kShowIcons[]; |
367 extern const char kUninstall[]; | 368 extern const char kUninstall[]; |
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 defined(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 defined(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) |
(...skipping 15 matching lines...) Expand all Loading... |
400 #if defined(OS_CHROMEOS) | 401 #if defined(OS_CHROMEOS) |
401 bool PowerOverlayEnabled(); | 402 bool PowerOverlayEnabled(); |
402 #endif | 403 #endif |
403 | 404 |
404 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in | 405 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in |
405 // alphabetical order, or in one of the ifdefs (also in order in each section). | 406 // alphabetical order, or in one of the ifdefs (also in order in each section). |
406 | 407 |
407 } // namespace switches | 408 } // namespace switches |
408 | 409 |
409 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ | 410 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ |
OLD | NEW |