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_COMMON_ASH_SWITCHES_H_ | 5 #ifndef ASH_COMMON_ASH_SWITCHES_H_ |
6 #define ASH_COMMON_ASH_SWITCHES_H_ | 6 #define ASH_COMMON_ASH_SWITCHES_H_ |
7 | 7 |
8 #include "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
9 | 9 |
10 namespace ash { | 10 namespace ash { |
11 namespace switches { | 11 namespace switches { |
12 | 12 |
13 // Note: If you add a switch, consider if it needs to be copied to a subsequent | 13 // Note: If you add a switch, consider if it needs to be copied to a subsequent |
14 // command line if the process executes a new copy of itself. (For example, | 14 // command line if the process executes a new copy of itself. (For example, |
15 // see chromeos::LoginUtil::GetOffTheRecordCommandLine().) | 15 // see chromeos::LoginUtil::GetOffTheRecordCommandLine().) |
16 | 16 |
17 // Please keep alphabetized. | 17 // Please keep alphabetized. |
18 // TODO(sky): fix order! | 18 // TODO(sky): fix order! |
19 ASH_EXPORT extern const char kAshAdjustableLargeCursor[]; | 19 ASH_EXPORT extern const char kAshAdjustableLargeCursor[]; |
20 ASH_EXPORT extern const char kAshAnimateFromBootSplashScreen[]; | 20 ASH_EXPORT extern const char kAshAnimateFromBootSplashScreen[]; |
21 ASH_EXPORT extern const char kAshCopyHostBackgroundAtBoot[]; | 21 ASH_EXPORT extern const char kAshCopyHostBackgroundAtBoot[]; |
22 ASH_EXPORT extern const char kAshDebugShortcuts[]; | 22 ASH_EXPORT extern const char kAshDebugShortcuts[]; |
23 ASH_EXPORT extern const char kAshDeveloperShortcuts[]; | 23 ASH_EXPORT extern const char kAshDeveloperShortcuts[]; |
24 ASH_EXPORT extern const char kAshDisableMaximizeModeWindowBackdrop[]; | 24 ASH_EXPORT extern const char kAshDisableMaximizeModeWindowBackdrop[]; |
25 ASH_EXPORT extern const char kAshDisableScreenOrientationLock[]; | 25 ASH_EXPORT extern const char kAshDisableScreenOrientationLock[]; |
26 ASH_EXPORT extern const char kAshDisableTouchExplorationMode[]; | 26 ASH_EXPORT extern const char kAshDisableTouchExplorationMode[]; |
27 ASH_EXPORT extern const char kAshEnableMagnifierKeyScroller[]; | 27 ASH_EXPORT extern const char kAshEnableMagnifierKeyScroller[]; |
28 ASH_EXPORT extern const char kAshEnablePaletteOnAllDisplays[]; | 28 ASH_EXPORT extern const char kAshEnablePaletteOnAllDisplays[]; |
29 ASH_EXPORT extern const char kAshEnableDockedWindows[]; | |
30 ASH_EXPORT extern const char kAshEnableTouchView[]; | 29 ASH_EXPORT extern const char kAshEnableTouchView[]; |
31 ASH_EXPORT extern const char kAshEnableMirroredScreen[]; | 30 ASH_EXPORT extern const char kAshEnableMirroredScreen[]; |
32 ASH_EXPORT extern const char kAshEstimatedPresentationDelay[]; | 31 ASH_EXPORT extern const char kAshEstimatedPresentationDelay[]; |
33 ASH_EXPORT extern const char kAshForceEnablePalette[]; | 32 ASH_EXPORT extern const char kAshForceEnablePalette[]; |
34 ASH_EXPORT extern const char kAshHideNotificationsForFactory[]; | 33 ASH_EXPORT extern const char kAshHideNotificationsForFactory[]; |
35 ASH_EXPORT extern const char kAshShelfColor[]; | 34 ASH_EXPORT extern const char kAshShelfColor[]; |
36 ASH_EXPORT extern const char kAshShelfColorLightMuted[]; | 35 ASH_EXPORT extern const char kAshShelfColorLightMuted[]; |
37 ASH_EXPORT extern const char kAshShelfColorLightVibrant[]; | 36 ASH_EXPORT extern const char kAshShelfColorLightVibrant[]; |
38 ASH_EXPORT extern const char kAshShelfColorNormalMuted[]; | 37 ASH_EXPORT extern const char kAshShelfColorNormalMuted[]; |
39 ASH_EXPORT extern const char kAshShelfColorNormalVibrant[]; | 38 ASH_EXPORT extern const char kAshShelfColorNormalVibrant[]; |
40 ASH_EXPORT extern const char kAshShelfColorDarkMuted[]; | 39 ASH_EXPORT extern const char kAshShelfColorDarkMuted[]; |
41 ASH_EXPORT extern const char kAshShelfColorDarkVibrant[]; | 40 ASH_EXPORT extern const char kAshShelfColorDarkVibrant[]; |
42 ASH_EXPORT extern const char kAshTouchHud[]; | 41 ASH_EXPORT extern const char kAshTouchHud[]; |
43 ASH_EXPORT extern const char kAuraLegacyPowerButton[]; | 42 ASH_EXPORT extern const char kAuraLegacyPowerButton[]; |
44 | 43 |
45 // True if the pointer (cursor) position should be kept inside root windows. | 44 // True if the pointer (cursor) position should be kept inside root windows. |
46 ASH_EXPORT bool ConstrainPointerToRoot(); | 45 ASH_EXPORT bool ConstrainPointerToRoot(); |
47 | 46 |
48 // True if docking windows right or left is enabled. | |
49 ASH_EXPORT bool DockedWindowsEnabled(); | |
50 | |
51 } // namespace switches | 47 } // namespace switches |
52 } // namespace ash | 48 } // namespace ash |
53 | 49 |
54 #endif // ASH_COMMON_ASH_SWITCHES_H_ | 50 #endif // ASH_COMMON_ASH_SWITCHES_H_ |
OLD | NEW |