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 30 matching lines...) Expand all Loading... |
77 // Returns true if items can be dragged off the shelf to unpin. | 76 // Returns true if items can be dragged off the shelf to unpin. |
78 ASH_EXPORT bool UseDragOffShelf(); | 77 ASH_EXPORT bool UseDragOffShelf(); |
79 | 78 |
80 // Returns true if all windows (barring frameless apps) can be put into | 79 // Returns true if all windows (barring frameless apps) can be put into |
81 // immersive fullscreen via <F4>. | 80 // immersive fullscreen via <F4>. |
82 ASH_EXPORT bool UseImmersiveFullscreenForAllWindows(); | 81 ASH_EXPORT bool UseImmersiveFullscreenForAllWindows(); |
83 | 82 |
84 // Returns true if multiple user icons are allowed in the tray. | 83 // Returns true if multiple user icons are allowed in the tray. |
85 ASH_EXPORT bool UseMultiUserTray(); | 84 ASH_EXPORT bool UseMultiUserTray(); |
86 | 85 |
87 // Returns true if overview mode should be activated for window switching. | |
88 ASH_EXPORT bool UseOverviewMode(); | |
89 | |
90 // Returns true if docked windows feature is enabled. | 86 // Returns true if docked windows feature is enabled. |
91 ASH_EXPORT bool UseDockedWindows(); | 87 ASH_EXPORT bool UseDockedWindows(); |
92 | 88 |
93 // Returns true if we should show the audio device switching UI. | 89 // Returns true if we should show the audio device switching UI. |
94 ASH_EXPORT bool ShowAudioDeviceMenu(); | 90 ASH_EXPORT bool ShowAudioDeviceMenu(); |
95 | 91 |
96 #if defined(OS_CHROMEOS) | 92 #if defined(OS_CHROMEOS) |
97 // Returns true if a notification should appear when a low-power USB charger | 93 // Returns true if a notification should appear when a low-power USB charger |
98 // is connected. | 94 // is connected. |
99 ASH_EXPORT bool UseUsbChargerNotification(); | 95 ASH_EXPORT bool UseUsbChargerNotification(); |
100 #endif | 96 #endif |
101 | 97 |
102 } // namespace switches | 98 } // namespace switches |
103 } // namespace ash | 99 } // namespace ash |
104 | 100 |
105 #endif // ASH_ASH_SWITCHES_H_ | 101 #endif // ASH_ASH_SWITCHES_H_ |
OLD | NEW |