- add sources.
[platform/framework/web/crosswalk.git] / src / ash / ash_switches.h
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_ASH_SWITCHES_H_
6 #define ASH_ASH_SWITCHES_H_
7
8 #include "ash/ash_export.h"
9
10 #include "build/build_config.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 ASH_EXPORT extern const char kAshAnimateFromBootSplashScreen[];
21 ASH_EXPORT extern const char kAshConstrainPointerToRoot[];
22 ASH_EXPORT extern const char kAshCopyHostBackgroundAtBoot[];
23 ASH_EXPORT extern const char kAshDebugShortcuts[];
24 ASH_EXPORT extern const char kAshDebugShowPreferredNetworks[];
25 ASH_EXPORT extern const char kAshDefaultWallpaperLarge[];
26 ASH_EXPORT extern const char kAshDefaultWallpaperSmall[];
27 ASH_EXPORT extern const char kAshDisableAlternateShelfLayout[];
28 #if defined(OS_CHROMEOS)
29 ASH_EXPORT extern const char kAshDisableAudioDeviceMenu[];
30 #endif
31 ASH_EXPORT extern const char kAshDisableAlternateFrameCaptionButtonStyle[];
32 ASH_EXPORT extern const char kAshDisableAutoMaximizing[];
33 ASH_EXPORT extern const char kAshDisableDisplayChangeLimiter[];
34 ASH_EXPORT extern const char kAshDisableDragOffShelf[];
35 ASH_EXPORT extern const char kAshDisableOverviewMode[];
36 ASH_EXPORT extern const char kAshDisableDragAndDropAppListToLauncher[];
37 #if defined(OS_CHROMEOS)
38 ASH_EXPORT extern const char kAshDisableUsbChargerNotification[];
39 ASH_EXPORT extern const char kAshEnableAudioDeviceMenu[];
40 #endif
41 ASH_EXPORT extern const char kAshEnableAdvancedGestures[];
42 ASH_EXPORT extern const char kAshEnableAlternateFrameCaptionButtonStyle[];
43 ASH_EXPORT extern const char kAshEnableBrightnessControl[];
44 ASH_EXPORT extern const char kAshEnableDockedWindows[];
45 #if defined(OS_CHROMEOS)
46 ASH_EXPORT extern const char kAshEnableFullMultiProfileMode[];
47 #endif
48 #if defined(OS_LINUX)
49 ASH_EXPORT extern const char kAshEnableMemoryMonitor[];
50 #endif
51 ASH_EXPORT extern const char kAshEnableOak[];
52 ASH_EXPORT extern const char kAshEnableSoftwareMirroring[];
53 ASH_EXPORT extern const char kAshEnableStickyEdges[];
54 ASH_EXPORT extern const char kAshEnableTrayDragging[];
55 ASH_EXPORT extern const char kAshForceMirrorMode[];
56 ASH_EXPORT extern const char kAshGuestWallpaperLarge[];
57 ASH_EXPORT extern const char kAshGuestWallpaperSmall[];
58 ASH_EXPORT extern const char kAshHideNotificationsForFactory[];
59 ASH_EXPORT extern const char kAshHostWindowBounds[];
60 ASH_EXPORT extern const char kAshOemWallpaperLarge[];
61 ASH_EXPORT extern const char kAshOemWallpaperSmall[];
62 ASH_EXPORT extern const char kAshOverviewDelayOnAltTab[];
63 ASH_EXPORT extern const char kAshSecondaryDisplayLayout[];
64 ASH_EXPORT extern const char kAshTouchHud[];
65 ASH_EXPORT extern const char kAshUseAlternateShelfLayout[];
66 ASH_EXPORT extern const char kAshUseFirstDisplayAsInternal[];
67 ASH_EXPORT extern const char kAuraLegacyPowerButton[];
68 #if defined(OS_WIN)
69 ASH_EXPORT extern const char kForceAshToDesktop[];
70 #endif
71 ASH_EXPORT extern const char kShowShelfAlignmentMenu[];
72 ASH_EXPORT extern const char kHideShelfAlignmentMenu[];
73
74 // Returns true if the alternate visual style for the caption buttons (minimize,
75 // maximize, restore, close) should be used.
76 ASH_EXPORT bool UseAlternateFrameCaptionButtonStyle();
77
78 // Returns true if the alternate shelf layout should be used.
79 ASH_EXPORT bool UseAlternateShelfLayout();
80
81 // Returns true if items can be dragged off the shelf to unpin.
82 ASH_EXPORT bool UseDragOffShelf();
83
84 // Returns true if side shelf alignment is enabled.
85 ASH_EXPORT bool ShowShelfAlignmentMenu();
86
87 // Returns true if the full MultiProfile mode (M-31 version) is used.
88 ASH_EXPORT bool UseFullMultiProfileMode();
89
90 // Returns true if overview mode should be activated for window switching.
91 ASH_EXPORT bool UseOverviewMode();
92
93 #if defined(OS_CHROMEOS)
94 // Returns true if new audio handler should be used.
95 ASH_EXPORT bool UseNewAudioHandler();
96
97 // Returns true if we should show the audio device switching UI.
98 ASH_EXPORT bool ShowAudioDeviceMenu();
99
100 // Returns true if a notification should appear when a low-power USB charger
101 // is connected.
102 ASH_EXPORT bool UseUsbChargerNotification();
103 #endif
104
105 }  // namespace switches
106 }  // namespace ash
107
108 #endif  // ASH_ASH_SWITCHES_H_