| Index: sky/services/viewport/input_event.mojom
|
| diff --git a/sky/services/viewport/input_event.mojom b/sky/services/viewport/input_event.mojom
|
| index 21cf84c760246a70c871f3623d25a3dac85ac456..3e8461959f7a94ae963518f2a4f0367f5356e8a3 100644
|
| --- a/sky/services/viewport/input_event.mojom
|
| +++ b/sky/services/viewport/input_event.mojom
|
| @@ -10,6 +10,11 @@ enum EventType {
|
| POINTER_UP,
|
| POINTER_MOVE,
|
| POINTER_CANCEL,
|
| + GESTURE_SCROLL_BEGIN,
|
| + GESTURE_SCROLL_UPDATE,
|
| + GESTURE_SCROLL_END,
|
| + GESTURE_FLING_START,
|
| + GESTURE_FLING_CANCEL,
|
| };
|
|
|
| enum PointerKind {
|
| @@ -36,8 +41,18 @@ struct PointerData {
|
| float tilt;
|
| };
|
|
|
| +struct GestureData {
|
| + 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;
|
| };
|
|
|