Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame^] | 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. |
| 4 | |
| 5 | #include "ash/ash_switches.h" |
| 6 | |
| 7 | namespace ash { |
| 8 | namespace 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). |
| 15 | const char kAshAnimateFromBootSplashScreen[] = |
| 16 | "ash-animate-from-boot-splash-screen"; |
| 17 | |
| 18 | // Variation of boot animation that uses Tween::EASE_OUT_2. |
| 19 | const char kAshBootAnimationFunction2[] = "ash-boot-animation-function2"; |
| 20 | |
| 21 | // Variation of boot animation that uses Tween::EASE_OUT_3. |
| 22 | const char kAshBootAnimationFunction3[] = "ash-boot-animation-function3"; |
| 23 | |
| 24 | // Constrains the pointer movement within a root window on desktop. |
| 25 | const 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. |
| 31 | const char kAshCopyHostBackgroundAtBoot[] = "ash-copy-host-background-at-boot"; |
| 32 | |
| 33 | // Enable keyboard shortcuts useful for debugging. |
| 34 | const char kAshDebugShortcuts[] = "ash-debug-shortcuts"; |
| 35 | |
| 36 | // Disable support for auto window placement. |
| 37 | const char kAshDisableAutoWindowPlacement[] = |
| 38 | "ash-enable-auto-window-placement"; |
| 39 | |
| 40 | // Disables boot animation v2, go back to v1. |
| 41 | const char kAshDisableBootAnimation2[] = "ash-disable-boot-animation2"; |
| 42 | |
| 43 | // Disables panel fitting (used for mirror mode). |
| 44 | const char kAshDisablePanelFitting[] = "ash-disable-panel-fitting"; |
| 45 | |
| 46 | // Enable advanced gestures (e.g. for window management). |
| 47 | const char kAshEnableAdvancedGestures[] = "ash-enable-advanced-gestures"; |
| 48 | |
| 49 | #if defined(OS_LINUX) |
| 50 | // Enable memory monitoring. |
| 51 | const char kAshEnableMemoryMonitor[] = "ash-enable-memory-monitor"; |
| 52 | #endif |
| 53 | |
| 54 | // Enables the Oak tree viewer. |
| 55 | const char kAshEnableOak[] = "ash-enable-oak"; |
| 56 | |
| 57 | // Enables showing the tray bubble by dragging on the shelf. |
| 58 | const char kAshEnableTrayDragging[] = "ash-enable-tray-dragging"; |
| 59 | |
| 60 | // Enables creating a launcher per display. |
| 61 | const char kAshLauncherPerDisplay[] = "ash-launcher-per-display"; |
| 62 | |
| 63 | // If present new lock animations are enabled. |
| 64 | const char kAshNewLockAnimationsEnabled[] = "ash-new-lock-animations-enabled"; |
| 65 | |
| 66 | // If present animations for lock screen are reversed. |
| 67 | const 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) |
| 73 | const char kAshSecondaryDisplayLayout[] = "ash-secondary-display-layout"; |
| 74 | |
| 75 | // Enables the heads-up display for tracking touch points. |
| 76 | const char kAshTouchHud[] = "ash-touch-hud"; |
| 77 | |
| 78 | // If present animations are disabled. |
| 79 | const char kAshWindowAnimationsDisabled[] = "ash-window-animations-disabled"; |
| 80 | |
| 81 | // Use Google-style dialog box frames. |
| 82 | const 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. |
| 88 | const char kAuraLegacyPowerButton[] = "aura-legacy-power-button"; |
| 89 | |
| 90 | // Avoid drawing drop shadows under windows. |
| 91 | const char kAuraNoShadows[] = "aura-no-shadows"; |
| 92 | |
| 93 | } // namespace switches |
| 94 | } // namespace ash |