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

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

Issue 23484015: Added support of relative mouse motion in Chromoting. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: feedback Created 7 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
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 optional MouseButton button = 5; 51 optional MouseButton button = 5;
52 optional bool button_down = 6; 52 optional bool button_down = 6;
53 53
54 // Mouse wheel information. 54 // Mouse wheel information.
55 // These values encode the number of pixels and 'ticks' of movement that 55 // These values encode the number of pixels and 'ticks' of movement that
56 // would result from the wheel event on the client system. 56 // would result from the wheel event on the client system.
57 optional float wheel_delta_x = 7; 57 optional float wheel_delta_x = 7;
58 optional float wheel_delta_y = 8; 58 optional float wheel_delta_y = 8;
59 optional float wheel_ticks_x = 9; 59 optional float wheel_ticks_x = 9;
60 optional float wheel_ticks_y = 10; 60 optional float wheel_ticks_y = 10;
61
62 // Mouse movement information. Provided only when mouse lock is engaged.
63 optional int32 delta_x = 11;
64 optional int32 delta_y = 12;
61 } 65 }
62 66
63 // Defines an event that sends clipboard data between peers. 67 // Defines an event that sends clipboard data between peers.
64 message ClipboardEvent { 68 message ClipboardEvent {
65 69
66 // The MIME type of the data being sent. 70 // The MIME type of the data being sent.
67 optional string mime_type = 1; 71 optional string mime_type = 1;
68 72
69 // The data being sent. 73 // The data being sent.
70 optional bytes data = 2; 74 optional bytes data = 2;
71 } 75 }
OLDNEW
« remoting/client/plugin/pepper_input_handler.h ('K') | « remoting/host/input_injector_win.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698