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 #include "ash/ash_switches.h"
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).
15 const char kAshAnimateFromBootSplashScreen
[] =
16 "ash-animate-from-boot-splash-screen";
18 // Variation of boot animation that uses Tween::EASE_OUT_2.
19 const char kAshBootAnimationFunction2
[] = "ash-boot-animation-function2";
21 // Variation of boot animation that uses Tween::EASE_OUT_3.
22 const char kAshBootAnimationFunction3
[] = "ash-boot-animation-function3";
24 // Constrains the pointer movement within a root window on desktop.
25 const char kAshConstrainPointerToRoot
[] = "ash-constrain-pointer-to-root";
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
31 const char kAshCopyHostBackgroundAtBoot
[] = "ash-copy-host-background-at-boot";
33 // Enable keyboard shortcuts useful for debugging.
34 const char kAshDebugShortcuts
[] = "ash-debug-shortcuts";
36 // Disable support for auto window placement.
37 const char kAshDisableAutoWindowPlacement
[] =
38 "ash-enable-auto-window-placement";
40 // Disables boot animation v2, go back to v1.
41 const char kAshDisableBootAnimation2
[] = "ash-disable-boot-animation2";
43 // Disables the limitter to throttle how quickly a user
44 // can change display settings.
45 const char kAshDisableDisplayChangeLimiter
[] =
46 "ash-disable-display-change-limiter";
48 // Disables creating a launcher per display.
49 const char kAshDisableLauncherPerDisplay
[] = "ash-disable-launcher-per-display";
51 // If present new lock animations are enabled.
52 const char kAshDisableNewLockAnimations
[] = "ash-disable-new-lock-animations";
54 // Disable new network handlers in the status area.
55 const char kAshDisableNewNetworkStatusArea
[] =
56 "ash-disable-new-network-status-area";
58 // Disable the per application grouping version of the launcher.
59 const char kAshDisablePerAppLauncher
[] = "ash-disable-per-app-launcher";
61 // Disables display rotation.
62 const char kAshDisableDisplayRotation
[] = "ash-disable-display-rotation";
64 // Disables ui scaling.
65 const char kAshDisableUIScaling
[] = "ash-disable-ui-scaling";
67 // Enable advanced gestures (e.g. for window management).
68 const char kAshEnableAdvancedGestures
[] = "ash-enable-advanced-gestures";
70 // Always enable brightness control. Used by machines that don't report their
71 // main monitor as internal.
72 const char kAshEnableBrightnessControl
[] = "ash-enable-brightness-control";
75 // Enable memory monitoring.
76 const char kAshEnableMemoryMonitor
[] = "ash-enable-memory-monitor";
79 // Enables the Oak tree viewer.
80 const char kAshEnableOak
[] = "ash-enable-oak";
82 // Enables showing the tray bubble by dragging on the shelf.
83 const char kAshEnableTrayDragging
[] = "ash-enable-tray-dragging";
85 // Enable workspace switching via a three finger vertical scroll.
86 const char kAshEnableWorkspaceScrubbing
[] = "ash-enable-workspace-scrubbing";
88 // 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.
92 const char kAshHostWindowBounds
[] = "ash-host-window-bounds";
94 // Enable immersive fullscreen mode.
95 const char kAshImmersiveFullscreen
[] = "ash-immersive-fullscreen";
97 // Hides the small tab indicators at the top of the screen during immersive
99 const char kAshImmersiveHideTabIndicators
[] =
100 "ash-immersive-hide-tab-indicators";
102 // Specifies the internal display's ui scale.
103 const char kAshInternalDisplayUIScale
[] = "ash-internal-display-ui-scale";
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)
109 const char kAshSecondaryDisplayLayout
[] = "ash-secondary-display-layout";
111 // Enables the heads-up display for tracking touch points.
112 const char kAshTouchHud
[] = "ash-touch-hud";
114 // (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.
118 const char kAuraLegacyPowerButton
[] = "aura-legacy-power-button";
121 // Force Ash to open its root window on the desktop, even on Windows 8 where
122 // it would normally end up in metro.
123 const char kForceAshToDesktop
[] = "ash-force-desktop";
127 } // namespace switches