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

Unified Diff: chrome/browser/ui/ash/accelerator_commands_browsertest.cc

Issue 135053006: Enable immersive fullscreen for non-browser windows by default (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 months 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 | « chrome/browser/about_flags.cc ('k') | chrome/browser/ui/views/apps/native_app_window_views.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
}
« no previous file with comments | « chrome/browser/about_flags.cc ('k') | chrome/browser/ui/views/apps/native_app_window_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698