Index: ash/shell.cc |
diff --git a/ash/shell.cc b/ash/shell.cc |
index 589caed35b214f42e127794d4dde7c1f14aa256d..203145bd87f4cbb93d7b2dcf97268f0cdd65dc22 100644 |
--- a/ash/shell.cc |
+++ b/ash/shell.cc |
@@ -419,6 +419,12 @@ bool Shell::IsLauncherPerDisplayEnabled() { |
return !command_line->HasSwitch(switches::kAshDisableLauncherPerDisplay); |
} |
+// static |
+bool Shell::IsForcedMaximizeMode() { |
+ CommandLine* command_line = CommandLine::ForCurrentProcess(); |
+ return command_line->HasSwitch(switches::kForcedMaximizeMode); |
+} |
+ |
void Shell::Init() { |
delegate_->PreInit(); |
#if defined(OS_CHROMEOS) && defined(USE_X11) |