| Index: Source/WebKit/chromium/src/WebInputEventConversion.h
|
| diff --git a/Source/WebKit/chromium/src/WebInputEventConversion.h b/Source/WebKit/chromium/src/WebInputEventConversion.h
|
| index 77ebe40dd0ba528d16bd4056b9423a8e77ea0016..0e44398b278ca31fee2acbca3c43ed8c3d5f0c42 100644
|
| --- a/Source/WebKit/chromium/src/WebInputEventConversion.h
|
| +++ b/Source/WebKit/chromium/src/WebInputEventConversion.h
|
| @@ -82,6 +82,7 @@ public:
|
| bool isCharacterKey() const;
|
| };
|
|
|
| +#if ENABLE(TOUCH_EVENTS)
|
| // Converts a WebTouchPoint to a WebCore::PlatformTouchPoint.
|
| class PlatformTouchPointBuilder : public WebCore::PlatformTouchPoint {
|
| public:
|
| @@ -93,6 +94,7 @@ class PlatformTouchEventBuilder : public WebCore::PlatformTouchEvent {
|
| public:
|
| PlatformTouchEventBuilder(WebCore::Widget*, const WebTouchEvent&);
|
| };
|
| +#endif
|
|
|
| // Converts a WebCore::MouseEvent to a corresponding WebMouseEvent.
|
| // NOTE: This is only implemented for mousemove, mouseover, mouseout,
|
| @@ -119,6 +121,7 @@ public:
|
| WebKeyboardEventBuilder(const WebCore::KeyboardEvent&);
|
| };
|
|
|
| +#if ENABLE(TOUCH_EVENTS)
|
| // Converts a WebCore::TouchEvent to a corresponding WebTouchEvent.
|
| // NOTE: WebTouchEvents have a cap on the number of WebTouchPoints. Any points
|
| // exceeding that cap will be dropped.
|
| @@ -126,6 +129,7 @@ class WebTouchEventBuilder : public WebTouchEvent {
|
| public:
|
| WebTouchEventBuilder(const WebCore::Widget*, const WebCore::RenderObject*, const WebCore::TouchEvent&);
|
| };
|
| +#endif // ENABLE(TOUCH_EVENTS)
|
|
|
| // Converts WebCore::GestureEvent to a corresponding WebGestureEvent.
|
| // NOTE: If event mapping fails, the type will be set to Undefined.
|
|
|