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