| 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 #ifndef ASH_ASH_SWITCHES_H_ | 5 #ifndef ASH_ASH_SWITCHES_H_ |
| 6 #define ASH_ASH_SWITCHES_H_ | 6 #define ASH_ASH_SWITCHES_H_ |
| 7 | 7 |
| 8 #include "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
| 9 | 9 |
| 10 #include "build/build_config.h" | 10 #include "build/build_config.h" |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 ASH_EXPORT extern const char kAshDisableDisplayChangeLimiter[]; | 26 ASH_EXPORT extern const char kAshDisableDisplayChangeLimiter[]; |
| 27 ASH_EXPORT extern const char kAshDisableImmersiveFullscreen[]; | 27 ASH_EXPORT extern const char kAshDisableImmersiveFullscreen[]; |
| 28 ASH_EXPORT extern const char kAshDisableNewAudioHandler[]; | 28 ASH_EXPORT extern const char kAshDisableNewAudioHandler[]; |
| 29 ASH_EXPORT extern const char kAshDisableNewLockAnimations[]; | 29 ASH_EXPORT extern const char kAshDisableNewLockAnimations[]; |
| 30 ASH_EXPORT extern const char kAshDisablePerAppLauncher[]; | 30 ASH_EXPORT extern const char kAshDisablePerAppLauncher[]; |
| 31 ASH_EXPORT extern const char kAshDisableUIScaling[]; | 31 ASH_EXPORT extern const char kAshDisableUIScaling[]; |
| 32 ASH_EXPORT extern const char kAshDisableDisplayRotation[]; | 32 ASH_EXPORT extern const char kAshDisableDisplayRotation[]; |
| 33 ASH_EXPORT extern const char kAshDisableDragAndDropAppListToLauncher[]; | 33 ASH_EXPORT extern const char kAshDisableDragAndDropAppListToLauncher[]; |
| 34 #if defined(OS_CHROMEOS) | 34 #if defined(OS_CHROMEOS) |
| 35 ASH_EXPORT extern const char kAshDisableSoftwareMirroring[]; | 35 ASH_EXPORT extern const char kAshDisableSoftwareMirroring[]; |
| 36 ASH_EXPORT extern const char kAshDisableUsbChargerNotification[]; |
| 36 #endif | 37 #endif |
| 37 ASH_EXPORT extern const char kAshEnableAudioDeviceMenu[]; | 38 ASH_EXPORT extern const char kAshEnableAudioDeviceMenu[]; |
| 38 ASH_EXPORT extern const char kAshEnableAdvancedGestures[]; | 39 ASH_EXPORT extern const char kAshEnableAdvancedGestures[]; |
| 39 ASH_EXPORT extern const char kAshEnableBrightnessControl[]; | 40 ASH_EXPORT extern const char kAshEnableBrightnessControl[]; |
| 40 ASH_EXPORT extern const char kAshEnableDockedWindows[]; | 41 ASH_EXPORT extern const char kAshEnableDockedWindows[]; |
| 41 #if defined(OS_LINUX) | 42 #if defined(OS_LINUX) |
| 42 ASH_EXPORT extern const char kAshEnableMemoryMonitor[]; | 43 ASH_EXPORT extern const char kAshEnableMemoryMonitor[]; |
| 43 #endif | 44 #endif |
| 44 ASH_EXPORT extern const char kAshEnableImmersiveFullscreen[]; | 45 ASH_EXPORT extern const char kAshEnableImmersiveFullscreen[]; |
| 45 ASH_EXPORT extern const char kAshEnableOak[]; | 46 ASH_EXPORT extern const char kAshEnableOak[]; |
| (...skipping 16 matching lines...) Expand all Loading... |
| 62 | 63 |
| 63 // Returns true if new audio handler should be used. | 64 // Returns true if new audio handler should be used. |
| 64 ASH_EXPORT bool UseNewAudioHandler(); | 65 ASH_EXPORT bool UseNewAudioHandler(); |
| 65 | 66 |
| 66 // Returns true if we should show the audio device switching UI. | 67 // Returns true if we should show the audio device switching UI. |
| 67 ASH_EXPORT bool ShowAudioDeviceMenu(); | 68 ASH_EXPORT bool ShowAudioDeviceMenu(); |
| 68 | 69 |
| 69 // Returns true if the alternate shelf layout should be used. | 70 // Returns true if the alternate shelf layout should be used. |
| 70 ASH_EXPORT bool UseAlternateShelfLayout(); | 71 ASH_EXPORT bool UseAlternateShelfLayout(); |
| 71 | 72 |
| 73 #if defined(OS_CHROMEOS) |
| 74 // Returns true if a notification should appear when a low-power USB charger |
| 75 // is connected. |
| 76 ASH_EXPORT bool UseUsbChargerNotification(); |
| 77 #endif |
| 78 |
| 72 } // namespace switches | 79 } // namespace switches |
| 73 } // namespace ash | 80 } // namespace ash |
| 74 | 81 |
| 75 #endif // ASH_ASH_SWITCHES_H_ | 82 #endif // ASH_ASH_SWITCHES_H_ |
| OLD | NEW |