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

Unified Diff: sky/services/viewport/input_event.mojom

Issue 1222663003: Rename ViewportObserver to SkyEngine (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: now with moar files Created 5 years, 6 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/services/viewport/BUILD.gn ('k') | sky/services/viewport/viewport_observer.mojom » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/services/viewport/input_event.mojom
diff --git a/sky/services/viewport/input_event.mojom b/sky/services/viewport/input_event.mojom
deleted file mode 100644
index d57a5c08710326baee791af53619aabdad41b5f7..0000000000000000000000000000000000000000
--- a/sky/services/viewport/input_event.mojom
+++ /dev/null
@@ -1,64 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-module sky;
-
-enum EventType {
- UNKNOWN,
- POINTER_CANCEL,
- POINTER_DOWN,
- POINTER_MOVE,
- POINTER_UP,
- GESTURE_FLING_CANCEL,
- GESTURE_FLING_START,
- GESTURE_LONG_PRESS,
- GESTURE_SCROLL_BEGIN,
- GESTURE_SCROLL_END,
- GESTURE_SCROLL_UPDATE,
- GESTURE_SHOW_PRESS,
- GESTURE_TAP,
- GESTURE_TAP_DOWN,
- BACK,
-};
-
-enum PointerKind {
- TOUCH,
-};
-
-struct PointerData {
- int32 pointer;
- PointerKind kind;
- float x;
- float y;
- int32 buttons;
- float pressure;
- float pressure_min;
- float pressure_max;
- float distance;
- float distance_min;
- float distance_max;
- float radius_major;
- float radius_minor;
- float radius_min;
- float radius_max;
- float orientation;
- float tilt;
-};
-
-struct GestureData {
- int32 primary_pointer;
- float x;
- float y;
- float dx;
- float dy;
- float velocityX;
- float velocityY;
-};
-
-struct InputEvent {
- EventType type;
- int64 time_stamp;
- PointerData? pointer_data;
- GestureData? gesture_data;
-};
« no previous file with comments | « sky/services/viewport/BUILD.gn ('k') | sky/services/viewport/viewport_observer.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698