| 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 mus.mojom; | 5 module mus.mojom; |
| 6 | 6 |
| 7 // Denotes during which phase of event targeting that an accelerator will be |
| 8 // notified of an event. PRE_TARGET will be notified instead of the target |
| 9 // window. POST_TARGET will be notified after the target window, and only if the |
| 10 // event was not consumed by the target. |
| 11 enum AcceleratorPhase { |
| 12 PRE_TARGET, |
| 13 POST_TARGET, |
| 14 }; |
| 15 |
| 7 enum EventType { | 16 enum EventType { |
| 8 UNKNOWN, | 17 UNKNOWN, |
| 9 KEY_PRESSED, | 18 KEY_PRESSED, |
| 10 KEY_RELEASED, | 19 KEY_RELEASED, |
| 11 POINTER_CANCEL, | 20 POINTER_CANCEL, |
| 12 POINTER_DOWN, | 21 POINTER_DOWN, |
| 13 POINTER_MOVE, | 22 POINTER_MOVE, |
| 14 POINTER_UP, | 23 POINTER_UP, |
| 15 MOUSE_EXIT, | 24 MOUSE_EXIT, |
| 16 WHEEL, | 25 WHEEL, |
| (...skipping 29 matching lines...) Expand all Loading... |
| 46 PEN, | 55 PEN, |
| 47 TOUCH, | 56 TOUCH, |
| 48 }; | 57 }; |
| 49 | 58 |
| 50 enum WheelMode { | 59 enum WheelMode { |
| 51 PIXEL, | 60 PIXEL, |
| 52 LINE, | 61 LINE, |
| 53 PAGE, | 62 PAGE, |
| 54 SCALING, | 63 SCALING, |
| 55 }; | 64 }; |
| OLD | NEW |