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