| 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 kAshDefaultWallpaperLarge[]; | 26 ASH_EXPORT extern const char kAshDefaultWallpaperLarge[]; |
| 27 ASH_EXPORT extern const char kAshDefaultWallpaperSmall[]; | 27 ASH_EXPORT extern const char kAshDefaultWallpaperSmall[]; |
| 28 ASH_EXPORT extern const char kAshDisableAlternateFrameCaptionButtonStyle[]; | 28 ASH_EXPORT extern const char kAshDisableAlternateFrameCaptionButtonStyle[]; |
| 29 ASH_EXPORT extern const char kAshDisableAlternateShelfLayout[]; | 29 ASH_EXPORT extern const char kAshDisableAlternateShelfLayout[]; |
| 30 #if defined(OS_CHROMEOS) | 30 #if defined(OS_CHROMEOS) |
| 31 ASH_EXPORT extern const char kAshDisableAudioDeviceMenu[]; | 31 ASH_EXPORT extern const char kAshDisableAudioDeviceMenu[]; |
| 32 #endif | 32 #endif |
| 33 ASH_EXPORT extern const char kAshDisableDockedWindows[]; | 33 ASH_EXPORT extern const char kAshDisableDockedWindows[]; |
| 34 ASH_EXPORT extern const char kAshDisableDragAndDropAppListToLauncher[]; | 34 ASH_EXPORT extern const char kAshDisableDragAndDropAppListToLauncher[]; |
| 35 ASH_EXPORT extern const char kAshDisableDragOffShelf[]; | 35 ASH_EXPORT extern const char kAshDisableDragOffShelf[]; |
| 36 ASH_EXPORT extern const char kAshDisableOverviewMode[]; | |
| 37 #if defined(OS_CHROMEOS) | 36 #if defined(OS_CHROMEOS) |
| 38 ASH_EXPORT extern const char kAshDisableUsbChargerNotification[]; | 37 ASH_EXPORT extern const char kAshDisableUsbChargerNotification[]; |
| 39 ASH_EXPORT extern const char kAshEnableAudioDeviceMenu[]; | 38 ASH_EXPORT extern const char kAshEnableAudioDeviceMenu[]; |
| 40 #endif | 39 #endif |
| 41 ASH_EXPORT extern const char kAshEnableAdvancedGestures[]; | 40 ASH_EXPORT extern const char kAshEnableAdvancedGestures[]; |
| 42 ASH_EXPORT extern const char kAshEnableAlternateFrameCaptionButtonStyle[]; | 41 ASH_EXPORT extern const char kAshEnableAlternateFrameCaptionButtonStyle[]; |
| 43 ASH_EXPORT extern const char kAshEnableBrightnessControl[]; | 42 ASH_EXPORT extern const char kAshEnableBrightnessControl[]; |
| 44 ASH_EXPORT extern const char kAshEnableImmersiveFullscreenForAllWindows[]; | 43 ASH_EXPORT extern const char kAshEnableImmersiveFullscreenForAllWindows[]; |
| 45 ASH_EXPORT extern const char kAshEnableImmersiveFullscreenForBrowserOnly[]; | 44 ASH_EXPORT extern const char kAshEnableImmersiveFullscreenForBrowserOnly[]; |
| 46 #if defined(OS_LINUX) | 45 #if defined(OS_LINUX) |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 // Returns true if items can be dragged off the shelf to unpin. | 77 // Returns true if items can be dragged off the shelf to unpin. |
| 79 ASH_EXPORT bool UseDragOffShelf(); | 78 ASH_EXPORT bool UseDragOffShelf(); |
| 80 | 79 |
| 81 // Returns true if all windows (barring frameless apps) can be put into | 80 // Returns true if all windows (barring frameless apps) can be put into |
| 82 // immersive fullscreen via <F4>. | 81 // immersive fullscreen via <F4>. |
| 83 ASH_EXPORT bool UseImmersiveFullscreenForAllWindows(); | 82 ASH_EXPORT bool UseImmersiveFullscreenForAllWindows(); |
| 84 | 83 |
| 85 // Returns true if multiple user icons are allowed in the tray. | 84 // Returns true if multiple user icons are allowed in the tray. |
| 86 ASH_EXPORT bool UseMultiUserTray(); | 85 ASH_EXPORT bool UseMultiUserTray(); |
| 87 | 86 |
| 88 // Returns true if overview mode should be activated for window switching. | |
| 89 ASH_EXPORT bool UseOverviewMode(); | |
| 90 | |
| 91 // Returns true if docked windows feature is enabled. | 87 // Returns true if docked windows feature is enabled. |
| 92 ASH_EXPORT bool UseDockedWindows(); | 88 ASH_EXPORT bool UseDockedWindows(); |
| 93 | 89 |
| 94 // Returns true if we should show the audio device switching UI. | 90 // Returns true if we should show the audio device switching UI. |
| 95 ASH_EXPORT bool ShowAudioDeviceMenu(); | 91 ASH_EXPORT bool ShowAudioDeviceMenu(); |
| 96 | 92 |
| 97 #if defined(OS_CHROMEOS) | 93 #if defined(OS_CHROMEOS) |
| 98 // Returns true if a notification should appear when a low-power USB charger | 94 // Returns true if a notification should appear when a low-power USB charger |
| 99 // is connected. | 95 // is connected. |
| 100 ASH_EXPORT bool UseUsbChargerNotification(); | 96 ASH_EXPORT bool UseUsbChargerNotification(); |
| 101 #endif | 97 #endif |
| 102 | 98 |
| 103 } // namespace switches | 99 } // namespace switches |
| 104 } // namespace ash | 100 } // namespace ash |
| 105 | 101 |
| 106 #endif // ASH_ASH_SWITCHES_H_ | 102 #endif // ASH_ASH_SWITCHES_H_ |
| OLD | NEW |