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

Side by Side Diff: ash/ash_switches.cc

Issue 9264025: aura: Replace UI-feature GYP flags with switches. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 8 years, 11 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/shell.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 // Force the "compact" window mode regardless of the value of kAuraWindowMode.
15 // This can be used to override a value set in chrome://flags.
16 // TODO(derat): Remove this once the normal mode is usable on all platforms.
17 const char kAuraForceCompactWindowMode[] = "aura-force-compact-window-mode";
18
14 // Use Google-style dialog box frames. 19 // Use Google-style dialog box frames.
15 const char kAuraGoogleDialogFrames[] = "aura-google-dialog-frames"; 20 const char kAuraGoogleDialogFrames[] = "aura-google-dialog-frames";
16 21
22 // (Most) Chrome OS hardware reports ACPI power button releases correctly.
23 // Standard hardware reports releases immediately after presses. If set, we
24 // lock the screen or shutdown the system immediately in response to a press
25 // instead of displaying an interactive animation.
26 const char kAuraLegacyPowerButton[] = "aura-legacy-power-button";
27
17 // Avoid drawing drop shadows under windows. 28 // Avoid drawing drop shadows under windows.
18 const char kAuraNoShadows[] = "aura-no-shadows"; 29 const char kAuraNoShadows[] = "aura-no-shadows";
19 30
20 // Use Aura-style translucent window frame. 31 // Use Aura-style translucent window frame.
21 const char kAuraTranslucentFrames[] = "aura-translucent-frames"; 32 const char kAuraTranslucentFrames[] = "aura-translucent-frames";
22 33
23 // Use a custom window style, e.g. --aura-window-mode=compact. 34 // Use a custom window style, e.g. --aura-window-mode=compact.
24 // When this flag is not passed we default to "normal" mode. 35 // When this flag is not passed we default to "normal" mode.
25 const char kAuraWindowMode[] = "aura-window-mode"; 36 const char kAuraWindowMode[] = "aura-window-mode";
26 37
27 // Show only a single maximized window, like traditional non-Aura builds. 38 // Show only a single maximized window, like traditional non-Aura builds.
28 // Useful for low-resolution screens, such as on laptops. 39 // Useful for low-resolution screens, such as on laptops.
29 const char kAuraWindowModeCompact[] = "compact"; 40 const char kAuraWindowModeCompact[] = "compact";
30 41
31 // Default window management with multiple draggable windows. 42 // Default window management with multiple draggable windows.
32 const char kAuraWindowModeNormal[] = "normal"; 43 const char kAuraWindowModeNormal[] = "normal";
33 44
34 // Use Aura-style workspace window dragging and sizing. 45 // Use Aura-style workspace window dragging and sizing.
35 const char kAuraWorkspaceManager[] = "aura-workspace-manager"; 46 const char kAuraWorkspaceManager[] = "aura-workspace-manager";
36 47
37 } // namespace switches 48 } // namespace switches
38 } // namespace ash 49 } // namespace ash
OLDNEW
« no previous file with comments | « ash/ash_switches.h ('k') | ash/shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698