Chromium Code Reviews| Index: Source/web/PageWidgetDelegate.cpp |
| diff --git a/Source/web/PageWidgetDelegate.cpp b/Source/web/PageWidgetDelegate.cpp |
| index 72341ae700d6de189ef837d60138eaab10b6b086..ac7bcdfa5d2607f1eab095ba6ff4104e55187ad5 100644 |
| --- a/Source/web/PageWidgetDelegate.cpp |
| +++ b/Source/web/PageWidgetDelegate.cpp |
| @@ -156,6 +156,9 @@ bool PageWidgetDelegate::handleInputEvent(PageWidgetEventHandler& handler, const |
| case WebInputEvent::GestureScrollUpdate: |
| case WebInputEvent::GestureFlingStart: |
| case WebInputEvent::GestureFlingCancel: |
| + case WebInputEvent::GesturePinchBegin: |
|
aelias_OOO_until_Jul13
2015/02/13 02:03:17
Touchscreen pinch events can't happen on the main
aelias_OOO_until_Jul13
2015/02/13 02:03:17
Not sure what this has to do with the rest of the
majidvp
2015/02/18 21:03:56
Removed pinch handling logic/tests for not and ret
|
| + case WebInputEvent::GesturePinchEnd: |
| + case WebInputEvent::GesturePinchUpdate: |
| case WebInputEvent::GestureTap: |
| case WebInputEvent::GestureTapUnconfirmed: |
| case WebInputEvent::GestureTapDown: |
| @@ -175,14 +178,6 @@ bool PageWidgetDelegate::handleInputEvent(PageWidgetEventHandler& handler, const |
| return false; |
| return handler.handleTouchEvent(*root, static_cast<const WebTouchEvent&>(event)); |
| - case WebInputEvent::GesturePinchBegin: |
| - case WebInputEvent::GesturePinchEnd: |
| - case WebInputEvent::GesturePinchUpdate: |
| - // FIXME: Once PlatformGestureEvent is updated to support pinch, this |
| - // should call handleGestureEvent, just like it currently does for |
| - // gesture scroll. |
| - return false; |
| - |
| default: |
| return false; |
| } |