Chromium Code Reviews| 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 373 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 384 | 384 |
| 385 #if defined(ENABLE_WAYLAND_SERVER) | 385 #if defined(ENABLE_WAYLAND_SERVER) |
| 386 extern const char kEnableWaylandServer[]; | 386 extern const char kEnableWaylandServer[]; |
| 387 #endif | 387 #endif |
| 388 | 388 |
| 389 #if defined(OS_WIN) || defined(OS_LINUX) | 389 #if defined(OS_WIN) || defined(OS_LINUX) |
| 390 extern const char kDisableInputImeAPI[]; | 390 extern const char kDisableInputImeAPI[]; |
| 391 extern const char kEnableInputImeAPI[]; | 391 extern const char kEnableInputImeAPI[]; |
| 392 #endif | 392 #endif |
| 393 | 393 |
| 394 #if defined(OS_LINUX) | |
| 395 extern const char kEnableXDPIForDSF[]; | |
|
Evan Stade
2016/10/25 15:21:14
nit: kEnableXDpiForDsf
oshima
2016/10/25 16:36:12
Done.
| |
| 396 #endif | |
| 397 | |
| 394 bool AboutInSettingsEnabled(); | 398 bool AboutInSettingsEnabled(); |
| 395 bool ExtensionsDisabled(const base::CommandLine& command_line); | 399 bool ExtensionsDisabled(const base::CommandLine& command_line); |
| 396 bool MdFeedbackEnabled(); | 400 bool MdFeedbackEnabled(); |
| 397 bool MdPolicyPageEnabled(); | 401 bool MdPolicyPageEnabled(); |
| 398 bool PdfMaterialUIEnabled(); | 402 bool PdfMaterialUIEnabled(); |
| 399 bool SettingsWindowEnabled(); | 403 bool SettingsWindowEnabled(); |
| 400 | 404 |
| 401 #if defined(OS_CHROMEOS) | 405 #if defined(OS_CHROMEOS) |
| 402 bool PowerOverlayEnabled(); | 406 bool PowerOverlayEnabled(); |
| 403 #endif | 407 #endif |
| 404 | 408 |
| 405 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in | 409 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in |
| 406 // alphabetical order, or in one of the ifdefs (also in order in each section). | 410 // alphabetical order, or in one of the ifdefs (also in order in each section). |
| 407 | 411 |
| 408 } // namespace switches | 412 } // namespace switches |
| 409 | 413 |
| 410 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ | 414 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ |
| OLD | NEW |