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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 ASH_EXPORT extern const char kAshEnableSoftwareMirroring[]; | 49 ASH_EXPORT extern const char kAshEnableSoftwareMirroring[]; |
50 ASH_EXPORT extern const char kAshEnableSystemSounds[]; | 50 ASH_EXPORT extern const char kAshEnableSystemSounds[]; |
51 ASH_EXPORT extern const char kAshEnableTouchViewTesting[]; | 51 ASH_EXPORT extern const char kAshEnableTouchViewTesting[]; |
52 ASH_EXPORT extern const char kAshEnableTrayDragging[]; | 52 ASH_EXPORT extern const char kAshEnableTrayDragging[]; |
53 ASH_EXPORT extern const char kAshGuestWallpaperLarge[]; | 53 ASH_EXPORT extern const char kAshGuestWallpaperLarge[]; |
54 ASH_EXPORT extern const char kAshGuestWallpaperSmall[]; | 54 ASH_EXPORT extern const char kAshGuestWallpaperSmall[]; |
55 ASH_EXPORT extern const char kAshHideNotificationsForFactory[]; | 55 ASH_EXPORT extern const char kAshHideNotificationsForFactory[]; |
56 ASH_EXPORT extern const char kAshHostWindowBounds[]; | 56 ASH_EXPORT extern const char kAshHostWindowBounds[]; |
57 ASH_EXPORT extern const char kAshSecondaryDisplayLayout[]; | 57 ASH_EXPORT extern const char kAshSecondaryDisplayLayout[]; |
58 ASH_EXPORT extern const char kAshTouchHud[]; | 58 ASH_EXPORT extern const char kAshTouchHud[]; |
59 ASH_EXPORT extern const char kAshUseAlternateShelfLayout[]; | |
60 ASH_EXPORT extern const char kAshUseFirstDisplayAsInternal[]; | 59 ASH_EXPORT extern const char kAshUseFirstDisplayAsInternal[]; |
61 ASH_EXPORT extern const char kAuraLegacyPowerButton[]; | 60 ASH_EXPORT extern const char kAuraLegacyPowerButton[]; |
62 #if defined(OS_WIN) | 61 #if defined(OS_WIN) |
63 ASH_EXPORT extern const char kForceAshToDesktop[]; | 62 ASH_EXPORT extern const char kForceAshToDesktop[]; |
64 #endif | 63 #endif |
65 | 64 |
66 // Returns true if the alternate visual style for the caption buttons (minimize, | 65 // Returns true if the alternate visual style for the caption buttons (minimize, |
67 // maximize, restore, close) should be used. | 66 // maximize, restore, close) should be used. |
68 ASH_EXPORT bool UseAlternateFrameCaptionButtonStyle(); | 67 ASH_EXPORT bool UseAlternateFrameCaptionButtonStyle(); |
69 | 68 |
70 // Returns true if the alternate shelf layout should be used. | |
71 ASH_EXPORT bool UseAlternateShelfLayout(); | |
72 | |
73 // Returns true if items can be dragged off the shelf to unpin. | 69 // Returns true if items can be dragged off the shelf to unpin. |
74 ASH_EXPORT bool UseDragOffShelf(); | 70 ASH_EXPORT bool UseDragOffShelf(); |
75 | 71 |
76 // Returns true if all windows (barring frameless apps) can be put into | 72 // Returns true if all windows (barring frameless apps) can be put into |
77 // immersive fullscreen via <F4>. | 73 // immersive fullscreen via <F4>. |
78 ASH_EXPORT bool UseImmersiveFullscreenForAllWindows(); | 74 ASH_EXPORT bool UseImmersiveFullscreenForAllWindows(); |
79 | 75 |
80 // Returns true if multiple user icons are allowed in the tray. | 76 // Returns true if multiple user icons are allowed in the tray. |
81 ASH_EXPORT bool UseMultiUserTray(); | 77 ASH_EXPORT bool UseMultiUserTray(); |
82 | 78 |
83 // Returns true if overview mode should be activated for window switching. | 79 // Returns true if overview mode should be activated for window switching. |
84 ASH_EXPORT bool UseOverviewMode(); | 80 ASH_EXPORT bool UseOverviewMode(); |
85 | 81 |
86 // Returns true if docked windows feature is enabled. | 82 // Returns true if docked windows feature is enabled. |
87 ASH_EXPORT bool UseDockedWindows(); | 83 ASH_EXPORT bool UseDockedWindows(); |
88 | 84 |
89 // Returns true if we should show the audio device switching UI. | 85 // Returns true if we should show the audio device switching UI. |
90 ASH_EXPORT bool ShowAudioDeviceMenu(); | 86 ASH_EXPORT bool ShowAudioDeviceMenu(); |
91 | 87 |
92 #if defined(OS_CHROMEOS) | 88 #if defined(OS_CHROMEOS) |
93 // Returns true if a notification should appear when a low-power USB charger | 89 // Returns true if a notification should appear when a low-power USB charger |
94 // is connected. | 90 // is connected. |
95 ASH_EXPORT bool UseUsbChargerNotification(); | 91 ASH_EXPORT bool UseUsbChargerNotification(); |
96 #endif | 92 #endif |
97 | 93 |
98 } // namespace switches | 94 } // namespace switches |
99 } // namespace ash | 95 } // namespace ash |
100 | 96 |
101 #endif // ASH_ASH_SWITCHES_H_ | 97 #endif // ASH_ASH_SWITCHES_H_ |
OLD | NEW |