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

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

Issue 4336001: Stub classes for Chromoting and use them in HostMessageDispatcher. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
« no previous file with comments | « remoting/proto/event.proto ('k') | remoting/protocol/client_stub.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 // Internal messages as a unit for transmission in the wire. 5 // Internal messages as a unit for transmission in the wire.
6 6
7 syntax = "proto2"; 7 syntax = "proto2";
8 8
9 import "control.proto";
10 import "event.proto"; 9 import "event.proto";
11 import "video.proto"; 10 import "video.proto";
12 11
13 option optimize_for = LITE_RUNTIME; 12 option optimize_for = LITE_RUNTIME;
14 13
15 package remoting; 14 package remoting;
16 15
17 // Defines the message that is sent from the host to the client. 16 // Defines the message that is sent from the host to the client.
18 // Only one of these messages should be present. 17 // Only one of these messages should be present.
19 // NEXT ID: 5 18 // NEXT ID: 5
20 message ChromotingHostMessage { 19 message ChromotingHostMessage {
21 optional InitClientMessage init_client= 1; 20 optional InitClientMessage init_client= 1;
22 optional VideoPacket video_packet = 2; 21 optional VideoPacket video_packet = 2;
23 } 22 }
24 23
25 // Defines the message that is sent from the client to the host. 24 // Defines the message that is sent from the client to the host.
26 // Only one of the optional messages should be present. 25 // Only one of the optional messages should be present.
27 // NEXT ID: 7 26 // NEXT ID: 7
28 message ChromotingClientMessage { 27 message ChromotingClientMessage {
29 optional KeyEvent key_event = 1; 28 optional KeyEvent key_event = 1;
30 optional MouseSetPositionEvent mouse_set_position_event = 2; 29 optional MouseSetPositionEvent mouse_set_position_event = 2;
31 optional MouseMoveEvent mouse_move_event = 3; 30 optional MouseMoveEvent mouse_move_event = 3;
32 optional MouseWheelEvent mouse_wheel_event = 4; 31 optional MouseWheelEvent mouse_wheel_event = 4;
33 optional MouseDownEvent mouse_down_event = 5; 32 optional MouseDownEvent mouse_down_event = 5;
34 optional MouseUpEvent mouse_up_event = 6; 33 optional MouseUpEvent mouse_up_event = 6;
35 } 34 }
OLDNEW
« no previous file with comments | « remoting/proto/event.proto ('k') | remoting/protocol/client_stub.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698