| Index: ash/wm/system_gesture_event_filter.cc
|
| ===================================================================
|
| --- ash/wm/system_gesture_event_filter.cc (revision 140971)
|
| +++ ash/wm/system_gesture_event_filter.cc (working copy)
|
| @@ -260,7 +260,7 @@
|
| return SYSTEM_GESTURE_END;
|
|
|
| switch (event.type()) {
|
| - case ui::ET_GESTURE_END: {
|
| + case ui::ET_GESTURE_TAP_UP: {
|
| if (event.delta_x() > kSystemPinchPoints)
|
| break;
|
|
|
| @@ -535,7 +535,7 @@
|
| ClearGestureHandlerForWindow(system_target);
|
| return ui::GESTURE_STATUS_CONSUMED;
|
| } else {
|
| - if (event->type() == ui::ET_GESTURE_BEGIN &&
|
| + if (event->type() == ui::ET_GESTURE_TAP_DOWN &&
|
| event->delta_x() >= kSystemPinchPoints) {
|
| pinch_handlers_[system_target] = new SystemPinchHandler(system_target);
|
| system_target->AddObserver(this);
|
|
|