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

Unified Diff: sky/engine/web/WebInputEventConversion.h

Issue 874823002: Move GestureEvent to NewEventDispatcher (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Build fixes Created 5 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
« no previous file with comments | « sky/engine/public/web/WebWidgetClient.h ('k') | sky/engine/web/WebInputEventConversion.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/web/WebInputEventConversion.h
diff --git a/sky/engine/web/WebInputEventConversion.h b/sky/engine/web/WebInputEventConversion.h
index 2e7835d34dbff117ab97f9a749bca699799bd5b7..53572d217f527ce36eb5558ec02c5605ef98c44a 100644
--- a/sky/engine/web/WebInputEventConversion.h
+++ b/sky/engine/web/WebInputEventConversion.h
@@ -31,27 +31,19 @@
#ifndef SKY_ENGINE_WEB_WEBINPUTEVENTCONVERSION_H_
#define SKY_ENGINE_WEB_WEBINPUTEVENTCONVERSION_H_
-#include "sky/engine/platform/PlatformGestureEvent.h"
#include "sky/engine/platform/PlatformKeyboardEvent.h"
#include "sky/engine/public/platform/WebInputEvent.h"
namespace blink {
-class GestureEvent;
class KeyboardEvent;
class RenderObject;
class WebKeyboardEvent;
-class WebGestureEvent;
class Widget;
// These classes are used to convert from WebInputEvent subclasses to
// corresponding WebCore events.
-class PlatformGestureEventBuilder : public PlatformGestureEvent {
-public:
- PlatformGestureEventBuilder(Widget*, const WebGestureEvent&);
-};
-
class PlatformKeyboardEventBuilder : public PlatformKeyboardEvent {
public:
PlatformKeyboardEventBuilder(const WebKeyboardEvent&);
@@ -70,13 +62,6 @@ public:
WebKeyboardEventBuilder(const PlatformKeyboardEvent&);
};
-// Converts GestureEvent to a corresponding WebGestureEvent.
-// NOTE: If event mapping fails, the type will be set to Undefined.
-class WebGestureEventBuilder : public WebGestureEvent {
-public:
- WebGestureEventBuilder(const Widget*, const RenderObject*, const GestureEvent&);
-};
-
} // namespace blink
#endif // SKY_ENGINE_WEB_WEBINPUTEVENTCONVERSION_H_
« no previous file with comments | « sky/engine/public/web/WebWidgetClient.h ('k') | sky/engine/web/WebInputEventConversion.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698