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" |
11 | 11 |
12 namespace ash { | 12 namespace ash { |
13 namespace switches { | 13 namespace switches { |
14 | 14 |
15 // Note: If you add a switch, consider if it needs to be copied to a subsequent | 15 // Note: If you add a switch, consider if it needs to be copied to a subsequent |
16 // command line if the process executes a new copy of itself. (For example, | 16 // command line if the process executes a new copy of itself. (For example, |
17 // see chromeos::LoginUtil::GetOffTheRecordCommandLine().) | 17 // see chromeos::LoginUtil::GetOffTheRecordCommandLine().) |
18 | 18 |
19 // Please keep alphabetized. | 19 // Please keep alphabetized. |
20 ASH_EXPORT extern const char kAshAnimateFromBootSplashScreen[]; | 20 ASH_EXPORT extern const char kAshAnimateFromBootSplashScreen[]; |
21 ASH_EXPORT extern const char kAshConstrainPointerToRoot[]; | 21 ASH_EXPORT extern const char kAshConstrainPointerToRoot[]; |
22 ASH_EXPORT extern const char kAshCopyHostBackgroundAtBoot[]; | 22 ASH_EXPORT extern const char kAshCopyHostBackgroundAtBoot[]; |
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 kAshDefaultWallpaperIsOem[]; | 25 ASH_EXPORT extern const char kAshDefaultWallpaperIsOem[]; |
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 kAshDisableAlternateShelfLayout[]; | 29 ASH_EXPORT extern const char kAshDisableAlternateShelfLayout[]; |
29 #if defined(OS_CHROMEOS) | 30 #if defined(OS_CHROMEOS) |
30 ASH_EXPORT extern const char kAshDisableAudioDeviceMenu[]; | 31 ASH_EXPORT extern const char kAshDisableAudioDeviceMenu[]; |
31 #endif | 32 #endif |
32 ASH_EXPORT extern const char kAshDisableAlternateFrameCaptionButtonStyle[]; | |
33 ASH_EXPORT extern const char kAshDisableAutoMaximizing[]; | 33 ASH_EXPORT extern const char kAshDisableAutoMaximizing[]; |
34 ASH_EXPORT extern const char kAshDisableDisplayChangeLimiter[]; | 34 ASH_EXPORT extern const char kAshDisableDisplayChangeLimiter[]; |
| 35 ASH_EXPORT extern const char kAshDisableDockedWindows[]; |
| 36 ASH_EXPORT extern const char kAshDisableDragAndDropAppListToLauncher[]; |
35 ASH_EXPORT extern const char kAshDisableDragOffShelf[]; | 37 ASH_EXPORT extern const char kAshDisableDragOffShelf[]; |
36 ASH_EXPORT extern const char kAshDisableOverviewMode[]; | 38 ASH_EXPORT extern const char kAshDisableOverviewMode[]; |
37 ASH_EXPORT extern const char kAshDisableDragAndDropAppListToLauncher[]; | |
38 #if defined(OS_CHROMEOS) | 39 #if defined(OS_CHROMEOS) |
39 ASH_EXPORT extern const char kAshDisableUsbChargerNotification[]; | 40 ASH_EXPORT extern const char kAshDisableUsbChargerNotification[]; |
40 ASH_EXPORT extern const char kAshEnableAudioDeviceMenu[]; | 41 ASH_EXPORT extern const char kAshEnableAudioDeviceMenu[]; |
41 #endif | 42 #endif |
42 ASH_EXPORT extern const char kAshEnableAdvancedGestures[]; | 43 ASH_EXPORT extern const char kAshEnableAdvancedGestures[]; |
43 ASH_EXPORT extern const char kAshEnableAlternateFrameCaptionButtonStyle[]; | 44 ASH_EXPORT extern const char kAshEnableAlternateFrameCaptionButtonStyle[]; |
44 ASH_EXPORT extern const char kAshEnableBrightnessControl[]; | 45 ASH_EXPORT extern const char kAshEnableBrightnessControl[]; |
45 ASH_EXPORT extern const char kAshEnableDockedWindows[]; | |
46 ASH_EXPORT extern const char kAshEnableImmersiveFullscreenForAllWindows[]; | 46 ASH_EXPORT extern const char kAshEnableImmersiveFullscreenForAllWindows[]; |
47 #if defined(OS_CHROMEOS) | 47 #if defined(OS_CHROMEOS) |
48 ASH_EXPORT extern const char kAshEnableFullMultiProfileMode[]; | 48 ASH_EXPORT extern const char kAshEnableFullMultiProfileMode[]; |
49 #endif | 49 #endif |
50 #if defined(OS_LINUX) | 50 #if defined(OS_LINUX) |
51 ASH_EXPORT extern const char kAshEnableMemoryMonitor[]; | 51 ASH_EXPORT extern const char kAshEnableMemoryMonitor[]; |
52 #endif | 52 #endif |
53 #if defined(OS_CHROMEOS) | 53 #if defined(OS_CHROMEOS) |
54 ASH_EXPORT extern const char kAshEnableMultiUserTray[]; | 54 ASH_EXPORT extern const char kAshEnableMultiUserTray[]; |
55 #endif | 55 #endif |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 // Returns true if multiple user icons are allowed in the tray. | 94 // Returns true if multiple user icons are allowed in the tray. |
95 ASH_EXPORT bool UseMultiUserTray(); | 95 ASH_EXPORT bool UseMultiUserTray(); |
96 | 96 |
97 // Returns true if overview mode should be activated for window switching. | 97 // Returns true if overview mode should be activated for window switching. |
98 ASH_EXPORT bool UseOverviewMode(); | 98 ASH_EXPORT bool UseOverviewMode(); |
99 | 99 |
100 // Returns true if docked windows feature is enabled. | 100 // Returns true if docked windows feature is enabled. |
101 ASH_EXPORT bool UseDockedWindows(); | 101 ASH_EXPORT bool UseDockedWindows(); |
102 | 102 |
103 #if defined(OS_CHROMEOS) | 103 #if defined(OS_CHROMEOS) |
104 // Returns true if new audio handler should be used. | |
105 ASH_EXPORT bool UseNewAudioHandler(); | |
106 | |
107 // Returns true if we should show the audio device switching UI. | 104 // Returns true if we should show the audio device switching UI. |
108 ASH_EXPORT bool ShowAudioDeviceMenu(); | 105 ASH_EXPORT bool ShowAudioDeviceMenu(); |
109 | 106 |
110 // 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 |
111 // is connected. | 108 // is connected. |
112 ASH_EXPORT bool UseUsbChargerNotification(); | 109 ASH_EXPORT bool UseUsbChargerNotification(); |
113 #endif | 110 #endif |
114 | 111 |
115 } // namespace switches | 112 } // namespace switches |
116 } // namespace ash | 113 } // namespace ash |
117 | 114 |
118 #endif // ASH_ASH_SWITCHES_H_ | 115 #endif // ASH_ASH_SWITCHES_H_ |
OLD | NEW |