Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1073)

Side by Side Diff: ash/common/ash_switches.h

Issue 2616023005: cros: Remove OS_CHROMEOS ifdefs in ash/common (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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"
11
12 namespace ash { 10 namespace ash {
13 namespace switches { 11 namespace switches {
14 12
15 // 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
16 // 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,
17 // see chromeos::LoginUtil::GetOffTheRecordCommandLine().) 15 // see chromeos::LoginUtil::GetOffTheRecordCommandLine().)
18 16
19 // Please keep alphabetized. 17 // Please keep alphabetized.
20 // TODO(sky): fix order! 18 // TODO(sky): fix order!
21 ASH_EXPORT extern const char kAshAnimateFromBootSplashScreen[]; 19 ASH_EXPORT extern const char kAshAnimateFromBootSplashScreen[];
22 ASH_EXPORT extern const char kAshCopyHostBackgroundAtBoot[]; 20 ASH_EXPORT extern const char kAshCopyHostBackgroundAtBoot[];
23 ASH_EXPORT extern const char kAshDebugShortcuts[]; 21 ASH_EXPORT extern const char kAshDebugShortcuts[];
24 ASH_EXPORT extern const char kAshDeveloperShortcuts[]; 22 ASH_EXPORT extern const char kAshDeveloperShortcuts[];
25 ASH_EXPORT extern const char kAshDisableMaximizeModeWindowBackdrop[]; 23 ASH_EXPORT extern const char kAshDisableMaximizeModeWindowBackdrop[];
26 #if defined(OS_CHROMEOS)
27 ASH_EXPORT extern const char kAshDisableScreenOrientationLock[]; 24 ASH_EXPORT extern const char kAshDisableScreenOrientationLock[];
28 #endif
29 ASH_EXPORT extern const char kAshDisableTouchExplorationMode[]; 25 ASH_EXPORT extern const char kAshDisableTouchExplorationMode[];
30 #if defined(OS_CHROMEOS)
31 ASH_EXPORT extern const char kAshEnableFullscreenAppList[]; 26 ASH_EXPORT extern const char kAshEnableFullscreenAppList[];
32 ASH_EXPORT extern const char kAshEnableMagnifierKeyScroller[]; 27 ASH_EXPORT extern const char kAshEnableMagnifierKeyScroller[];
33 ASH_EXPORT extern const char kAshEnablePalette[]; 28 ASH_EXPORT extern const char kAshEnablePalette[];
34 ASH_EXPORT extern const char kAshEnablePaletteOnAllDisplays[]; 29 ASH_EXPORT extern const char kAshEnablePaletteOnAllDisplays[];
35 #endif
36 ASH_EXPORT extern const char kAshEnableTouchView[]; 30 ASH_EXPORT extern const char kAshEnableTouchView[];
37 ASH_EXPORT extern const char kAshEnableMirroredScreen[]; 31 ASH_EXPORT extern const char kAshEnableMirroredScreen[];
38 ASH_EXPORT extern const char kAshDisableStableOverviewOrder[]; 32 ASH_EXPORT extern const char kAshDisableStableOverviewOrder[];
39 ASH_EXPORT extern const char kAshEnableTouchViewTesting[]; 33 ASH_EXPORT extern const char kAshEnableTouchViewTesting[];
40 ASH_EXPORT extern const char kAshHideNotificationsForFactory[]; 34 ASH_EXPORT extern const char kAshHideNotificationsForFactory[];
41 ASH_EXPORT extern const char kAshMaterialDesign[]; 35 ASH_EXPORT extern const char kAshMaterialDesign[];
42 ASH_EXPORT extern const char kAshMaterialDesignDisabled[]; 36 ASH_EXPORT extern const char kAshMaterialDesignDisabled[];
43 ASH_EXPORT extern const char kAshMaterialDesignEnabled[]; 37 ASH_EXPORT extern const char kAshMaterialDesignEnabled[];
44 ASH_EXPORT extern const char kAshMaterialDesignExperimental[]; 38 ASH_EXPORT extern const char kAshMaterialDesignExperimental[];
45 ASH_EXPORT extern const char kAshTouchHud[]; 39 ASH_EXPORT extern const char kAshTouchHud[];
46 ASH_EXPORT extern const char kAuraLegacyPowerButton[]; 40 ASH_EXPORT extern const char kAuraLegacyPowerButton[];
47 41
48 #if defined(OS_CHROMEOS)
49 // True if the pointer (cursor) position should be kept inside root windows. 42 // True if the pointer (cursor) position should be kept inside root windows.
50 ASH_EXPORT bool ConstrainPointerToRoot(); 43 ASH_EXPORT bool ConstrainPointerToRoot();
51 #endif
52 44
53 } // namespace switches 45 } // namespace switches
54 } // namespace ash 46 } // namespace ash
55 47
56 #endif // ASH_COMMON_ASH_SWITCHES_H_ 48 #endif // ASH_COMMON_ASH_SWITCHES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698