From f5a807ce21b3c21949bf3b5933a333e9c87ae70b Mon Sep 17 00:00:00 2001 From: "alexeypa@chromium.org" Date: Mon, 9 Sep 2013 22:26:45 +0000 Subject: Added support of relative mouse motion in Chromoting. This CL makes the client plugin treat a completely transparent mouse cursor as an indication that the host switched to relative mouse mode. If the browser rejects or cancels the mouse lock for any reason, the plugin sets the cursor to the standard arrow pointer until a new cursor is set by the host. The webapp has to send the 'allowMouseLock' message to enable this behavior. BUG=132613 Review URL: https://chromiumcodereview.appspot.com/23484015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@222110 0039d316-1c4b-4281-b951-d872f2087c98 --- remoting/proto/event.proto | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'remoting/proto') diff --git a/remoting/proto/event.proto b/remoting/proto/event.proto index 8f28f07..5c774b5 100644 --- a/remoting/proto/event.proto +++ b/remoting/proto/event.proto @@ -58,6 +58,10 @@ message MouseEvent { optional float wheel_delta_y = 8; optional float wheel_ticks_x = 9; optional float wheel_ticks_y = 10; + + // Mouse movement information. Provided only when mouse lock is engaged. + optional int32 delta_x = 11; + optional int32 delta_y = 12; } // Defines an event that sends clipboard data between peers. -- cgit v1.1