| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 module sky; | 5 module sky; |
| 6 | 6 |
| 7 enum EventType { | 7 enum EventType { |
| 8 UNKNOWN, | 8 UNKNOWN, |
| 9 POINTER_CANCEL, | 9 POINTER_CANCEL, |
| 10 POINTER_DOWN, | 10 POINTER_DOWN, |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 float velocityX; | 55 float velocityX; |
| 56 float velocityY; | 56 float velocityY; |
| 57 }; | 57 }; |
| 58 | 58 |
| 59 struct InputEvent { | 59 struct InputEvent { |
| 60 EventType type; | 60 EventType type; |
| 61 int64 time_stamp; | 61 int64 time_stamp; |
| 62 PointerData? pointer_data; | 62 PointerData? pointer_data; |
| 63 GestureData? gesture_data; | 63 GestureData? gesture_data; |
| 64 }; | 64 }; |
| OLD | NEW |