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