| 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 |
| (...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 339 #if BUILDFLAG(ENABLE_PRINT_PREVIEW) && !defined(OFFICIAL_BUILD) | 339 #if BUILDFLAG(ENABLE_PRINT_PREVIEW) && !defined(OFFICIAL_BUILD) |
| 340 extern const char kDebugPrint[]; | 340 extern const char kDebugPrint[]; |
| 341 #endif | 341 #endif |
| 342 | 342 |
| 343 #if BUILDFLAG(ENABLE_PLUGINS) | 343 #if BUILDFLAG(ENABLE_PLUGINS) |
| 344 extern const char kAllowNaClCrxFsAPI[]; | 344 extern const char kAllowNaClCrxFsAPI[]; |
| 345 extern const char kAllowNaClFileHandleAPI[]; | 345 extern const char kAllowNaClFileHandleAPI[]; |
| 346 extern const char kAllowNaClSocketAPI[]; | 346 extern const char kAllowNaClSocketAPI[]; |
| 347 #endif | 347 #endif |
| 348 | 348 |
| 349 #if defined(ENABLE_WAYLAND_SERVER) | 349 #if BUILDFLAG(ENABLE_WAYLAND_SERVER) |
| 350 extern const char kEnableWaylandServer[]; | 350 extern const char kEnableWaylandServer[]; |
| 351 #endif | 351 #endif |
| 352 | 352 |
| 353 #if defined(OS_WIN) || defined(OS_LINUX) | 353 #if defined(OS_WIN) || defined(OS_LINUX) |
| 354 extern const char kDisableInputImeAPI[]; | 354 extern const char kDisableInputImeAPI[]; |
| 355 extern const char kEnableInputImeAPI[]; | 355 extern const char kEnableInputImeAPI[]; |
| 356 #endif | 356 #endif |
| 357 | 357 |
| 358 bool ExtensionsDisabled(const base::CommandLine& command_line); | 358 bool ExtensionsDisabled(const base::CommandLine& command_line); |
| 359 bool MdFeedbackEnabled(); | 359 bool MdFeedbackEnabled(); |
| 360 bool MdPolicyPageEnabled(); | 360 bool MdPolicyPageEnabled(); |
| 361 bool SettingsWindowEnabled(); | 361 bool SettingsWindowEnabled(); |
| 362 | 362 |
| 363 #if defined(OS_CHROMEOS) | 363 #if defined(OS_CHROMEOS) |
| 364 bool PowerOverlayEnabled(); | 364 bool PowerOverlayEnabled(); |
| 365 #endif | 365 #endif |
| 366 | 366 |
| 367 #if defined(OS_WIN) | 367 #if defined(OS_WIN) |
| 368 bool GDITextPrintingEnabled(); | 368 bool GDITextPrintingEnabled(); |
| 369 #endif | 369 #endif |
| 370 | 370 |
| 371 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in | 371 // 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). | 372 // alphabetical order, or in one of the ifdefs (also in order in each section). |
| 373 | 373 |
| 374 } // namespace switches | 374 } // namespace switches |
| 375 | 375 |
| 376 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ | 376 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ |
| OLD | NEW |