// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ash/ash_switches.h" #include #include "base/command_line.h" namespace ash { namespace switches { // Force the "compact" window mode regardless of the value of kAuraWindowMode. // This can be used to override a value set in chrome://flags. // TODO(derat): Remove this once the normal mode is usable on all platforms. const char kAuraForceCompactWindowMode[] = "aura-force-compact-window-mode"; // Use Google-style dialog box frames. const char kAuraGoogleDialogFrames[] = "aura-google-dialog-frames"; // (Most) Chrome OS hardware reports ACPI power button releases correctly. // Standard hardware reports releases immediately after presses. If set, we // lock the screen or shutdown the system immediately in response to a press // instead of displaying an interactive animation. const char kAuraLegacyPowerButton[] = "aura-legacy-power-button"; // Avoid drawing drop shadows under windows. const char kAuraNoShadows[] = "aura-no-shadows"; // Use Aura-style translucent window frame. const char kAuraTranslucentFrames[] = "aura-translucent-frames"; // Use a custom window style, e.g. --aura-window-mode=compact. // When this flag is not passed we default to "normal" mode. const char kAuraWindowMode[] = "aura-window-mode"; // Show only a single maximized window, like traditional non-Aura builds. // Useful for low-resolution screens, such as on laptops. const char kAuraWindowModeCompact[] = "compact"; // Default window management with multiple draggable windows. const char kAuraWindowModeNormal[] = "normal"; // Use Aura-style workspace window dragging and sizing. const char kAuraWorkspaceManager[] = "aura-workspace-manager"; } // namespace switches } // namespace ash