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 kAshEnableFullscreenAppList[]; | 27 ASH_EXPORT extern const char kAshEnableFullscreenAppList[]; |
28 ASH_EXPORT extern const char kAshEnableMagnifierKeyScroller[]; | 28 ASH_EXPORT extern const char kAshEnableMagnifierKeyScroller[]; |
29 ASH_EXPORT extern const char kAshEnablePaletteOnAllDisplays[]; | 29 ASH_EXPORT extern const char kAshEnablePaletteOnAllDisplays[]; |
30 ASH_EXPORT extern const char kAshEnableDockedWindows[]; | |
31 ASH_EXPORT extern const char kAshEnableTouchView[]; | 30 ASH_EXPORT extern const char kAshEnableTouchView[]; |
32 ASH_EXPORT extern const char kAshEnableMirroredScreen[]; | 31 ASH_EXPORT extern const char kAshEnableMirroredScreen[]; |
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 kAshTouchHud[]; | 34 ASH_EXPORT extern const char kAshTouchHud[]; |
36 ASH_EXPORT extern const char kAuraLegacyPowerButton[]; | 35 ASH_EXPORT extern const char kAuraLegacyPowerButton[]; |
37 | 36 |
38 // True if the pointer (cursor) position should be kept inside root windows. | 37 // True if the pointer (cursor) position should be kept inside root windows. |
39 ASH_EXPORT bool ConstrainPointerToRoot(); | 38 ASH_EXPORT bool ConstrainPointerToRoot(); |
40 | 39 |
41 // True if docking windows right or left is enabled. | |
42 ASH_EXPORT bool DockedWindowsEnabled(); | |
43 | |
44 } // namespace switches | 40 } // namespace switches |
45 } // namespace ash | 41 } // namespace ash |
46 | 42 |
47 #endif // ASH_COMMON_ASH_SWITCHES_H_ | 43 #endif // ASH_COMMON_ASH_SWITCHES_H_ |
OLD | NEW |