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

Unified Diff: sky/engine/platform/exported/WebInputEvent.cpp

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/platform/PlatformTouchPoint.h ('k') | sky/engine/public/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/platform/exported/WebInputEvent.cpp
diff --git a/sky/engine/platform/exported/WebInputEvent.cpp b/sky/engine/platform/exported/WebInputEvent.cpp
index 98424710c381ff764eb2dc3b588b5ad4660978a4..020c89b0764da2ae19d374f6cc83fa7dc7d5e27b 100644
--- a/sky/engine/platform/exported/WebInputEvent.cpp
+++ b/sky/engine/platform/exported/WebInputEvent.cpp
@@ -50,15 +50,9 @@ struct SameSizeAsWebGestureEvent : public SameSizeAsWebInputEvent {
int gestureData[9];
};
-struct SameSizeAsWebTouchEvent : public SameSizeAsWebInputEvent {
- WebTouchPoint touchPoints[3 * WebTouchEvent::touchesLengthCap];
- int touchData[4];
-};
-
COMPILE_ASSERT(sizeof(WebInputEvent) == sizeof(SameSizeAsWebInputEvent), WebInputEvent_has_gaps);
COMPILE_ASSERT(sizeof(WebKeyboardEvent) == sizeof(SameSizeAsWebKeyboardEvent), WebKeyboardEvent_has_gaps);
COMPILE_ASSERT(sizeof(WebGestureEvent) == sizeof(SameSizeAsWebGestureEvent), WebGestureEvent_has_gaps);
-COMPILE_ASSERT(sizeof(WebTouchEvent) == sizeof(SameSizeAsWebTouchEvent), WebTouchEvent_has_gaps);
static const char* staticKeyIdentifiers(unsigned short keyCode)
{
« no previous file with comments | « sky/engine/platform/PlatformTouchPoint.h ('k') | sky/engine/public/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698