Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(57)

Side by Side Diff: remoting/proto/event.proto

Issue 4726003: Implement InputStub in the host side for chromoting (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed Created 10 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 // Protocol for event messages. 5 // Protocol for event messages.
6 6
7 syntax = "proto2"; 7 syntax = "proto2";
8 8
9 option optimize_for = LITE_RUNTIME; 9 option optimize_for = LITE_RUNTIME;
10 10
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 62
63 // Mouse button is released. 63 // Mouse button is released.
64 // NEXT ID: 2 64 // NEXT ID: 2
65 message MouseUpEvent { 65 message MouseUpEvent {
66 required MouseButton button = 1; 66 required MouseButton button = 1;
67 } 67 }
68 68
69 // Defines a mouse event message on the event channel. 69 // Defines a mouse event message on the event channel.
70 message MouseEvent { 70 message MouseEvent {
71 // Mouse position information. 71 // Mouse position information.
72 optional int32 mouse_x = 1; 72 optional MouseSetPositionEvent set_position = 1;
73 optional int32 mouse_y = 2;
74 73
75 // Mouse wheel information. 74 // Mouse wheel information.
76 optional int32 wheel_offset_x = 3; 75 optional MouseWheelEvent wheel = 2;
77 optional int32 wheel_offset_y = 4;
78 76
79 // Mouse button information. 77 // Mouse down event.
80 optional MouseButton button = 5; 78 optional MouseDownEvent down = 3;
81 optional bool button_down = 6; 79
80 // Mouse up event.
81 optional MouseUpEvent up = 4;
82 } 82 }
83 83
84 // Defines an event message on the event channel. 84 // Defines an event message on the event channel.
85 message Event { 85 message Event {
86 required int32 timestamp = 1; // Client timestamp for event 86 required int32 timestamp = 1; // Client timestamp for event
87 optional bool dummy = 2; // Is this a dummy event? 87 optional bool dummy = 2; // Is this a dummy event?
88 88
89 optional KeyEvent key = 3; 89 optional KeyEvent key = 3;
90 optional MouseEvent mouse = 4; 90 optional MouseEvent mouse = 4;
91 } 91 }
92 92
93 // Message sent in the event channel. 93 // Message sent in the event channel.
94 message EventMessage { 94 message EventMessage {
95 repeated Event event = 1; 95 repeated Event event = 1;
96 } 96 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698