Enable snappy for IndexedDB.
[chromium-blink-merge.git] / ash / ash_switches.h
blobe401cdb84cd4682cff4324da03ad8fe3646e3aaa
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.
5 #ifndef ASH_ASH_SWITCHES_H_
6 #define ASH_ASH_SWITCHES_H_
8 #include "ash/ash_export.h"
10 #include "build/build_config.h"
12 namespace ash {
13 namespace switches {
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().)
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 kAshDisableImmersiveFullscreen[];
36 ASH_EXPORT extern const char kAshDisableOverviewMode[];
37 ASH_EXPORT extern const char kAshDisableDragAndDropAppListToLauncher[];
38 #if defined(OS_CHROMEOS)
39 ASH_EXPORT extern const char kAshDisableSoftwareMirroring[];
40 ASH_EXPORT extern const char kAshDisableUsbChargerNotification[];
41 ASH_EXPORT extern const char kAshEnableAudioDeviceMenu[];
42 #endif
43 ASH_EXPORT extern const char kAshEnableAdvancedGestures[];
44 ASH_EXPORT extern const char kAshEnableAlternateFrameCaptionButtonStyle[];
45 ASH_EXPORT extern const char kAshEnableBrightnessControl[];
46 ASH_EXPORT extern const char kAshEnableDockedWindows[];
47 #if defined(OS_CHROMEOS)
48 ASH_EXPORT extern const char kAshEnableFullMultiProfileMode[];
49 #endif
50 ASH_EXPORT extern const char kAshEnableImmersiveFullscreen[];
51 #if defined(OS_LINUX)
52 ASH_EXPORT extern const char kAshEnableMemoryMonitor[];
53 #endif
54 #if defined(OS_CHROMEOS)
55 ASH_EXPORT extern const char kAshEnableMultiProfileShelfMenu[];
56 #endif
57 ASH_EXPORT extern const char kAshEnableOak[];
58 ASH_EXPORT extern const char kAshEnableSoftwareMirroring[];
59 ASH_EXPORT extern const char kAshEnableStickyEdges[];
60 ASH_EXPORT extern const char kAshEnableTrayDragging[];
61 ASH_EXPORT extern const char kAshForceMirrorMode[];
62 ASH_EXPORT extern const char kAshGuestWallpaperLarge[];
63 ASH_EXPORT extern const char kAshGuestWallpaperSmall[];
64 ASH_EXPORT extern const char kAshHideNotificationsForFactory[];
65 ASH_EXPORT extern const char kAshHostWindowBounds[];
66 ASH_EXPORT extern const char kAshImmersiveHideTabIndicators[];
67 ASH_EXPORT extern const char kAshOemWallpaperLarge[];
68 ASH_EXPORT extern const char kAshOemWallpaperSmall[];
69 ASH_EXPORT extern const char kAshSecondaryDisplayLayout[];
70 ASH_EXPORT extern const char kAshTouchHud[];
71 ASH_EXPORT extern const char kAshUseAlternateShelfLayout[];
72 ASH_EXPORT extern const char kAshUseFirstDisplayAsInternal[];
73 ASH_EXPORT extern const char kAuraLegacyPowerButton[];
74 #if defined(OS_WIN)
75 ASH_EXPORT extern const char kForceAshToDesktop[];
76 #endif
77 ASH_EXPORT extern const char kShowShelfAlignmentMenu[];
78 ASH_EXPORT extern const char kHideShelfAlignmentMenu[];
80 // Returns true if the alternate visual style for the caption buttons (minimize,
81 // maximize, restore, close) should be used.
82 ASH_EXPORT bool UseAlternateFrameCaptionButtonStyle();
84 // Returns true if the alternate shelf layout should be used.
85 ASH_EXPORT bool UseAlternateShelfLayout();
87 // Returns true if items can be dragged off the shelf to unpin.
88 ASH_EXPORT bool UseDragOffShelf();
90 // Returns true if side shelf alignment is enabled.
91 ASH_EXPORT bool ShowShelfAlignmentMenu();
93 // Returns true if the full MultiProfile mode (M-31 version) is used.
94 ASH_EXPORT bool UseFullMultiProfileMode();
96 // Returns true if the MultiProfile shelf menu should be shown.
97 ASH_EXPORT bool ShowMultiProfileShelfMenu();
99 #if defined(OS_CHROMEOS)
100 // Returns true if new audio handler should be used.
101 ASH_EXPORT bool UseNewAudioHandler();
103 // Returns true if we should show the audio device switching UI.
104 ASH_EXPORT bool ShowAudioDeviceMenu();
106 // Returns true if a notification should appear when a low-power USB charger
107 // is connected.
108 ASH_EXPORT bool UseUsbChargerNotification();
109 #endif
111 } // namespace switches
112 } // namespace ash
114 #endif // ASH_ASH_SWITCHES_H_