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 [DartUriBase="mojo/services/input_events/public/interfaces"] |
5 module mojo; | 6 module mojo; |
6 | 7 |
7 enum EventType { | 8 enum EventType { |
8 UNKNOWN, | 9 UNKNOWN, |
9 KEY_PRESSED, | 10 KEY_PRESSED, |
10 KEY_RELEASED, | 11 KEY_RELEASED, |
11 POINTER_CANCEL, | 12 POINTER_CANCEL, |
12 POINTER_DOWN, | 13 POINTER_DOWN, |
13 POINTER_MOVE, | 14 POINTER_MOVE, |
14 POINTER_UP, | 15 POINTER_UP, |
(...skipping 22 matching lines...) Expand all Loading... |
37 IS_TRIPLE_CLICK = 131072, | 38 IS_TRIPLE_CLICK = 131072, |
38 IS_NON_CLIENT = 262144, | 39 IS_NON_CLIENT = 262144, |
39 | 40 |
40 // TODO(erg): Move accessibility flags and maybe synthetic touch events here. | 41 // TODO(erg): Move accessibility flags and maybe synthetic touch events here. |
41 }; | 42 }; |
42 | 43 |
43 enum PointerKind { | 44 enum PointerKind { |
44 TOUCH, | 45 TOUCH, |
45 MOUSE, | 46 MOUSE, |
46 }; | 47 }; |
OLD | NEW |