blob: ac87287ae0a0bece103b50889accb9a2bf083da8 [file] [log] [blame]
Torne (Richard Coles)58218062012-11-14 11:43:16 +00001// 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#include "ash/ash_switches.h"
6
7namespace ash {
8namespace switches {
9
10// Enables an animated transition from the boot splash screen (Chrome logo on a
11// white background) to the login screen. Implies
12// |kAshCopyHostBackgroundAtBoot| and doesn't make much sense if used in
13// conjunction with |kDisableBootAnimation| (since the transition begins at the
14// same time as the white/grayscale login screen animation).
15const char kAshAnimateFromBootSplashScreen[] =
16 "ash-animate-from-boot-splash-screen";
17
18// Variation of boot animation that uses Tween::EASE_OUT_2.
19const char kAshBootAnimationFunction2[] = "ash-boot-animation-function2";
20
21// Variation of boot animation that uses Tween::EASE_OUT_3.
22const char kAshBootAnimationFunction3[] = "ash-boot-animation-function3";
23
24// Constrains the pointer movement within a root window on desktop.
25const char kAshConstrainPointerToRoot[] = "ash-constrain-pointer-to-root";
26
27// Copies the host window's content to the system background layer at startup.
28// Can make boot slightly slower, but also hides an even-longer awkward period
29// where we display a white background if the login wallpaper takes a long time
30// to load.
31const char kAshCopyHostBackgroundAtBoot[] = "ash-copy-host-background-at-boot";
32
33// Enable keyboard shortcuts useful for debugging.
34const char kAshDebugShortcuts[] = "ash-debug-shortcuts";
35
36// Disable support for auto window placement.
37const char kAshDisableAutoWindowPlacement[] =
38 "ash-enable-auto-window-placement";
39
40// Disables boot animation v2, go back to v1.
41const char kAshDisableBootAnimation2[] = "ash-disable-boot-animation2";
42
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +000043// Disables the limitter to throttle how quickly a user
44// can change display settings.
45const char kAshDisableDisplayChangeLimiter[] =
46 "ash-disable-display-change-limiter";
47
48// Disables creating a launcher per display.
49const char kAshDisableLauncherPerDisplay[] = "ash-disable-launcher-per-display";
50
51// If present new lock animations are enabled.
52const char kAshDisableNewLockAnimations[] = "ash-disable-new-lock-animations";
53
54// Disable new network handlers in the status area.
55const char kAshDisableNewNetworkStatusArea[] =
56 "ash-disable-new-network-status-area";
57
58// Disable the per application grouping version of the launcher.
59const char kAshDisablePerAppLauncher[] = "ash-disable-per-app-launcher";
60
61// Disables display rotation.
62const char kAshDisableDisplayRotation[] = "ash-disable-display-rotation";
63
64// Disables ui scaling.
65const char kAshDisableUIScaling[] = "ash-disable-ui-scaling";
Torne (Richard Coles)58218062012-11-14 11:43:16 +000066
67// Enable advanced gestures (e.g. for window management).
68const char kAshEnableAdvancedGestures[] = "ash-enable-advanced-gestures";
69
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +000070// Always enable brightness control. Used by machines that don't report their
71// main monitor as internal.
72const char kAshEnableBrightnessControl[] = "ash-enable-brightness-control";
73
Torne (Richard Coles)58218062012-11-14 11:43:16 +000074#if defined(OS_LINUX)
75// Enable memory monitoring.
76const char kAshEnableMemoryMonitor[] = "ash-enable-memory-monitor";
77#endif
78
79// Enables the Oak tree viewer.
80const char kAshEnableOak[] = "ash-enable-oak";
81
82// Enables showing the tray bubble by dragging on the shelf.
83const char kAshEnableTrayDragging[] = "ash-enable-tray-dragging";
84
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +000085// Enable workspace switching via a three finger vertical scroll.
86const char kAshEnableWorkspaceScrubbing[] = "ash-enable-workspace-scrubbing";
Torne (Richard Coles)58218062012-11-14 11:43:16 +000087
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +000088// Sets a window size, optional position, and optional scale factor.
89// "1024x768" creates a window of size 1024x768.
90// "100+200-1024x768" positions the window at 100,200.
91// "1024x768*2" sets the scale factor to 2 for a high DPI display.
92const char kAshHostWindowBounds[] = "ash-host-window-bounds";
Torne (Richard Coles)58218062012-11-14 11:43:16 +000093
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +000094// Enable immersive fullscreen mode.
95const char kAshImmersiveFullscreen[] = "ash-immersive-fullscreen";
96
97// Hides the small tab indicators at the top of the screen during immersive
98// fullscreen mode.
99const char kAshImmersiveHideTabIndicators[] =
100 "ash-immersive-hide-tab-indicators";
101
102// Specifies the internal display's ui scale.
103const char kAshInternalDisplayUIScale[] = "ash-internal-display-ui-scale";
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000104
105// Specifies the layout mode and offsets for the secondary display for
106// testing. The format is "<t|r|b|l>,<offset>" where t=TOP, r=RIGHT,
107// b=BOTTOM and L=LEFT. For example, 'r,-100' means the secondary display
108// is positioned on the right with -100 offset. (above than primary)
109const char kAshSecondaryDisplayLayout[] = "ash-secondary-display-layout";
110
111// Enables the heads-up display for tracking touch points.
112const char kAshTouchHud[] = "ash-touch-hud";
113
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000114// (Most) Chrome OS hardware reports ACPI power button releases correctly.
115// Standard hardware reports releases immediately after presses. If set, we
116// lock the screen or shutdown the system immediately in response to a press
117// instead of displaying an interactive animation.
118const char kAuraLegacyPowerButton[] = "aura-legacy-power-button";
119
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +0000120#if defined(OS_WIN)
121// Force Ash to open its root window on the desktop, even on Windows 8 where
122// it would normally end up in metro.
123const char kForceAshToDesktop[] = "ash-force-desktop";
124;
125#endif
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000126
127} // namespace switches
128} // namespace ash