Move render_view_context_menu.* and related files out of tab_contents.
[chromium-blink-merge.git] / ash / ash_switches.h
blob93e86aab563bff00544d0f67750e294ccdc9cc14
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 kAshDefaultWallpaperIsOem[];
26 ASH_EXPORT extern const char kAshDefaultWallpaperLarge[];
27 ASH_EXPORT extern const char kAshDefaultWallpaperSmall[];
28 ASH_EXPORT extern const char kAshDisableAlternateFrameCaptionButtonStyle[];
29 ASH_EXPORT extern const char kAshDisableAlternateShelfLayout[];
30 #if defined(OS_CHROMEOS)
31 ASH_EXPORT extern const char kAshDisableAudioDeviceMenu[];
32 #endif
33 ASH_EXPORT extern const char kAshDisableDockedWindows[];
34 ASH_EXPORT extern const char kAshDisableDragAndDropAppListToLauncher[];
35 ASH_EXPORT extern const char kAshDisableDragOffShelf[];
36 ASH_EXPORT extern const char kAshDisableOverviewMode[];
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 kAshEnableImmersiveFullscreenForAllWindows[];
45 ASH_EXPORT extern const char kAshEnableImmersiveFullscreenForBrowserOnly[];
46 #if defined(OS_LINUX)
47 ASH_EXPORT extern const char kAshEnableMemoryMonitor[];
48 #endif
49 #if defined(OS_CHROMEOS)
50 ASH_EXPORT extern const char kAshEnableMagnifierKeyScroller[];
51 ASH_EXPORT extern const char kAshEnableMultiUserTray[];
52 #endif
53 ASH_EXPORT extern const char kAshEnableSoftwareMirroring[];
54 ASH_EXPORT extern const char kAshEnableSystemSounds[];
55 ASH_EXPORT extern const char kAshEnableTouchViewTesting[];
56 ASH_EXPORT extern const char kAshEnableTrayDragging[];
57 ASH_EXPORT extern const char kAshForceMirrorMode[];
58 ASH_EXPORT extern const char kAshGuestWallpaperLarge[];
59 ASH_EXPORT extern const char kAshGuestWallpaperSmall[];
60 ASH_EXPORT extern const char kAshHideNotificationsForFactory[];
61 ASH_EXPORT extern const char kAshHostWindowBounds[];
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
72 // Returns true if the alternate visual style for the caption buttons (minimize,
73 // maximize, restore, close) should be used.
74 ASH_EXPORT bool UseAlternateFrameCaptionButtonStyle();
76 // Returns true if the alternate shelf layout should be used.
77 ASH_EXPORT bool UseAlternateShelfLayout();
79 // Returns true if items can be dragged off the shelf to unpin.
80 ASH_EXPORT bool UseDragOffShelf();
82 // Returns true if all windows (barring frameless apps) can be put into
83 // immersive fullscreen via <F4>.
84 ASH_EXPORT bool UseImmersiveFullscreenForAllWindows();
86 // Returns true if multiple user icons are allowed in the tray.
87 ASH_EXPORT bool UseMultiUserTray();
89 // Returns true if overview mode should be activated for window switching.
90 ASH_EXPORT bool UseOverviewMode();
92 // Returns true if docked windows feature is enabled.
93 ASH_EXPORT bool UseDockedWindows();
95 // Returns true if we should show the audio device switching UI.
96 ASH_EXPORT bool ShowAudioDeviceMenu();
98 #if defined(OS_CHROMEOS)
99 // Returns true if a notification should appear when a low-power USB charger
100 // is connected.
101 ASH_EXPORT bool UseUsbChargerNotification();
102 #endif
104 } // namespace switches
105 } // namespace ash
107 #endif // ASH_ASH_SWITCHES_H_