blob: 9f500b2d2d39dc050220bece47017b67adb5e35c [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
43// Disables panel fitting (used for mirror mode).
44const char kAshDisablePanelFitting[] = "ash-disable-panel-fitting";
45
46// Enable advanced gestures (e.g. for window management).
47const char kAshEnableAdvancedGestures[] = "ash-enable-advanced-gestures";
48
49#if defined(OS_LINUX)
50// Enable memory monitoring.
51const char kAshEnableMemoryMonitor[] = "ash-enable-memory-monitor";
52#endif
53
54// Enables the Oak tree viewer.
55const char kAshEnableOak[] = "ash-enable-oak";
56
57// Enables showing the tray bubble by dragging on the shelf.
58const char kAshEnableTrayDragging[] = "ash-enable-tray-dragging";
59
60// Enables creating a launcher per display.
61const char kAshLauncherPerDisplay[] = "ash-launcher-per-display";
62
63// If present new lock animations are enabled.
64const char kAshNewLockAnimationsEnabled[] = "ash-new-lock-animations-enabled";
65
66// If present animations for lock screen are reversed.
67const char kAshReverseNewLockAnimations[] = "ash-reverse-new-lock-animations";
68
69// Specifies the layout mode and offsets for the secondary display for
70// testing. The format is "<t|r|b|l>,<offset>" where t=TOP, r=RIGHT,
71// b=BOTTOM and L=LEFT. For example, 'r,-100' means the secondary display
72// is positioned on the right with -100 offset. (above than primary)
73const char kAshSecondaryDisplayLayout[] = "ash-secondary-display-layout";
74
75// Enables the heads-up display for tracking touch points.
76const char kAshTouchHud[] = "ash-touch-hud";
77
78// If present animations are disabled.
79const char kAshWindowAnimationsDisabled[] = "ash-window-animations-disabled";
80
81// Use Google-style dialog box frames.
82const char kAuraGoogleDialogFrames[] = "aura-google-dialog-frames";
83
84// (Most) Chrome OS hardware reports ACPI power button releases correctly.
85// Standard hardware reports releases immediately after presses. If set, we
86// lock the screen or shutdown the system immediately in response to a press
87// instead of displaying an interactive animation.
88const char kAuraLegacyPowerButton[] = "aura-legacy-power-button";
89
90// Avoid drawing drop shadows under windows.
91const char kAuraNoShadows[] = "aura-no-shadows";
92
93} // namespace switches
94} // namespace ash