summaryrefslogtreecommitdiffstats
path: root/ash/launcher/launcher_view.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ash/launcher/launcher_view.cc')
-rw-r--r--ash/launcher/launcher_view.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/ash/launcher/launcher_view.cc b/ash/launcher/launcher_view.cc
index f51da7a..4148c87 100644
--- a/ash/launcher/launcher_view.cc
+++ b/ash/launcher/launcher_view.cc
@@ -788,9 +788,9 @@ views::FocusTraversable* LauncherView::GetPaneFocusTraversable() {
return this;
}
-ui::EventResult LauncherView::OnGestureEvent(ui::GestureEvent* event) {
- return gesture_handler_.ProcessGestureEvent(*event) ?
- ui::ER_CONSUMED : ui::ER_UNHANDLED;
+void LauncherView::OnGestureEvent(ui::GestureEvent* event) {
+ if (gesture_handler_.ProcessGestureEvent(*event))
+ event->StopPropagation();
}
void LauncherView::LauncherItemAdded(int model_index) {