| Index: sky/engine/web/WebInputEventConversion.h
|
| diff --git a/sky/engine/web/WebInputEventConversion.h b/sky/engine/web/WebInputEventConversion.h
|
| index 4fb1a2076adf0703e7edb6c533d22f519da4992a..2e7835d34dbff117ab97f9a749bca699799bd5b7 100644
|
| --- a/sky/engine/web/WebInputEventConversion.h
|
| +++ b/sky/engine/web/WebInputEventConversion.h
|
| @@ -33,7 +33,6 @@
|
|
|
| #include "sky/engine/platform/PlatformGestureEvent.h"
|
| #include "sky/engine/platform/PlatformKeyboardEvent.h"
|
| -#include "sky/engine/platform/PlatformTouchEvent.h"
|
| #include "sky/engine/public/platform/WebInputEvent.h"
|
|
|
| namespace blink {
|
| @@ -41,9 +40,7 @@ namespace blink {
|
| class GestureEvent;
|
| class KeyboardEvent;
|
| class RenderObject;
|
| -class TouchEvent;
|
| class WebKeyboardEvent;
|
| -class WebTouchEvent;
|
| class WebGestureEvent;
|
| class Widget;
|
|
|
| @@ -62,18 +59,6 @@ public:
|
| bool isCharacterKey() const;
|
| };
|
|
|
| -// Converts a WebTouchPoint to a PlatformTouchPoint.
|
| -class PlatformTouchPointBuilder : public PlatformTouchPoint {
|
| -public:
|
| - PlatformTouchPointBuilder(Widget*, const WebTouchPoint&);
|
| -};
|
| -
|
| -// Converts a WebTouchEvent to a PlatformTouchEvent.
|
| -class PlatformTouchEventBuilder : public PlatformTouchEvent {
|
| -public:
|
| - PlatformTouchEventBuilder(Widget*, const WebTouchEvent&);
|
| -};
|
| -
|
| // Converts a KeyboardEvent or PlatformKeyboardEvent to a
|
| // corresponding WebKeyboardEvent.
|
| // NOTE: For KeyboardEvent, this is only implemented for keydown,
|
| @@ -85,14 +70,6 @@ public:
|
| WebKeyboardEventBuilder(const PlatformKeyboardEvent&);
|
| };
|
|
|
| -// Converts a TouchEvent to a corresponding WebTouchEvent.
|
| -// NOTE: WebTouchEvents have a cap on the number of WebTouchPoints. Any points
|
| -// exceeding that cap will be dropped.
|
| -class WebTouchEventBuilder : public WebTouchEvent {
|
| -public:
|
| - WebTouchEventBuilder(const Widget*, const RenderObject*, const TouchEvent&);
|
| -};
|
| -
|
| // Converts GestureEvent to a corresponding WebGestureEvent.
|
| // NOTE: If event mapping fails, the type will be set to Undefined.
|
| class WebGestureEventBuilder : public WebGestureEvent {
|
|
|