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 // This mirrors ui::EventType | 7 // This mirrors ui::EventType |
8 enum EventType { | 8 enum EventType { |
9 UNKNOWN , | 9 UNKNOWN , |
10 MOUSE_PRESSED, | 10 MOUSE_PRESSED, |
11 MOUSE_DRAGGED, | 11 MOUSE_DRAGGED, |
12 MOUSE_RELEASED, | 12 MOUSE_RELEASED, |
13 MOUSE_MOVED, | 13 MOUSE_MOVED, |
14 MOUSE_ENTERED, | 14 MOUSE_ENTERED, |
15 MOUSE_EXITED, | 15 MOUSE_EXITED, |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 MOD3_DOWN = 2048 | 68 MOD3_DOWN = 2048 |
69 }; | 69 }; |
70 | 70 |
71 enum MouseEventFlags { | 71 enum MouseEventFlags { |
72 IS_DOUBLE_CLICK = 65536, | 72 IS_DOUBLE_CLICK = 65536, |
73 IS_TRIPLE_CLICK = 131072, | 73 IS_TRIPLE_CLICK = 131072, |
74 IS_NON_CLIENT = 262144, | 74 IS_NON_CLIENT = 262144, |
75 | 75 |
76 // TODO(erg): Move accessibility flags and maybe synthetic touch events here. | 76 // TODO(erg): Move accessibility flags and maybe synthetic touch events here. |
77 }; | 77 }; |
78 | |
79 } // module mojo | |
OLD | NEW |