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

Side by Side Diff: remoting/base/protocol/chromotocol.proto

Issue 3161034: Rename (Host|Client)Message to Chromoting(Host|Client)Message. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Fix merge conflicts Created 10 years, 4 months 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
« no previous file with comments | « remoting/base/encoder_zlib.cc ('k') | remoting/base/protocol_decoder.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 communication between chromoting client and host. 5 // Protocol for communication between chromoting client and host.
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 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 // NEXT ID: 4 92 // NEXT ID: 4
93 message UpdateStreamPacketMessage { 93 message UpdateStreamPacketMessage {
94 optional UpdateStreamBeginRect begin_rect = 1; 94 optional UpdateStreamBeginRect begin_rect = 1;
95 optional UpdateStreamRectData rect_data = 2; 95 optional UpdateStreamRectData rect_data = 2;
96 optional UpdateStreamEndRect end_rect = 3; 96 optional UpdateStreamEndRect end_rect = 3;
97 } 97 }
98 98
99 // Defines the message that is sent from the host to the client. 99 // Defines the message that is sent from the host to the client.
100 // Only one of these messages should be present. 100 // Only one of these messages should be present.
101 // NEXT ID: 5 101 // NEXT ID: 5
102 message HostMessage { 102 message ChromotingHostMessage {
103 optional InitClientMessage init_client= 1; 103 optional InitClientMessage init_client= 1;
104 optional BeginUpdateStreamMessage begin_update_stream = 2; 104 optional BeginUpdateStreamMessage begin_update_stream = 2;
105 optional EndUpdateStreamMessage end_update_stream = 3; 105 optional EndUpdateStreamMessage end_update_stream = 3;
106 optional UpdateStreamPacketMessage update_stream_packet = 4; 106 optional UpdateStreamPacketMessage update_stream_packet = 4;
107 } 107 }
108 108
109 // Defines a keyboard event. 109 // Defines a keyboard event.
110 // NEXT ID: 3 110 // NEXT ID: 3
111 message KeyEvent { 111 message KeyEvent {
112 // The POSIX key code. 112 // The POSIX key code.
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 LEFT = 0; 155 LEFT = 0;
156 MIDDLE = 1; 156 MIDDLE = 1;
157 RIGHT = 2; 157 RIGHT = 2;
158 } 158 }
159 required Button button = 1; 159 required Button button = 1;
160 } 160 }
161 161
162 // Defines the message that is sent from the client to the host. 162 // Defines the message that is sent from the client to the host.
163 // Only one of the optional messages should be present. 163 // Only one of the optional messages should be present.
164 // NEXT ID: 7 164 // NEXT ID: 7
165 message ClientMessage { 165 message ChromotingClientMessage {
166 optional KeyEvent key_event = 1; 166 optional KeyEvent key_event = 1;
167 optional MouseSetPositionEvent mouse_set_position_event = 2; 167 optional MouseSetPositionEvent mouse_set_position_event = 2;
168 optional MouseMoveEvent mouse_move_event = 3; 168 optional MouseMoveEvent mouse_move_event = 3;
169 optional MouseWheelEvent mouse_wheel_event = 4; 169 optional MouseWheelEvent mouse_wheel_event = 4;
170 optional MouseDownEvent mouse_down_event = 5; 170 optional MouseDownEvent mouse_down_event = 5;
171 optional MouseUpEvent mouse_up_event = 6; 171 optional MouseUpEvent mouse_up_event = 6;
172 } 172 }
OLDNEW
« no previous file with comments | « remoting/base/encoder_zlib.cc ('k') | remoting/base/protocol_decoder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698