| 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 12 matching lines...) Expand all Loading... |
| 23 ASH_EXPORT extern const char kAshDebugShortcuts[]; | 23 ASH_EXPORT extern const char kAshDebugShortcuts[]; |
| 24 ASH_EXPORT extern const char kAshDebugShowPreferredNetworks[]; | 24 ASH_EXPORT extern const char kAshDebugShowPreferredNetworks[]; |
| 25 ASH_EXPORT extern const char kAshDefaultGuestWallpaperLarge[]; | 25 ASH_EXPORT extern const char kAshDefaultGuestWallpaperLarge[]; |
| 26 ASH_EXPORT extern const char kAshDefaultGuestWallpaperSmall[]; | 26 ASH_EXPORT extern const char kAshDefaultGuestWallpaperSmall[]; |
| 27 ASH_EXPORT extern const char kAshDefaultWallpaperLarge[]; | 27 ASH_EXPORT extern const char kAshDefaultWallpaperLarge[]; |
| 28 ASH_EXPORT extern const char kAshDefaultWallpaperSmall[]; | 28 ASH_EXPORT extern const char kAshDefaultWallpaperSmall[]; |
| 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 kAshDisableAlternateFrameCaptionButtonStyle[]; |
| 33 ASH_EXPORT extern const char kAshDisableAutoMaximizing[]; | 34 ASH_EXPORT extern const char kAshDisableAutoMaximizing[]; |
| 34 ASH_EXPORT extern const char kAshDisableDisplayChangeLimiter[]; | 35 ASH_EXPORT extern const char kAshDisableDisplayChangeLimiter[]; |
| 35 ASH_EXPORT extern const char kAshDisableDragOffShelf[]; | 36 ASH_EXPORT extern const char kAshDisableDragOffShelf[]; |
| 36 ASH_EXPORT extern const char kAshDisableImmersiveFullscreen[]; | 37 ASH_EXPORT extern const char kAshDisableImmersiveFullscreen[]; |
| 37 ASH_EXPORT extern const char kAshDisableNewLockAnimations[]; | 38 ASH_EXPORT extern const char kAshDisableNewLockAnimations[]; |
| 38 ASH_EXPORT extern const char kAshDisableOverviewMode[]; | 39 ASH_EXPORT extern const char kAshDisableOverviewMode[]; |
| 39 ASH_EXPORT extern const char kAshDisableDragAndDropAppListToLauncher[]; | 40 ASH_EXPORT extern const char kAshDisableDragAndDropAppListToLauncher[]; |
| 40 #if defined(OS_CHROMEOS) | 41 #if defined(OS_CHROMEOS) |
| 41 ASH_EXPORT extern const char kAshDisableSoftwareMirroring[]; | 42 ASH_EXPORT extern const char kAshDisableSoftwareMirroring[]; |
| 42 ASH_EXPORT extern const char kAshDisableUsbChargerNotification[]; | 43 ASH_EXPORT extern const char kAshDisableUsbChargerNotification[]; |
| 43 ASH_EXPORT extern const char kAshEnableAudioDeviceMenu[]; | 44 ASH_EXPORT extern const char kAshEnableAudioDeviceMenu[]; |
| 44 #endif | 45 #endif |
| 45 ASH_EXPORT extern const char kAshEnableAdvancedGestures[]; | 46 ASH_EXPORT extern const char kAshEnableAdvancedGestures[]; |
| 47 ASH_EXPORT extern const char kAshEnableAlternateFrameCaptionButtonStyle[]; |
| 46 ASH_EXPORT extern const char kAshEnableBrightnessControl[]; | 48 ASH_EXPORT extern const char kAshEnableBrightnessControl[]; |
| 47 ASH_EXPORT extern const char kAshEnableDockedWindows[]; | 49 ASH_EXPORT extern const char kAshEnableDockedWindows[]; |
| 48 #if defined(OS_LINUX) | 50 #if defined(OS_LINUX) |
| 49 ASH_EXPORT extern const char kAshEnableMemoryMonitor[]; | 51 ASH_EXPORT extern const char kAshEnableMemoryMonitor[]; |
| 50 #endif | 52 #endif |
| 51 ASH_EXPORT extern const char kAshEnableImmersiveFullscreen[]; | 53 ASH_EXPORT extern const char kAshEnableImmersiveFullscreen[]; |
| 52 ASH_EXPORT extern const char kAshEnableOak[]; | 54 ASH_EXPORT extern const char kAshEnableOak[]; |
| 53 ASH_EXPORT extern const char kAshEnableStickyEdges[]; | 55 ASH_EXPORT extern const char kAshEnableStickyEdges[]; |
| 54 ASH_EXPORT extern const char kAshEnableTrayDragging[]; | 56 ASH_EXPORT extern const char kAshEnableTrayDragging[]; |
| 55 ASH_EXPORT extern const char kAshForceMirrorMode[]; | 57 ASH_EXPORT extern const char kAshForceMirrorMode[]; |
| 56 ASH_EXPORT extern const char kAshHideNotificationsForFactory[]; | 58 ASH_EXPORT extern const char kAshHideNotificationsForFactory[]; |
| 57 ASH_EXPORT extern const char kAshHostWindowBounds[]; | 59 ASH_EXPORT extern const char kAshHostWindowBounds[]; |
| 58 ASH_EXPORT extern const char kAshImmersiveHideTabIndicators[]; | 60 ASH_EXPORT extern const char kAshImmersiveHideTabIndicators[]; |
| 59 ASH_EXPORT extern const char kAshSecondaryDisplayLayout[]; | 61 ASH_EXPORT extern const char kAshSecondaryDisplayLayout[]; |
| 60 ASH_EXPORT extern const char kAshTouchHud[]; | 62 ASH_EXPORT extern const char kAshTouchHud[]; |
| 61 ASH_EXPORT extern const char kAshUseAlternateShelfLayout[]; | 63 ASH_EXPORT extern const char kAshUseAlternateShelfLayout[]; |
| 62 ASH_EXPORT extern const char kAshUseFirstDisplayAsInternal[]; | 64 ASH_EXPORT extern const char kAshUseFirstDisplayAsInternal[]; |
| 63 ASH_EXPORT extern const char kAuraLegacyPowerButton[]; | 65 ASH_EXPORT extern const char kAuraLegacyPowerButton[]; |
| 64 #if defined(OS_WIN) | 66 #if defined(OS_WIN) |
| 65 ASH_EXPORT extern const char kForceAshToDesktop[]; | 67 ASH_EXPORT extern const char kForceAshToDesktop[]; |
| 66 #endif | 68 #endif |
| 67 ASH_EXPORT extern const char kForcedMaximizeMode[]; | 69 ASH_EXPORT extern const char kForcedMaximizeMode[]; |
| 68 | 70 |
| 69 ASH_EXPORT extern const char kShowShelfAlignmentMenu[]; | 71 ASH_EXPORT extern const char kShowShelfAlignmentMenu[]; |
| 70 ASH_EXPORT extern const char kHideShelfAlignmentMenu[]; | 72 ASH_EXPORT extern const char kHideShelfAlignmentMenu[]; |
| 71 | 73 |
| 74 // Returns true if the alternate visual style for the caption buttons (minimize, |
| 75 // maximize, restore, close) should be used. |
| 76 ASH_EXPORT bool UseAlternateFrameCaptionButtonStyle(); |
| 77 |
| 72 // Returns true if the alternate shelf layout should be used. | 78 // Returns true if the alternate shelf layout should be used. |
| 73 ASH_EXPORT bool UseAlternateShelfLayout(); | 79 ASH_EXPORT bool UseAlternateShelfLayout(); |
| 74 | 80 |
| 75 // Returns true if items can be dragged off the shelf to unpin. | 81 // Returns true if items can be dragged off the shelf to unpin. |
| 76 ASH_EXPORT bool UseDragOffShelf(); | 82 ASH_EXPORT bool UseDragOffShelf(); |
| 77 | 83 |
| 78 // Returns true if side shelf alignment is enabled. | 84 // Returns true if side shelf alignment is enabled. |
| 79 ASH_EXPORT bool ShowShelfAlignmentMenu(); | 85 ASH_EXPORT bool ShowShelfAlignmentMenu(); |
| 80 | 86 |
| 81 #if defined(OS_CHROMEOS) | 87 #if defined(OS_CHROMEOS) |
| 82 // Returns true if new audio handler should be used. | 88 // Returns true if new audio handler should be used. |
| 83 ASH_EXPORT bool UseNewAudioHandler(); | 89 ASH_EXPORT bool UseNewAudioHandler(); |
| 84 | 90 |
| 85 // Returns true if we should show the audio device switching UI. | 91 // Returns true if we should show the audio device switching UI. |
| 86 ASH_EXPORT bool ShowAudioDeviceMenu(); | 92 ASH_EXPORT bool ShowAudioDeviceMenu(); |
| 87 | 93 |
| 88 // Returns true if a notification should appear when a low-power USB charger | 94 // Returns true if a notification should appear when a low-power USB charger |
| 89 // is connected. | 95 // is connected. |
| 90 ASH_EXPORT bool UseUsbChargerNotification(); | 96 ASH_EXPORT bool UseUsbChargerNotification(); |
| 91 #endif | 97 #endif |
| 92 | 98 |
| 93 } // namespace switches | 99 } // namespace switches |
| 94 } // namespace ash | 100 } // namespace ash |
| 95 | 101 |
| 96 #endif // ASH_ASH_SWITCHES_H_ | 102 #endif // ASH_ASH_SWITCHES_H_ |
| OLD | NEW |