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

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

Issue 10894050: Remove support for Windows-style keycodes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Linux EventExecutor typo. Created 8 years, 3 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 message KeyEvent { 14 message KeyEvent {
15 // The Windows Virtual Key code. 15 // The Windows Virtual Key code.
16 optional int32 keycode = 1; 16 //optional int32 keycode = 1;
17 optional bool pressed = 2; 17 optional bool pressed = 2;
18 18
19 // The USB key code. 19 // The USB key code.
20 // The upper 16-bits are the USB Page (0x07 for key events). 20 // The upper 16-bits are the USB Page (0x07 for key events).
21 // The lower 16-bits are the USB Usage ID (which identifies the actual key). 21 // The lower 16-bits are the USB Usage ID (which identifies the actual key).
22 optional uint32 usb_keycode = 3; 22 optional uint32 usb_keycode = 3;
23 } 23 }
24 24
25 // Defines a mouse event message on the event channel. 25 // Defines a mouse event message on the event channel.
26 message MouseEvent { 26 message MouseEvent {
(...skipping 24 matching lines...) Expand all
51 51
52 // Defines an event that sends clipboard data between peers. 52 // Defines an event that sends clipboard data between peers.
53 message ClipboardEvent { 53 message ClipboardEvent {
54 54
55 // The MIME type of the data being sent. 55 // The MIME type of the data being sent.
56 optional string mime_type = 1; 56 optional string mime_type = 1;
57 57
58 // The data being sent. 58 // The data being sent.
59 optional bytes data = 2; 59 optional bytes data = 2;
60 } 60 }
OLDNEW
« no previous file with comments | « remoting/host/remote_input_filter_unittest.cc ('k') | remoting/protocol/client_event_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698