diff options
author | pkotwicz@chromium.org <pkotwicz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-13 23:57:00 +0000 |
---|---|---|
committer | pkotwicz@chromium.org <pkotwicz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-13 23:57:00 +0000 |
commit | 2f7b7fc4ca3965b503ba23f3045ab4d0020a4106 (patch) | |
tree | 0d55e4c1b0c674e40e9fcc0cecffbde0bbd1df2f /ash/ash_switches.cc | |
parent | 30f0115492172f36a53d59c2571798129d63cb76 (diff) | |
download | chromium_src-2f7b7fc4ca3965b503ba23f3045ab4d0020a4106.zip chromium_src-2f7b7fc4ca3965b503ba23f3045ab4d0020a4106.tar.gz chromium_src-2f7b7fc4ca3965b503ba23f3045ab4d0020a4106.tar.bz2 |
Remove ash::switches::UseImmersiveFullscreenForAllWindows(). We are not considering turning the feature off. Remove its flag and get rid of some code complexity
BUG=None
TEST=None
R=oshima
TBR=jamescook, benwells for trivial removal of checking ash::switches::UseImmersiveFullscreenForAllWindows()
Review URL: https://codereview.chromium.org/199283002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@256952 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/ash_switches.cc')
-rw-r--r-- | ash/ash_switches.cc | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/ash/ash_switches.cc b/ash/ash_switches.cc index b2924b8..a96fafd 100644 --- a/ash/ash_switches.cc +++ b/ash/ash_switches.cc @@ -61,15 +61,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[] = @@ -150,11 +141,6 @@ bool UseAlternateShelfLayout() { HasSwitch(kAshDisableAlternateShelfLayout); } -bool UseImmersiveFullscreenForAllWindows() { - return !CommandLine::ForCurrentProcess()->HasSwitch( - kAshEnableImmersiveFullscreenForBrowserOnly); -} - bool UseDockedWindows() { return !CommandLine::ForCurrentProcess()->HasSwitch(kAshDisableDockedWindows); } |