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[]; | |
22 ASH_EXPORT extern const char kAshCopyHostBackgroundAtBoot[]; | 21 ASH_EXPORT extern const char kAshCopyHostBackgroundAtBoot[]; |
23 ASH_EXPORT extern const char kAshDebugShortcuts[]; | 22 ASH_EXPORT extern const char kAshDebugShortcuts[]; |
24 ASH_EXPORT extern const char kAshDisableLockLayoutManager[]; | 23 ASH_EXPORT extern const char kAshDisableLockLayoutManager[]; |
25 ASH_EXPORT extern const char kAshDisableMaximizeModeWindowBackdrop[]; | 24 ASH_EXPORT extern const char kAshDisableMaximizeModeWindowBackdrop[]; |
26 #if defined(OS_CHROMEOS) | 25 #if defined(OS_CHROMEOS) |
27 ASH_EXPORT extern const char kAshDisableScreenOrientationLock[]; | 26 ASH_EXPORT extern const char kAshDisableScreenOrientationLock[]; |
28 #endif | 27 #endif |
29 ASH_EXPORT extern const char kAshDisableTouchExplorationMode[]; | 28 ASH_EXPORT extern const char kAshDisableTouchExplorationMode[]; |
30 #if defined(OS_CHROMEOS) | 29 #if defined(OS_CHROMEOS) |
31 ASH_EXPORT extern const char kAshEnableFullscreenAppList[]; | 30 ASH_EXPORT extern const char kAshEnableFullscreenAppList[]; |
32 ASH_EXPORT extern const char kAshEnableMagnifierKeyScroller[]; | 31 ASH_EXPORT extern const char kAshEnableMagnifierKeyScroller[]; |
33 #endif | 32 #endif |
34 ASH_EXPORT extern const char kAshEnableMirroredScreen[]; | 33 ASH_EXPORT extern const char kAshEnableMirroredScreen[]; |
35 ASH_EXPORT extern const char kAshEnablePowerButtonQuickLock[]; | 34 ASH_EXPORT extern const char kAshEnablePowerButtonQuickLock[]; |
36 ASH_EXPORT extern const char kAshEnableScreenRotationAnimation[]; | 35 ASH_EXPORT extern const char kAshEnableScreenRotationAnimation[]; |
37 ASH_EXPORT extern const char kAshEnableSoftwareMirroring[]; | 36 ASH_EXPORT extern const char kAshEnableSoftwareMirroring[]; |
38 ASH_EXPORT extern const char kAshEnableSystemSounds[]; | 37 ASH_EXPORT extern const char kAshEnableSystemSounds[]; |
39 ASH_EXPORT extern const char kAshEnableTouchViewTesting[]; | 38 ASH_EXPORT extern const char kAshEnableTouchViewTesting[]; |
40 ASH_EXPORT extern const char kAshHideNotificationsForFactory[]; | 39 ASH_EXPORT extern const char kAshHideNotificationsForFactory[]; |
41 ASH_EXPORT extern const char kAshHostWindowBounds[]; | 40 ASH_EXPORT extern const char kAshHostWindowBounds[]; |
42 ASH_EXPORT extern const char kAshSecondaryDisplayLayout[]; | 41 ASH_EXPORT extern const char kAshSecondaryDisplayLayout[]; |
43 ASH_EXPORT extern const char kAshTouchHud[]; | 42 ASH_EXPORT extern const char kAshTouchHud[]; |
44 ASH_EXPORT extern const char kAshUseFirstDisplayAsInternal[]; | 43 ASH_EXPORT extern const char kAshUseFirstDisplayAsInternal[]; |
45 ASH_EXPORT extern const char kAuraLegacyPowerButton[]; | 44 ASH_EXPORT extern const char kAuraLegacyPowerButton[]; |
46 #if defined(OS_WIN) | 45 #if defined(OS_WIN) |
47 ASH_EXPORT extern const char kForceAshToDesktop[]; | 46 ASH_EXPORT extern const char kForceAshToDesktop[]; |
48 #endif | 47 #endif |
49 | 48 |
| 49 #if defined(OS_CHROMEOS) |
| 50 // True if the pointer (cursor) position should be kept inside root windows. |
| 51 ASH_EXPORT bool ConstrainPointerToRoot(); |
| 52 |
| 53 ASH_EXPORT bool UnifiedDesktopEnabled(); |
| 54 #endif |
| 55 |
50 } // namespace switches | 56 } // namespace switches |
51 } // namespace ash | 57 } // namespace ash |
52 | 58 |
53 #endif // ASH_ASH_SWITCHES_H_ | 59 #endif // ASH_ASH_SWITCHES_H_ |
OLD | NEW |