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