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

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

Issue 5559011: Remove ChromotingClientMessage (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 10 years 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/event_executor_win.cc ('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
11 package remoting.protocol; 11 package remoting.protocol;
12 12
13 // Defines a keyboard event. 13 // Defines a keyboard event.
14 // NEXT ID: 3 14 // NEXT ID: 3
15 message KeyEvent { 15 message KeyEvent {
16 // The POSIX key code. 16 // The POSIX key code.
Sergey Ulanov 2010/12/08 01:14:03 Not related to this CL: What is POSIX key code? Se
17 required int32 key = 1; 17 required int32 keycode = 1;
18 required bool pressed = 2; 18 required bool pressed = 2;
19 } 19 }
20 20
21 // Defines a mouse event message on the event channel. 21 // Defines a mouse event message on the event channel.
22 message MouseEvent { 22 message MouseEvent {
23 23
24 enum MouseButton { 24 enum MouseButton {
25 BUTTON_UNDEFINED = 0; 25 BUTTON_UNDEFINED = 0;
26 BUTTON_LEFT = 1; 26 BUTTON_LEFT = 1;
27 BUTTON_MIDDLE = 2; 27 BUTTON_MIDDLE = 2;
(...skipping 19 matching lines...) Expand all
47 optional bool dummy = 2; // Is this a dummy event? 47 optional bool dummy = 2; // Is this a dummy event?
48 48
49 optional KeyEvent key = 3; 49 optional KeyEvent key = 3;
50 optional MouseEvent mouse = 4; 50 optional MouseEvent mouse = 4;
51 } 51 }
52 52
53 // Message sent in the event channel. 53 // Message sent in the event channel.
54 message EventMessage { 54 message EventMessage {
55 repeated Event event = 1; 55 repeated Event event = 1;
56 } 56 }
OLDNEW
« no previous file with comments | « remoting/host/event_executor_win.cc ('k') | remoting/proto/internal.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698