diff options
author | mohsen@chromium.org <mohsen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-14 14:16:24 +0000 |
---|---|---|
committer | mohsen@chromium.org <mohsen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-14 14:16:24 +0000 |
commit | 98355a74afcd284db8ba7cb85c460dd87209db22 (patch) | |
tree | ca4e35273204dee3530aab5ac71a723723935bc3 | |
parent | 1b45c36b659f2803949924f3f3e9a12d82232ed1 (diff) | |
download | chromium_src-98355a74afcd284db8ba7cb85c460dd87209db22.zip chromium_src-98355a74afcd284db8ba7cb85c460dd87209db22.tar.gz chromium_src-98355a74afcd284db8ba7cb85c460dd87209db22.tar.bz2 |
Hide the app menu when hiding the launcher
When the app menu is open, swiping the launcher to hide it should close
the app menu first. It is not reasonable to show the app menu when there
is no launcher visible.
BUG=170900
Review URL: https://chromiumcodereview.appspot.com/12622010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188064 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | ash/wm/app_list_controller.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ash/wm/app_list_controller.cc b/ash/wm/app_list_controller.cc index 3c34984..37aff49 100644 --- a/ash/wm/app_list_controller.cc +++ b/ash/wm/app_list_controller.cc @@ -240,7 +240,7 @@ void AppListController::OnMouseEvent(ui::MouseEvent* event) { } void AppListController::OnGestureEvent(ui::GestureEvent* event) { - if (event->type() == ui::ET_GESTURE_TAP) + if (event->type() == ui::ET_GESTURE_TAP_DOWN) ProcessLocatedEvent(event); } |