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

Unified Diff: ash/ash_switches.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 | « ash/ash_switches.h ('k') | ash/wm/custom_frame_view_ash.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « ash/ash_switches.h ('k') | ash/wm/custom_frame_view_ash.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698