Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(374)

Unified Diff: third_party/WebKit/Source/web/WebInputEventConversion.h

Issue 2646163002: Remove PlatformTouchEvent/Point and use WebTouchEvent/Point instead (Closed)
Patch Set: Fix nit Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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
« no previous file with comments | « third_party/WebKit/Source/web/PageWidgetDelegate.cpp ('k') | third_party/WebKit/Source/web/WebInputEventConversion.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698