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

Unified Diff: ash/ash_switches.cc

Issue 199283002: Remove ash::switches::UseImmersiveFullscreenForAllWindows() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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
Index: ash/ash_switches.cc
diff --git a/ash/ash_switches.cc b/ash/ash_switches.cc
index 6bd34cb72a04501a783d5e21619ef9a188ed4aed..8cddb55d247ecedf2612d9628c28bac995772d56 100644
--- a/ash/ash_switches.cc
+++ b/ash/ash_switches.cc
@@ -70,15 +70,6 @@ const char kAshEnableAlternateFrameCaptionButtonStyle[] =
// main monitor as internal.
const char kAshEnableBrightnessControl[] = "ash-enable-brightness-control";
-// Enables putting all windows into immersive fullscreen via <F4>.
-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 key bindings to scroll magnified screen.
const char kAshEnableMagnifierKeyScroller[] =
@@ -146,11 +137,6 @@ bool UseAlternateFrameCaptionButtonStyle() {
HasSwitch(kAshDisableAlternateFrameCaptionButtonStyle);
}
-bool UseImmersiveFullscreenForAllWindows() {
- return !CommandLine::ForCurrentProcess()->HasSwitch(
- kAshEnableImmersiveFullscreenForBrowserOnly);
-}
-
bool UseOverviewMode() {
return !CommandLine::ForCurrentProcess()->HasSwitch(kAshDisableOverviewMode);
}
« no previous file with comments | « ash/ash_switches.h ('k') | ash/wm/custom_frame_view_ash.cc » ('j') | ash/wm/window_state.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698