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

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

Issue 2650403006: Remove PlatformMouseEvent and use WebMouseEvent instead (Closed)
Patch Set: Fix nits 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 f2972ec3c692c6c04a048c65387eb4f30a809007..0d4878361ab98acf9e91e285635a764e8693d8f2 100644
--- a/third_party/WebKit/Source/web/WebInputEventConversion.h
+++ b/third_party/WebKit/Source/web/WebInputEventConversion.h
@@ -31,7 +31,6 @@
#ifndef WebInputEventConversion_h
#define WebInputEventConversion_h
-#include "platform/PlatformMouseEvent.h"
#include "platform/scroll/ScrollTypes.h"
#include "public/platform/WebInputEvent.h"
#include "public/platform/WebKeyboardEvent.h"
@@ -48,19 +47,12 @@ class MouseEvent;
class LayoutItem;
class TouchEvent;
class WebGestureEvent;
-class WebMouseEvent;
class WebKeyboardEvent;
-class WebTouchEvent;
class Widget;
// These classes are used to convert from WebInputEvent subclasses to
// corresponding WebCore events.
-class WEB_EXPORT PlatformMouseEventBuilder
- : NON_EXPORTED_BASE(public PlatformMouseEvent) {
- public:
- PlatformMouseEventBuilder(Widget*, const WebMouseEvent&);
-};
class WEB_EXPORT WebMouseEventBuilder
: NON_EXPORTED_BASE(public WebMouseEvent) {
@@ -96,14 +88,15 @@ class WEB_EXPORT WebTouchEventBuilder
// and translation.
WEB_EXPORT WebGestureEvent TransformWebGestureEvent(Widget*,
const WebGestureEvent&);
+WEB_EXPORT WebMouseEvent TransformWebMouseEvent(Widget*, const WebMouseEvent&);
+
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<WebMouseEvent> WEB_EXPORT
+TransformWebMouseEventVector(Widget*, const std::vector<const WebInputEvent*>&);
Vector<WebTouchEvent> WEB_EXPORT
TransformWebTouchEventVector(Widget*, const std::vector<const WebInputEvent*>&);
« no previous file with comments | « third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp ('k') | third_party/WebKit/Source/web/WebInputEventConversion.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698