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

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

Issue 868133003: Remove touch events from Sky (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: 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/WebSettings.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 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 {
« no previous file with comments | « sky/engine/public/web/WebSettings.h ('k') | sky/engine/web/WebInputEventConversion.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698