https://bugs.webkit.org/show_bug.cgi?id=77140
Patch by Sadrul Habib Chowdhury <sadrul@chromium.org> on 2012-01-26
Reviewed by Darin Fisher.
* public/WebInputEvent.h:
():
* src/WebInputEventConversion.cpp:
(WebKit::PlatformGestureEventBuilder::PlatformGestureEventBuilder):
* src/WebPopupMenuImpl.cpp:
(WebKit::WebPopupMenuImpl::handleInputEvent):
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::handleInputEvent):
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@106063
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2012-01-26 Sadrul Habib Chowdhury <sadrul@chromium.org>
+
+ Add GestureTapDown and GestureDoubleTap gesture types to WebGestureEvent.
+ https://bugs.webkit.org/show_bug.cgi?id=77140
+
+ Reviewed by Darin Fisher.
+
+ * public/WebInputEvent.h:
+ ():
+ * src/WebInputEventConversion.cpp:
+ (WebKit::PlatformGestureEventBuilder::PlatformGestureEventBuilder):
+ * src/WebPopupMenuImpl.cpp:
+ (WebKit::WebPopupMenuImpl::handleInputEvent):
+ * src/WebViewImpl.cpp:
+ (WebKit::WebViewImpl::handleInputEvent):
+
2012-01-25 Cris Neckar <cdn@chromium.org>
Add API to register schemes which can be sent simple CORS requests.
GestureFlingStart,
GestureFlingCancel,
GestureTap,
+ GestureTapDown,
+ GestureDoubleTap,
// WebTouchEvent
TouchStart,
case WebInputEvent::GestureTap:
m_type = PlatformEvent::GestureTap;
break;
+ case WebInputEvent::GestureTapDown:
+ m_type = PlatformEvent::GestureTapDown;
+ break;
+ case WebInputEvent::GestureDoubleTap:
+ m_type = PlatformEvent::GestureDoubleTap;
+ break;
default:
ASSERT_NOT_REACHED();
}
case WebInputEvent::GestureFlingStart:
case WebInputEvent::GestureFlingCancel:
case WebInputEvent::GestureTap:
+ case WebInputEvent::GestureTapDown:
+ case WebInputEvent::GestureDoubleTap:
return GestureEvent(*static_cast<const WebGestureEvent*>(&inputEvent));
case WebInputEvent::Undefined:
case WebInputEvent::GestureFlingStart:
case WebInputEvent::GestureFlingCancel:
case WebInputEvent::GestureTap:
+ case WebInputEvent::GestureTapDown:
+ case WebInputEvent::GestureDoubleTap:
handled = gestureEvent(*static_cast<const WebGestureEvent*>(&inputEvent));
break;
#endif