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

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: 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
« ui/aura/aura_switches.h ('K') | « 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..3579fe192a7622dceb40c2191c1fbdbcd48372dd 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::kAuraConstrainedWindows)) {
EnableWorkspaceManager();
} else {
internal::ToplevelLayoutManager* toplevel_layout_manager =
« ui/aura/aura_switches.h ('K') | « ui/aura/aura_switches.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698