OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 mojo; | 5 module mojo; |
6 | 6 |
7 enum EventType { | 7 enum EventType { |
8 UNKNOWN, | 8 UNKNOWN, |
9 KEY_PRESSED, | 9 KEY_PRESSED, |
10 KEY_RELEASED, | 10 KEY_RELEASED, |
(...skipping 23 matching lines...) Expand all Loading... |
34 | 34 |
35 enum MouseEventFlags { | 35 enum MouseEventFlags { |
36 IS_DOUBLE_CLICK = 65536, | 36 IS_DOUBLE_CLICK = 65536, |
37 IS_TRIPLE_CLICK = 131072, | 37 IS_TRIPLE_CLICK = 131072, |
38 IS_NON_CLIENT = 262144, | 38 IS_NON_CLIENT = 262144, |
39 | 39 |
40 // TODO(erg): Move accessibility flags and maybe synthetic touch events here. | 40 // TODO(erg): Move accessibility flags and maybe synthetic touch events here. |
41 }; | 41 }; |
42 | 42 |
43 enum PointerKind { | 43 enum PointerKind { |
| 44 UNKNOWN, |
| 45 MOUSE, |
| 46 PEN, |
44 TOUCH, | 47 TOUCH, |
45 MOUSE, | 48 WHEEL, |
46 }; | 49 }; |
| 50 |
| 51 enum WheelMode { |
| 52 PIXEL, |
| 53 LINE, |
| 54 PAGE, |
| 55 SCALING, |
| 56 }; |
OLD | NEW |