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

Unified Diff: ui/aura_shell/shell.cc

Issue 8890036: Aura: Separate constrained window and translucent frame flags (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: tweak description text Created 9 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/aura/aura_switches.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura_shell/shell.cc
diff --git a/ui/aura_shell/shell.cc b/ui/aura_shell/shell.cc
index 406215edf0c8b29e878f604d4eda60f520fb529d..cf55c7bbc1f27e66c63130abbacaa1ed4b6624e5 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 =
« no previous file with comments | « ui/aura/aura_switches.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698