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 26 matching lines...) Expand all Loading... |
37 ASH_EXPORT extern const char kAshDisableDragOffShelf[]; | 37 ASH_EXPORT extern const char kAshDisableDragOffShelf[]; |
38 ASH_EXPORT extern const char kAshDisableOverviewMode[]; | 38 ASH_EXPORT extern const char kAshDisableOverviewMode[]; |
39 #if defined(OS_CHROMEOS) | 39 #if defined(OS_CHROMEOS) |
40 ASH_EXPORT extern const char kAshDisableUsbChargerNotification[]; | 40 ASH_EXPORT extern const char kAshDisableUsbChargerNotification[]; |
41 ASH_EXPORT extern const char kAshEnableAudioDeviceMenu[]; | 41 ASH_EXPORT extern const char kAshEnableAudioDeviceMenu[]; |
42 #endif | 42 #endif |
43 ASH_EXPORT extern const char kAshEnableAdvancedGestures[]; | 43 ASH_EXPORT extern const char kAshEnableAdvancedGestures[]; |
44 ASH_EXPORT extern const char kAshEnableAlternateFrameCaptionButtonStyle[]; | 44 ASH_EXPORT extern const char kAshEnableAlternateFrameCaptionButtonStyle[]; |
45 ASH_EXPORT extern const char kAshEnableBrightnessControl[]; | 45 ASH_EXPORT extern const char kAshEnableBrightnessControl[]; |
46 ASH_EXPORT extern const char kAshEnableImmersiveFullscreenForAllWindows[]; | 46 ASH_EXPORT extern const char kAshEnableImmersiveFullscreenForAllWindows[]; |
| 47 ASH_EXPORT extern const char kAshEnableImmersiveFullscreenForBrowserOnly[]; |
47 #if defined(OS_CHROMEOS) | 48 #if defined(OS_CHROMEOS) |
48 ASH_EXPORT extern const char kAshEnableFullMultiProfileMode[]; | 49 ASH_EXPORT extern const char kAshEnableFullMultiProfileMode[]; |
49 #endif | 50 #endif |
50 #if defined(OS_LINUX) | 51 #if defined(OS_LINUX) |
51 ASH_EXPORT extern const char kAshEnableMemoryMonitor[]; | 52 ASH_EXPORT extern const char kAshEnableMemoryMonitor[]; |
52 #endif | 53 #endif |
53 #if defined(OS_CHROMEOS) | 54 #if defined(OS_CHROMEOS) |
54 ASH_EXPORT extern const char kAshEnableMultiUserTray[]; | 55 ASH_EXPORT extern const char kAshEnableMultiUserTray[]; |
55 #endif | 56 #endif |
56 ASH_EXPORT extern const char kAshEnableOak[]; | 57 ASH_EXPORT extern const char kAshEnableOak[]; |
(...skipping 21 matching lines...) Expand all Loading... |
78 // Returns true if the alternate visual style for the caption buttons (minimize, | 79 // Returns true if the alternate visual style for the caption buttons (minimize, |
79 // maximize, restore, close) should be used. | 80 // maximize, restore, close) should be used. |
80 ASH_EXPORT bool UseAlternateFrameCaptionButtonStyle(); | 81 ASH_EXPORT bool UseAlternateFrameCaptionButtonStyle(); |
81 | 82 |
82 // Returns true if the alternate shelf layout should be used. | 83 // Returns true if the alternate shelf layout should be used. |
83 ASH_EXPORT bool UseAlternateShelfLayout(); | 84 ASH_EXPORT bool UseAlternateShelfLayout(); |
84 | 85 |
85 // Returns true if items can be dragged off the shelf to unpin. | 86 // Returns true if items can be dragged off the shelf to unpin. |
86 ASH_EXPORT bool UseDragOffShelf(); | 87 ASH_EXPORT bool UseDragOffShelf(); |
87 | 88 |
| 89 // Returns true if all windows (barring frameless apps) can be put into |
| 90 // immersive fullscreen via <F4>. |
| 91 ASH_EXPORT bool UseImmersiveFullscreenForAllWindows(); |
| 92 |
88 // Returns true if side shelf alignment is enabled. | 93 // Returns true if side shelf alignment is enabled. |
89 ASH_EXPORT bool ShowShelfAlignmentMenu(); | 94 ASH_EXPORT bool ShowShelfAlignmentMenu(); |
90 | 95 |
91 // Returns true if the full MultiProfile mode (M-31 version) is used. | 96 // Returns true if the full MultiProfile mode (M-31 version) is used. |
92 ASH_EXPORT bool UseFullMultiProfileMode(); | 97 ASH_EXPORT bool UseFullMultiProfileMode(); |
93 | 98 |
94 // Returns true if multiple user icons are allowed in the tray. | 99 // Returns true if multiple user icons are allowed in the tray. |
95 ASH_EXPORT bool UseMultiUserTray(); | 100 ASH_EXPORT bool UseMultiUserTray(); |
96 | 101 |
97 // Returns true if overview mode should be activated for window switching. | 102 // Returns true if overview mode should be activated for window switching. |
98 ASH_EXPORT bool UseOverviewMode(); | 103 ASH_EXPORT bool UseOverviewMode(); |
99 | 104 |
100 // Returns true if docked windows feature is enabled. | 105 // Returns true if docked windows feature is enabled. |
101 ASH_EXPORT bool UseDockedWindows(); | 106 ASH_EXPORT bool UseDockedWindows(); |
102 | 107 |
103 #if defined(OS_CHROMEOS) | 108 #if defined(OS_CHROMEOS) |
104 // Returns true if we should show the audio device switching UI. | 109 // Returns true if we should show the audio device switching UI. |
105 ASH_EXPORT bool ShowAudioDeviceMenu(); | 110 ASH_EXPORT bool ShowAudioDeviceMenu(); |
106 | 111 |
107 // Returns true if a notification should appear when a low-power USB charger | 112 // Returns true if a notification should appear when a low-power USB charger |
108 // is connected. | 113 // is connected. |
109 ASH_EXPORT bool UseUsbChargerNotification(); | 114 ASH_EXPORT bool UseUsbChargerNotification(); |
110 #endif | 115 #endif |
111 | 116 |
112 } // namespace switches | 117 } // namespace switches |
113 } // namespace ash | 118 } // namespace ash |
114 | 119 |
115 #endif // ASH_ASH_SWITCHES_H_ | 120 #endif // ASH_ASH_SWITCHES_H_ |
OLD | NEW |