Index: ash/ash_switches.cc |
diff --git a/ash/ash_switches.cc b/ash/ash_switches.cc |
index 6f369b6e444f888ebffc7459a27bc6f2ed94cf03..1e485ebbbe635ae81d603aed3ba7a84f8f47aeb1 100644 |
--- a/ash/ash_switches.cc |
+++ b/ash/ash_switches.cc |
@@ -108,6 +108,11 @@ const char kAshEnableBrightnessControl[] = "ash-enable-brightness-control"; |
const char kAshEnableImmersiveFullscreenForAllWindows[] = |
"ash-enable-immersive-all-windows"; |
+// Enables putting only browser windows into immersive fullscreen via <F4>. |
+// <F4> puts all other windows into non-immersive fullscreen. |
+const char kAshEnableImmersiveFullscreenForBrowserOnly[] = |
+ "ash-enable-immersive-browser-only"; |
+ |
#if defined(OS_CHROMEOS) |
// Enables the "full multi profile mode" - as it was in M-31. |
const char kAshEnableFullMultiProfileMode[] = |
@@ -221,6 +226,11 @@ bool UseDragOffShelf() { |
HasSwitch(kAshDisableDragOffShelf); |
} |
+bool UseImmersiveFullscreenForAllWindows() { |
+ return !CommandLine::ForCurrentProcess()->HasSwitch( |
+ kAshEnableImmersiveFullscreenForBrowserOnly); |
+} |
+ |
bool ShowShelfAlignmentMenu() { |
return !CommandLine::ForCurrentProcess()-> |
HasSwitch(kHideShelfAlignmentMenu); |