Index: third_party/WebKit/Source/web/WebInputEventConversion.h |
diff --git a/third_party/WebKit/Source/web/WebInputEventConversion.h b/third_party/WebKit/Source/web/WebInputEventConversion.h |
index 93abd61e5b78588d04c97ab1b0eb01efc65085ff..f2972ec3c692c6c04a048c65387eb4f30a809007 100644 |
--- a/third_party/WebKit/Source/web/WebInputEventConversion.h |
+++ b/third_party/WebKit/Source/web/WebInputEventConversion.h |
@@ -32,7 +32,6 @@ |
#define WebInputEventConversion_h |
#include "platform/PlatformMouseEvent.h" |
-#include "platform/PlatformTouchEvent.h" |
#include "platform/scroll/ScrollTypes.h" |
#include "public/platform/WebInputEvent.h" |
#include "public/platform/WebKeyboardEvent.h" |
@@ -63,20 +62,6 @@ class WEB_EXPORT PlatformMouseEventBuilder |
PlatformMouseEventBuilder(Widget*, const WebMouseEvent&); |
}; |
-// Converts a WebTouchPoint to a PlatformTouchPoint. |
-class WEB_EXPORT PlatformTouchPointBuilder |
- : NON_EXPORTED_BASE(public PlatformTouchPoint) { |
- public: |
- PlatformTouchPointBuilder(Widget*, const WebTouchPoint&); |
-}; |
- |
-// Converts a WebTouchEvent to a PlatformTouchEvent. |
-class WEB_EXPORT PlatformTouchEventBuilder |
- : NON_EXPORTED_BASE(public PlatformTouchEvent) { |
- public: |
- PlatformTouchEventBuilder(Widget*, const WebTouchEvent&); |
-}; |
- |
class WEB_EXPORT WebMouseEventBuilder |
: NON_EXPORTED_BASE(public WebMouseEvent) { |
public: |
@@ -114,12 +99,13 @@ WEB_EXPORT WebGestureEvent TransformWebGestureEvent(Widget*, |
WEB_EXPORT WebMouseWheelEvent |
TransformWebMouseWheelEvent(Widget*, const WebMouseWheelEvent&); |
+WEB_EXPORT WebTouchEvent TransformWebTouchEvent(Widget*, const WebTouchEvent&); |
+ |
Vector<PlatformMouseEvent> WEB_EXPORT |
createPlatformMouseEventVector(Widget*, |
const std::vector<const WebInputEvent*>&); |
-Vector<PlatformTouchEvent> WEB_EXPORT |
-createPlatformTouchEventVector(Widget*, |
- const std::vector<const WebInputEvent*>&); |
+Vector<WebTouchEvent> WEB_EXPORT |
+TransformWebTouchEventVector(Widget*, const std::vector<const WebInputEvent*>&); |
} // namespace blink |