diff options
author | alexeypa@chromium.org <alexeypa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-09-09 22:26:45 +0000 |
---|---|---|
committer | alexeypa@chromium.org <alexeypa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-09-09 22:26:45 +0000 |
commit | f5a807ce21b3c21949bf3b5933a333e9c87ae70b (patch) | |
tree | 72154b620c34e5dca9f968d42fe2727dbc2dbbd2 /remoting/proto/event.proto | |
parent | dbb41dc852c5a2ec1f48e4f910b12efebfceb6cb (diff) | |
download | chromium_src-f5a807ce21b3c21949bf3b5933a333e9c87ae70b.zip chromium_src-f5a807ce21b3c21949bf3b5933a333e9c87ae70b.tar.gz chromium_src-f5a807ce21b3c21949bf3b5933a333e9c87ae70b.tar.bz2 |
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
Diffstat (limited to 'remoting/proto/event.proto')
-rw-r--r-- | remoting/proto/event.proto | 4 |
1 files changed, 4 insertions, 0 deletions
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. |