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 332 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
343 #if defined(OS_WIN) || defined(OS_LINUX) | 343 #if defined(OS_WIN) || defined(OS_LINUX) |
344 extern const char kDisableInputImeAPI[]; | 344 extern const char kDisableInputImeAPI[]; |
345 extern const char kEnableInputImeAPI[]; | 345 extern const char kEnableInputImeAPI[]; |
346 #endif | 346 #endif |
347 | 347 |
348 #if defined(OS_CHROMEOS) || defined(OS_LINUX) || defined(OS_MACOSX) || \ | 348 #if defined(OS_CHROMEOS) || defined(OS_LINUX) || defined(OS_MACOSX) || \ |
349 defined(OS_WIN) | 349 defined(OS_WIN) |
350 extern const char kEnableNewAppMenuIcon[]; | 350 extern const char kEnableNewAppMenuIcon[]; |
351 #endif | 351 #endif |
352 | 352 |
| 353 #if !defined(OS_CHROMEOS) && !defined(OS_ANDROID) |
| 354 extern const char kUseSystemDefaultPrinter[]; |
| 355 #endif |
| 356 |
353 #if BUILDFLAG(ENABLE_OOP_HEAP_PROFILING) | 357 #if BUILDFLAG(ENABLE_OOP_HEAP_PROFILING) |
354 extern const char kMemlog[]; | 358 extern const char kMemlog[]; |
355 extern const char kMemlogPipe[]; | 359 extern const char kMemlogPipe[]; |
356 #endif | 360 #endif |
357 | 361 |
358 bool ExtensionsDisabled(const base::CommandLine& command_line); | 362 bool ExtensionsDisabled(const base::CommandLine& command_line); |
359 bool ExtensionsDisabled(); | 363 bool ExtensionsDisabled(); |
360 bool MdFeedbackEnabled(); | 364 bool MdFeedbackEnabled(); |
361 bool MdPolicyPageEnabled(); | 365 bool MdPolicyPageEnabled(); |
362 bool SettingsWindowEnabled(); | 366 bool SettingsWindowEnabled(); |
363 | 367 |
364 #if defined(OS_CHROMEOS) | 368 #if defined(OS_CHROMEOS) |
365 bool PowerOverlayEnabled(); | 369 bool PowerOverlayEnabled(); |
366 #endif | 370 #endif |
367 | 371 |
368 #if defined(OS_WIN) | 372 #if defined(OS_WIN) |
369 bool GDITextPrintingEnabled(); | 373 bool GDITextPrintingEnabled(); |
370 #endif | 374 #endif |
371 | 375 |
372 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in | 376 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in |
373 // alphabetical order, or in one of the ifdefs (also in order in each section). | 377 // alphabetical order, or in one of the ifdefs (also in order in each section). |
374 | 378 |
375 } // namespace switches | 379 } // namespace switches |
376 | 380 |
377 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ | 381 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ |
OLD | NEW |