Index: ash/shell.cc |
diff --git a/ash/shell.cc b/ash/shell.cc |
index 0e9a14c5ebf67773743712e4043984d3b5caa67c..94808981ea83622fc237c06ec608782bb7447866 100644 |
--- a/ash/shell.cc |
+++ b/ash/shell.cc |
@@ -273,6 +273,9 @@ void Shell::Init() { |
Shell::WindowMode Shell::ComputeWindowMode(const gfx::Size& monitor_size, |
CommandLine* command_line) const { |
+ if (command_line->HasSwitch(switches::kAuraForceCompactWindowMode)) |
+ return COMPACT_MODE; |
+ |
// If user set the flag, use their desired behavior. |
if (command_line->HasSwitch(switches::kAuraWindowMode)) { |
std::string mode = |