diff options
author | flackr@chromium.org <flackr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-11 15:04:41 +0000 |
---|---|---|
committer | flackr@chromium.org <flackr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-11 15:04:41 +0000 |
commit | d983eb45551db49966fde1aad60ba5b564cdc019 (patch) | |
tree | af2a68acac049610f7930972a91bab3e3cc4b115 /ash/ash_switches.cc | |
parent | 57861e5fd420a4e0e3b23869f0b4e0c950fab2b1 (diff) | |
download | chromium_src-d983eb45551db49966fde1aad60ba5b564cdc019.zip chromium_src-d983eb45551db49966fde1aad60ba5b564cdc019.tar.gz chromium_src-d983eb45551db49966fde1aad60ba5b564cdc019.tar.bz2 |
Add a gesture handler which toggles overview when swiping from the top with three fingers.
BUG=263528
TEST=Swipe down from the top of the screen with three fingers to toggle overview.
Review URL: https://codereview.chromium.org/26664008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@228186 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/ash_switches.cc')
-rw-r--r-- | ash/ash_switches.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ash/ash_switches.cc b/ash/ash_switches.cc index d72e3f9..33632b0 100644 --- a/ash/ash_switches.cc +++ b/ash/ash_switches.cc @@ -234,6 +234,10 @@ bool UseFullMultiProfileMode() { #endif } +bool UseOverviewMode() { + return !CommandLine::ForCurrentProcess()->HasSwitch(kAshDisableOverviewMode); +} + // Returns true if the MultiProfile shelf menu should be shown. bool ShowMultiProfileShelfMenu() { #if defined(OS_CHROMEOS) |