OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 // Internal message types that should not be seen outside the protocol | 5 // Internal message types that should not be seen outside the protocol |
6 // directory. | 6 // directory. |
7 | 7 |
8 syntax = "proto2"; | 8 syntax = "proto2"; |
9 | 9 |
10 import "control.proto"; | 10 import "control.proto"; |
(...skipping 17 matching lines...) Expand all Loading... |
28 } | 28 } |
29 | 29 |
30 // Defines an event message on the event channel. | 30 // Defines an event message on the event channel. |
31 message EventMessage { | 31 message EventMessage { |
32 // Client's timestamp used to estimate roundtrip latency. | 32 // Client's timestamp used to estimate roundtrip latency. |
33 optional int64 timestamp = 1; | 33 optional int64 timestamp = 1; |
34 | 34 |
35 optional KeyEvent key_event = 3; | 35 optional KeyEvent key_event = 3; |
36 optional MouseEvent mouse_event = 4; | 36 optional MouseEvent mouse_event = 4; |
37 optional TextEvent text_event = 5; | 37 optional TextEvent text_event = 5; |
| 38 optional TouchEvent touch_event = 6; |
38 } | 39 } |
OLD | NEW |