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

Side by Side Diff: remoting/proto/event.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/control.proto ('k') | remoting/proto/internal.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 // 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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 // Defines the message that is sent from client to host. 93 // Message sent in the event channel.
94 // Only one of the optional messages should be present. 94 message EventMessage {
95 message ClientEventMessage { 95 repeated Event event = 1;
96 repeated Event events = 1;
97 } 96 }
98
99 // Defines the message that is sent from host to client.
100 // Only one of the optional messages should be present.
101 message HostEventMessage {
102 // TODO(hclam): Define the message.
103 }
OLDNEW
« no previous file with comments | « remoting/proto/control.proto ('k') | remoting/proto/internal.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698