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 4476003: Add VideoPacket struct for video packets. Refactor Decode interface to use it. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merged 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/host/session_manager_unittest.cc ('k') | remoting/proto/video.proto » ('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";
9 import "event.proto"; 10 import "event.proto";
10 import "video.proto"; 11 import "video.proto";
11 12
12 option optimize_for = LITE_RUNTIME; 13 option optimize_for = LITE_RUNTIME;
13 14
14 package remoting; 15 package remoting;
15 16
16 // Defines the message that is sent from the host to the client.
17 // Only one of these messages should be present.
18 // NEXT ID: 5
19 message ChromotingHostMessage {
20 optional InitClientMessage init_client= 1;
21 optional VideoPacket video_packet = 2;
22 }
23
24 // Defines the message that is sent from the client to the host. 17 // Defines the message that is sent from the client to the host.
25 // Only one of the optional messages should be present. 18 // Only one of the optional messages should be present.
26 // NEXT ID: 7 19 // NEXT ID: 7
27 message ChromotingClientMessage { 20 message ChromotingClientMessage {
28 optional KeyEvent key_event = 1; 21 optional KeyEvent key_event = 1;
29 optional MouseSetPositionEvent mouse_set_position_event = 2; 22 optional MouseSetPositionEvent mouse_set_position_event = 2;
30 optional MouseMoveEvent mouse_move_event = 3; 23 optional MouseMoveEvent mouse_move_event = 3;
31 optional MouseWheelEvent mouse_wheel_event = 4; 24 optional MouseWheelEvent mouse_wheel_event = 4;
32 optional MouseDownEvent mouse_down_event = 5; 25 optional MouseDownEvent mouse_down_event = 5;
33 optional MouseUpEvent mouse_up_event = 6; 26 optional MouseUpEvent mouse_up_event = 6;
34 } 27 }
OLDNEW
« no previous file with comments | « remoting/host/session_manager_unittest.cc ('k') | remoting/proto/video.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698