diff options
Diffstat (limited to 'Source/WebKit2/Shared/WebEventConversion.h')
-rw-r--r-- | Source/WebKit2/Shared/WebEventConversion.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Source/WebKit2/Shared/WebEventConversion.h b/Source/WebKit2/Shared/WebEventConversion.h index 8fa0813..1fe87bc 100644 --- a/Source/WebKit2/Shared/WebEventConversion.h +++ b/Source/WebKit2/Shared/WebEventConversion.h @@ -29,6 +29,11 @@ #include <WebCore/PlatformKeyboardEvent.h> #include <WebCore/PlatformMouseEvent.h> #include <WebCore/PlatformWheelEvent.h> + +#if ENABLE(GESTURE_EVENTS) +#include <WebCore/PlatformGestureEvent.h> +#endif + #if ENABLE(TOUCH_EVENTS) #include <WebCore/PlatformTouchEvent.h> #include <WebCore/PlatformTouchPoint.h> @@ -39,17 +44,29 @@ namespace WebKit { class WebMouseEvent; class WebWheelEvent; class WebKeyboardEvent; + +#if ENABLE(GESTURE_EVENTS) +class WebGestureEvent; +#endif + #if ENABLE(TOUCH_EVENTS) class WebTouchEvent; class WebTouchPoint; #endif + WebCore::PlatformMouseEvent platform(const WebMouseEvent&); WebCore::PlatformWheelEvent platform(const WebWheelEvent&); WebCore::PlatformKeyboardEvent platform(const WebKeyboardEvent&); + +#if ENABLE(GESTURE_EVENTS) +WebCore::PlatformGestureEvent platform(const WebGestureEvent&); +#endif + #if ENABLE(TOUCH_EVENTS) WebCore::PlatformTouchEvent platform(const WebTouchEvent&); WebCore::PlatformTouchPoint platform(const WebTouchPoint&); #endif + } // namespace WebKit #endif // WebEventConversion_h |