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

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

Issue 6271004: Changed MessageReader so that it doesn't read from the socket if there are (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ref-counted MessageReader Created 9 years, 11 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
« no previous file with comments | « remoting/base/compound_buffer.h ('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 22 matching lines...) Expand all
33 optional int32 y = 2; 33 optional int32 y = 2;
34 34
35 // Mouse wheel information. 35 // Mouse wheel information.
36 optional int32 wheel_offset_x = 3; 36 optional int32 wheel_offset_x = 3;
37 optional int32 wheel_offset_y = 4; 37 optional int32 wheel_offset_y = 4;
38 38
39 // Mouse button event. 39 // Mouse button event.
40 optional MouseButton button = 5; 40 optional MouseButton button = 5;
41 optional bool button_down = 6; 41 optional bool button_down = 6;
42 } 42 }
43
44 // Defines an event message on the event channel.
45 message Event {
46 required int32 timestamp = 1; // Client timestamp for event
47 optional bool dummy = 2; // Is this a dummy event?
48
49 optional KeyEvent key = 3;
50 optional MouseEvent mouse = 4;
51 }
52
53 // Message sent in the event channel.
54 message EventMessage {
55 repeated Event event = 1;
56 }
OLDNEW
« no previous file with comments | « remoting/base/compound_buffer.h ('k') | remoting/proto/internal.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698