Chromium Code Reviews| 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 #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 // TODO(sky): fix order! | |
| 20 ASH_EXPORT extern const char kAshAnimateFromBootSplashScreen[]; | 21 ASH_EXPORT extern const char kAshAnimateFromBootSplashScreen[]; |
| 21 ASH_EXPORT extern const char kAshCopyHostBackgroundAtBoot[]; | 22 ASH_EXPORT extern const char kAshCopyHostBackgroundAtBoot[]; |
| 22 ASH_EXPORT extern const char kAshDebugShortcuts[]; | 23 ASH_EXPORT extern const char kAshDebugShortcuts[]; |
| 23 ASH_EXPORT extern const char kAshDisableMaximizeModeWindowBackdrop[]; | 24 ASH_EXPORT extern const char kAshDisableMaximizeModeWindowBackdrop[]; |
| 24 #if defined(OS_CHROMEOS) | 25 #if defined(OS_CHROMEOS) |
| 25 ASH_EXPORT extern const char kAshDisableScreenOrientationLock[]; | 26 ASH_EXPORT extern const char kAshDisableScreenOrientationLock[]; |
| 26 #endif | 27 #endif |
| 27 ASH_EXPORT extern const char kAshDisableTouchExplorationMode[]; | 28 ASH_EXPORT extern const char kAshDisableTouchExplorationMode[]; |
| 28 #if defined(OS_CHROMEOS) | 29 #if defined(OS_CHROMEOS) |
| 29 ASH_EXPORT extern const char kAshEnableFullscreenAppList[]; | 30 ASH_EXPORT extern const char kAshEnableFullscreenAppList[]; |
| 30 ASH_EXPORT extern const char kAshEnableMagnifierKeyScroller[]; | 31 ASH_EXPORT extern const char kAshEnableMagnifierKeyScroller[]; |
| 31 ASH_EXPORT extern const char kAshEnableTouchView[]; | |
| 32 ASH_EXPORT extern const char kAshEnableUnifiedDesktop[]; | 32 ASH_EXPORT extern const char kAshEnableUnifiedDesktop[]; |
| 33 #endif | 33 #endif |
| 34 ASH_EXPORT extern const char kAshEnableTouchView[]; | |
|
James Cook
2016/07/01 17:21:21
Doesn't this have to move in the .cc file also?
sky
2016/07/01 17:30:04
D'OH!
| |
| 34 ASH_EXPORT extern const char kAshEnableMirroredScreen[]; | 35 ASH_EXPORT extern const char kAshEnableMirroredScreen[]; |
| 35 ASH_EXPORT extern const char kAshDisableStableOverviewOrder[]; | 36 ASH_EXPORT extern const char kAshDisableStableOverviewOrder[]; |
| 36 ASH_EXPORT extern const char kAshEnableStableOverviewOrder[]; | 37 ASH_EXPORT extern const char kAshEnableStableOverviewOrder[]; |
| 37 ASH_EXPORT extern const char kAshEnableSoftwareMirroring[]; | 38 ASH_EXPORT extern const char kAshEnableSoftwareMirroring[]; |
| 38 ASH_EXPORT extern const char kAshDisableSystemSounds[]; | 39 ASH_EXPORT extern const char kAshDisableSystemSounds[]; |
| 39 ASH_EXPORT extern const char kAshEnableSystemSounds[]; | 40 ASH_EXPORT extern const char kAshEnableSystemSounds[]; |
| 40 ASH_EXPORT extern const char kAshEnableTouchViewTesting[]; | 41 ASH_EXPORT extern const char kAshEnableTouchViewTesting[]; |
| 41 ASH_EXPORT extern const char kAshHideNotificationsForFactory[]; | 42 ASH_EXPORT extern const char kAshHideNotificationsForFactory[]; |
| 42 ASH_EXPORT extern const char kAshHostWindowBounds[]; | 43 ASH_EXPORT extern const char kAshHostWindowBounds[]; |
| 43 ASH_EXPORT extern const char kAshMaterialDesign[]; | 44 ASH_EXPORT extern const char kAshMaterialDesign[]; |
| (...skipping 10 matching lines...) Expand all Loading... | |
| 54 | 55 |
| 55 #if defined(OS_CHROMEOS) | 56 #if defined(OS_CHROMEOS) |
| 56 // True if the pointer (cursor) position should be kept inside root windows. | 57 // True if the pointer (cursor) position should be kept inside root windows. |
| 57 ASH_EXPORT bool ConstrainPointerToRoot(); | 58 ASH_EXPORT bool ConstrainPointerToRoot(); |
| 58 #endif | 59 #endif |
| 59 | 60 |
| 60 } // namespace switches | 61 } // namespace switches |
| 61 } // namespace ash | 62 } // namespace ash |
| 62 | 63 |
| 63 #endif // ASH_COMMON_ASH_SWITCHES_H_ | 64 #endif // ASH_COMMON_ASH_SWITCHES_H_ |
| OLD | NEW |