Index: chrome/browser/ui/ash/accelerator_commands_browsertest.cc |
diff --git a/chrome/browser/ui/ash/accelerator_commands_browsertest.cc b/chrome/browser/ui/ash/accelerator_commands_browsertest.cc |
index fe2240019127392063a55d3913e27c8953571c9d..9c1965f13d7c6df8e1fe0ca849b36672a710954c 100644 |
--- a/chrome/browser/ui/ash/accelerator_commands_browsertest.cc |
+++ b/chrome/browser/ui/ash/accelerator_commands_browsertest.cc |
@@ -114,6 +114,9 @@ class AcceleratorCommandsFullscreenBrowserTest |
if (put_all_windows_in_immersive_) { |
CommandLine::ForCurrentProcess()->AppendSwitch( |
ash::switches::kAshEnableImmersiveFullscreenForAllWindows); |
+ } else { |
+ CommandLine::ForCurrentProcess()->AppendSwitch( |
+ ash::switches::kAshEnableImmersiveFullscreenForBrowserOnly); |
} |
} |
@@ -303,6 +306,9 @@ class AcceleratorCommandsPlatformAppFullscreenBrowserTest |
if (put_all_windows_in_immersive_) { |
CommandLine::ForCurrentProcess()->AppendSwitch( |
ash::switches::kAshEnableImmersiveFullscreenForAllWindows); |
+ } else { |
+ CommandLine::ForCurrentProcess()->AppendSwitch( |
+ ash::switches::kAshEnableImmersiveFullscreenForBrowserOnly); |
} |
extensions::PlatformAppBrowserTest::SetUpCommandLine(command_line); |
} |