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