Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(301)

Side by Side Diff: ash/ash_switches.cc

Issue 9630002: Ash: Remove compact window mode. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: OpaqueBrowserFrameView, MultipleWindowIndicatorButton Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ash/ash_switches.h ('k') | ash/focus_cycler.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ash/ash_switches.h" 5 #include "ash/ash_switches.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 10
11 namespace ash { 11 namespace ash {
12 namespace switches { 12 namespace switches {
13 13
14 // Use the in-progress uber system tray. 14 // Use the in-progress uber system tray.
15 const char kAshUberTray[] = "ash-uber-tray"; 15 const char kAshUberTray[] = "ash-uber-tray";
16 16
17 // Force the "compact" window mode regardless of the value of kAuraWindowMode.
18 // This can be used to override a value set in chrome://flags.
19 // Also implies fully-opaque windows for performance.
20 // TODO(derat): Remove this once the normal mode is usable on all platforms.
21 const char kAuraForceCompactWindowMode[] = "aura-force-compact-window-mode";
22
23 // Use Google-style dialog box frames. 17 // Use Google-style dialog box frames.
24 const char kAuraGoogleDialogFrames[] = "aura-google-dialog-frames"; 18 const char kAuraGoogleDialogFrames[] = "aura-google-dialog-frames";
25 19
26 // (Most) Chrome OS hardware reports ACPI power button releases correctly. 20 // (Most) Chrome OS hardware reports ACPI power button releases correctly.
27 // Standard hardware reports releases immediately after presses. If set, we 21 // Standard hardware reports releases immediately after presses. If set, we
28 // lock the screen or shutdown the system immediately in response to a press 22 // lock the screen or shutdown the system immediately in response to a press
29 // instead of displaying an interactive animation. 23 // instead of displaying an interactive animation.
30 const char kAuraLegacyPowerButton[] = "aura-legacy-power-button"; 24 const char kAuraLegacyPowerButton[] = "aura-legacy-power-button";
31 25
32 // Avoid drawing drop shadows under windows. 26 // Avoid drawing drop shadows under windows.
33 const char kAuraNoShadows[] = "aura-no-shadows"; 27 const char kAuraNoShadows[] = "aura-no-shadows";
34 28
35 // If present animations are disabled. 29 // If present animations are disabled.
36 const char kAuraWindowAnimationsDisabled[] = "aura-window-animations-disabled"; 30 const char kAuraWindowAnimationsDisabled[] = "aura-window-animations-disabled";
37 31
38 // Use a custom window style, e.g. --aura-window-mode=compact.
39 // When this flag is not passed we default to "overlapping" mode.
40 const char kAuraWindowMode[] = "aura-window-mode";
41
42 // Show only a single maximized window, like traditional non-Aura builds.
43 // Useful for low-resolution screens, such as on laptops.
44 const char kAuraWindowModeCompact[] = "compact";
45
46 // Smart window management with workspace manager that automatically lays out
47 // windows.
48 const char kAuraWindowModeManaged[] = "managed";
49
50 // Use Aura to manage windows of type WINDOW_TYPE_PANEL. 32 // Use Aura to manage windows of type WINDOW_TYPE_PANEL.
51 const char kAuraPanelManager[] = "aura-panels"; 33 const char kAuraPanelManager[] = "aura-panels";
52 34
53 } // namespace switches 35 } // namespace switches
54 } // namespace ash 36 } // namespace ash
OLDNEW
« no previous file with comments | « ash/ash_switches.h ('k') | ash/focus_cycler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698