summaryrefslogtreecommitdiffstats
path: root/ui/aura_shell
diff options
context:
space:
mode:
authorjamescook@chromium.org <jamescook@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-10 01:55:30 +0000
committerjamescook@chromium.org <jamescook@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-10 01:55:30 +0000
commit20cea59e679b5a2d46ef6aa0de71b5b29c275c86 (patch)
tree9aef1d1a834805872a19ec01ae43a3a3670c6fd3 /ui/aura_shell
parent84e6ceab30ed8e6c95ac9edb0bded8070e9b41e5 (diff)
downloadchromium_src-20cea59e679b5a2d46ef6aa0de71b5b29c275c86.zip
chromium_src-20cea59e679b5a2d46ef6aa0de71b5b29c275c86.tar.gz
chromium_src-20cea59e679b5a2d46ef6aa0de71b5b29c275c86.tar.bz2
Aura: Separate window dragging and translucent frame flags
Split --aura-windows into --aura-workspace-manager and --aura-translucent-frames. Also fixed a bug where the window frame was still opaque despite the latter flag. BUG=106890 TEST=manual, run with all combinations of above flags Review URL: http://codereview.chromium.org/8890036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113921 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/aura_shell')
-rw-r--r--ui/aura_shell/shell.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/ui/aura_shell/shell.cc b/ui/aura_shell/shell.cc
index 406215e..cf55c7bb 100644
--- a/ui/aura_shell/shell.cc
+++ b/ui/aura_shell/shell.cc
@@ -218,10 +218,11 @@ void Shell::Init() {
GetContainer(aura_shell::internal::kShellWindowId_StatusContainer)->
SetLayoutManager(status_area_layout_manager);
- if (!CommandLine::ForCurrentProcess()->HasSwitch(switches::kAuraNoShadows))
+ CommandLine* command_line = CommandLine::ForCurrentProcess();
+ if (!command_line->HasSwitch(switches::kAuraNoShadows))
shadow_controller_.reset(new internal::ShadowController());
- if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kAuraWindows)) {
+ if (command_line->HasSwitch(switches::kAuraWorkspaceManager)) {
EnableWorkspaceManager();
} else {
internal::ToplevelLayoutManager* toplevel_layout_manager =