| 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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 ASH_EXPORT extern const char kAshGuestWallpaperSmall[]; | 60 ASH_EXPORT extern const char kAshGuestWallpaperSmall[]; |
| 61 ASH_EXPORT extern const char kAshHideNotificationsForFactory[]; | 61 ASH_EXPORT extern const char kAshHideNotificationsForFactory[]; |
| 62 ASH_EXPORT extern const char kAshHostWindowBounds[]; | 62 ASH_EXPORT extern const char kAshHostWindowBounds[]; |
| 63 ASH_EXPORT extern const char kAshImmersiveHideTabIndicators[]; | 63 ASH_EXPORT extern const char kAshImmersiveHideTabIndicators[]; |
| 64 ASH_EXPORT extern const char kAshOemWallpaperLarge[]; | 64 ASH_EXPORT extern const char kAshOemWallpaperLarge[]; |
| 65 ASH_EXPORT extern const char kAshOemWallpaperSmall[]; | 65 ASH_EXPORT extern const char kAshOemWallpaperSmall[]; |
| 66 ASH_EXPORT extern const char kAshSecondaryDisplayLayout[]; | 66 ASH_EXPORT extern const char kAshSecondaryDisplayLayout[]; |
| 67 ASH_EXPORT extern const char kAshTouchHud[]; | 67 ASH_EXPORT extern const char kAshTouchHud[]; |
| 68 ASH_EXPORT extern const char kAshUseAlternateShelfLayout[]; | 68 ASH_EXPORT extern const char kAshUseAlternateShelfLayout[]; |
| 69 ASH_EXPORT extern const char kAshUseFirstDisplayAsInternal[]; | 69 ASH_EXPORT extern const char kAshUseFirstDisplayAsInternal[]; |
| 70 ASH_EXPORT extern const char kAshUseSameFrameForV1AndV2Apps[]; |
| 70 ASH_EXPORT extern const char kAuraLegacyPowerButton[]; | 71 ASH_EXPORT extern const char kAuraLegacyPowerButton[]; |
| 71 #if defined(OS_WIN) | 72 #if defined(OS_WIN) |
| 72 ASH_EXPORT extern const char kForceAshToDesktop[]; | 73 ASH_EXPORT extern const char kForceAshToDesktop[]; |
| 73 #endif | 74 #endif |
| 74 ASH_EXPORT extern const char kForcedMaximizeMode[]; | 75 ASH_EXPORT extern const char kForcedMaximizeMode[]; |
| 75 | 76 |
| 76 ASH_EXPORT extern const char kShowShelfAlignmentMenu[]; | 77 ASH_EXPORT extern const char kShowShelfAlignmentMenu[]; |
| 77 ASH_EXPORT extern const char kHideShelfAlignmentMenu[]; | 78 ASH_EXPORT extern const char kHideShelfAlignmentMenu[]; |
| 78 | 79 |
| 79 // Returns true if the alternate visual style for the caption buttons (minimize, | 80 // Returns true if the alternate visual style for the caption buttons (minimize, |
| 80 // maximize, restore, close) should be used. | 81 // maximize, restore, close) should be used. |
| 81 ASH_EXPORT bool UseAlternateFrameCaptionButtonStyle(); | 82 ASH_EXPORT bool UseAlternateFrameCaptionButtonStyle(); |
| 82 | 83 |
| 83 // Returns true if the alternate shelf layout should be used. | 84 // Returns true if the alternate shelf layout should be used. |
| 84 ASH_EXPORT bool UseAlternateShelfLayout(); | 85 ASH_EXPORT bool UseAlternateShelfLayout(); |
| 85 | 86 |
| 86 // Returns true if items can be dragged off the shelf to unpin. | 87 // Returns true if items can be dragged off the shelf to unpin. |
| 87 ASH_EXPORT bool UseDragOffShelf(); | 88 ASH_EXPORT bool UseDragOffShelf(); |
| 88 | 89 |
| 90 // Returns true if the same window frame should be used for hosted and packaged |
| 91 // apps. |
| 92 ASH_EXPORT bool UseSameFrameForV1AndV2Apps(); |
| 93 |
| 89 // Returns true if side shelf alignment is enabled. | 94 // Returns true if side shelf alignment is enabled. |
| 90 ASH_EXPORT bool ShowShelfAlignmentMenu(); | 95 ASH_EXPORT bool ShowShelfAlignmentMenu(); |
| 91 | 96 |
| 92 // Returns true if the MultiProfile shelf menu should be shown. | 97 // Returns true if the MultiProfile shelf menu should be shown. |
| 93 ASH_EXPORT bool ShowMultiProfileShelfMenu(); | 98 ASH_EXPORT bool ShowMultiProfileShelfMenu(); |
| 94 | 99 |
| 95 #if defined(OS_CHROMEOS) | 100 #if defined(OS_CHROMEOS) |
| 96 // Returns true if new audio handler should be used. | 101 // Returns true if new audio handler should be used. |
| 97 ASH_EXPORT bool UseNewAudioHandler(); | 102 ASH_EXPORT bool UseNewAudioHandler(); |
| 98 | 103 |
| 99 // Returns true if we should show the audio device switching UI. | 104 // Returns true if we should show the audio device switching UI. |
| 100 ASH_EXPORT bool ShowAudioDeviceMenu(); | 105 ASH_EXPORT bool ShowAudioDeviceMenu(); |
| 101 | 106 |
| 102 // Returns true if a notification should appear when a low-power USB charger | 107 // Returns true if a notification should appear when a low-power USB charger |
| 103 // is connected. | 108 // is connected. |
| 104 ASH_EXPORT bool UseUsbChargerNotification(); | 109 ASH_EXPORT bool UseUsbChargerNotification(); |
| 105 #endif | 110 #endif |
| 106 | 111 |
| 107 } // namespace switches | 112 } // namespace switches |
| 108 } // namespace ash | 113 } // namespace ash |
| 109 | 114 |
| 110 #endif // ASH_ASH_SWITCHES_H_ | 115 #endif // ASH_ASH_SWITCHES_H_ |
| OLD | NEW |