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
3 // found in the LICENSE file.
4 
5 #ifndef ASH_PUBLIC_CPP_ASH_SWITCHES_H_
6 #define ASH_PUBLIC_CPP_ASH_SWITCHES_H_
7 
8 #include "ash/public/cpp/ash_public_export.h"
9 #include "base/optional.h"
10 #include "base/time/time.h"
11 
12 namespace ash {
13 namespace switches {
14 
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,
17 // see chromeos::LoginUtil::GetOffTheRecordCommandLine().)
18 
19 // Please keep alphabetized.
20 // TODO(sky): fix order!
21 ASH_PUBLIC_EXPORT extern const char kAshClearFastInkBuffer[];
22 ASH_PUBLIC_EXPORT extern const char kAshConstrainPointerToRoot[];
23 ASH_PUBLIC_EXPORT extern const char kAshContextualNudgesInterval[];
24 ASH_PUBLIC_EXPORT extern const char kAshContextualNudgesResetShownCount[];
25 ASH_PUBLIC_EXPORT extern const char kAshDebugShortcuts[];
26 ASH_PUBLIC_EXPORT extern const char kAshDeveloperShortcuts[];
27 ASH_PUBLIC_EXPORT extern const char kAshDisableTouchExplorationMode[];
28 ASH_PUBLIC_EXPORT extern const char kAshEnableCursorMotionBlur[];
29 ASH_PUBLIC_EXPORT extern const char kAshEnableMagnifierKeyScroller[];
30 ASH_PUBLIC_EXPORT extern const char kAshEnablePaletteOnAllDisplays[];
31 ASH_PUBLIC_EXPORT extern const char kAshEnableTabletMode[];
32 ASH_PUBLIC_EXPORT extern const char kAshEnableWaylandServer[];
33 ASH_PUBLIC_EXPORT extern const char kAshForceEnableStylusTools[];
34 ASH_PUBLIC_EXPORT extern const char kAshForceStatusAreaCollapsible[];
35 ASH_PUBLIC_EXPORT extern const char kAshPowerButtonPosition[];
36 ASH_PUBLIC_EXPORT extern const char kAshUiMode[];
37 ASH_PUBLIC_EXPORT extern const char kAshUiModeClamshell[];
38 ASH_PUBLIC_EXPORT extern const char kAshUiModeTablet[];
39 ASH_PUBLIC_EXPORT extern const char kAshHideNotificationsForFactory[];
40 ASH_PUBLIC_EXPORT extern const char kAshSideVolumeButtonPosition[];
41 ASH_PUBLIC_EXPORT extern const char kAshTouchHud[];
42 ASH_PUBLIC_EXPORT extern const char kAuraLegacyPowerButton[];
43 ASH_PUBLIC_EXPORT extern const char kEnableDimShelf[];
44 ASH_PUBLIC_EXPORT extern const char kForceTabletPowerButton[];
45 ASH_PUBLIC_EXPORT extern const char kFrameThrottleFps[];
46 ASH_PUBLIC_EXPORT extern const char kHasInternalStylus[];
47 ASH_PUBLIC_EXPORT extern const char kShowTaps[];
48 ASH_PUBLIC_EXPORT extern const char kSuppressMessageCenterPopups[];
49 ASH_PUBLIC_EXPORT extern const char kTouchscreenUsableWhileScreenOff[];
50 
51 ASH_PUBLIC_EXPORT base::Optional<base::TimeDelta> ContextualNudgesInterval();
52 ASH_PUBLIC_EXPORT bool ContextualNudgesResetShownCount();
53 ASH_PUBLIC_EXPORT bool IsUsingShelfAutoDim();
54 ASH_PUBLIC_EXPORT bool ShouldClearFastInkBuffer();
55 
56 }  // namespace switches
57 }  // namespace ash
58 
59 #endif  // ASH_PUBLIC_CPP_ASH_SWITCHES_H_
60