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 17 matching lines...) Expand all Loading... |
28 | 28 |
29 #if defined(OS_CHROMEOS) | 29 #if defined(OS_CHROMEOS) |
30 ASH_EXPORT extern const char kAshDisableAudioDeviceMenu[]; | 30 ASH_EXPORT extern const char kAshDisableAudioDeviceMenu[]; |
31 #endif | 31 #endif |
32 | 32 |
33 ASH_EXPORT extern const char kAshDisableDockedWindows[]; | 33 ASH_EXPORT extern const char kAshDisableDockedWindows[]; |
34 ASH_EXPORT extern const char kAshDisableOverviewMode[]; | 34 ASH_EXPORT extern const char kAshDisableOverviewMode[]; |
35 ASH_EXPORT extern const char kAshEnableAdvancedGestures[]; | 35 ASH_EXPORT extern const char kAshEnableAdvancedGestures[]; |
36 ASH_EXPORT extern const char kAshEnableAlternateFrameCaptionButtonStyle[]; | 36 ASH_EXPORT extern const char kAshEnableAlternateFrameCaptionButtonStyle[]; |
37 ASH_EXPORT extern const char kAshEnableBrightnessControl[]; | 37 ASH_EXPORT extern const char kAshEnableBrightnessControl[]; |
38 ASH_EXPORT extern const char kAshEnableImmersiveFullscreenForAllWindows[]; | |
39 ASH_EXPORT extern const char kAshEnableImmersiveFullscreenForBrowserOnly[]; | |
40 #if defined(OS_CHROMEOS) | 38 #if defined(OS_CHROMEOS) |
41 ASH_EXPORT extern const char kAshEnableMagnifierKeyScroller[]; | 39 ASH_EXPORT extern const char kAshEnableMagnifierKeyScroller[]; |
42 ASH_EXPORT extern const char kAshEnableMultiUserTray[]; | 40 ASH_EXPORT extern const char kAshEnableMultiUserTray[]; |
43 #endif | 41 #endif |
44 ASH_EXPORT extern const char kAshEnableSoftwareMirroring[]; | 42 ASH_EXPORT extern const char kAshEnableSoftwareMirroring[]; |
45 ASH_EXPORT extern const char kAshEnableSystemSounds[]; | 43 ASH_EXPORT extern const char kAshEnableSystemSounds[]; |
46 ASH_EXPORT extern const char kAshEnableTouchViewTesting[]; | 44 ASH_EXPORT extern const char kAshEnableTouchViewTesting[]; |
47 ASH_EXPORT extern const char kAshEnableTrayDragging[]; | 45 ASH_EXPORT extern const char kAshEnableTrayDragging[]; |
48 ASH_EXPORT extern const char kAshGuestWallpaperLarge[]; | 46 ASH_EXPORT extern const char kAshGuestWallpaperLarge[]; |
49 ASH_EXPORT extern const char kAshGuestWallpaperSmall[]; | 47 ASH_EXPORT extern const char kAshGuestWallpaperSmall[]; |
50 ASH_EXPORT extern const char kAshHideNotificationsForFactory[]; | 48 ASH_EXPORT extern const char kAshHideNotificationsForFactory[]; |
51 ASH_EXPORT extern const char kAshHostWindowBounds[]; | 49 ASH_EXPORT extern const char kAshHostWindowBounds[]; |
52 ASH_EXPORT extern const char kAshSecondaryDisplayLayout[]; | 50 ASH_EXPORT extern const char kAshSecondaryDisplayLayout[]; |
53 ASH_EXPORT extern const char kAshTouchHud[]; | 51 ASH_EXPORT extern const char kAshTouchHud[]; |
54 ASH_EXPORT extern const char kAshUseFirstDisplayAsInternal[]; | 52 ASH_EXPORT extern const char kAshUseFirstDisplayAsInternal[]; |
55 ASH_EXPORT extern const char kAuraLegacyPowerButton[]; | 53 ASH_EXPORT extern const char kAuraLegacyPowerButton[]; |
56 #if defined(OS_WIN) | 54 #if defined(OS_WIN) |
57 ASH_EXPORT extern const char kForceAshToDesktop[]; | 55 ASH_EXPORT extern const char kForceAshToDesktop[]; |
58 #endif | 56 #endif |
59 | 57 |
60 // Returns true if the alternate visual style for the caption buttons (minimize, | 58 // Returns true if the alternate visual style for the caption buttons (minimize, |
61 // maximize, restore, close) should be used. | 59 // maximize, restore, close) should be used. |
62 ASH_EXPORT bool UseAlternateFrameCaptionButtonStyle(); | 60 ASH_EXPORT bool UseAlternateFrameCaptionButtonStyle(); |
63 | 61 |
64 // Returns true if items can be dragged off the shelf to unpin. | 62 // Returns true if items can be dragged off the shelf to unpin. |
65 ASH_EXPORT bool UseDragOffShelf(); | 63 ASH_EXPORT bool UseDragOffShelf(); |
66 | 64 |
67 // Returns true if all windows (barring frameless apps) can be put into | |
68 // immersive fullscreen via <F4>. | |
69 ASH_EXPORT bool UseImmersiveFullscreenForAllWindows(); | |
70 | |
71 // Returns true if overview mode should be activated for window switching. | 65 // Returns true if overview mode should be activated for window switching. |
72 ASH_EXPORT bool UseOverviewMode(); | 66 ASH_EXPORT bool UseOverviewMode(); |
73 | 67 |
74 // Returns true if docked windows feature is enabled. | 68 // Returns true if docked windows feature is enabled. |
75 ASH_EXPORT bool UseDockedWindows(); | 69 ASH_EXPORT bool UseDockedWindows(); |
76 | 70 |
77 #if defined(OS_CHROMEOS) | 71 #if defined(OS_CHROMEOS) |
78 // Returns true if a notification should appear when a low-power USB charger | 72 // Returns true if a notification should appear when a low-power USB charger |
79 // is connected. | 73 // is connected. |
80 ASH_EXPORT bool UseUsbChargerNotification(); | 74 ASH_EXPORT bool UseUsbChargerNotification(); |
81 #endif | 75 #endif |
82 | 76 |
83 } // namespace switches | 77 } // namespace switches |
84 } // namespace ash | 78 } // namespace ash |
85 | 79 |
86 #endif // ASH_ASH_SWITCHES_H_ | 80 #endif // ASH_ASH_SWITCHES_H_ |
OLD | NEW |