summaryrefslogtreecommitdiffstats
path: root/remoting/proto
diff options
context:
space:
mode:
authoralexeypa@chromium.org <alexeypa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-09-09 22:26:45 +0000
committeralexeypa@chromium.org <alexeypa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-09-09 22:26:45 +0000
commitf5a807ce21b3c21949bf3b5933a333e9c87ae70b (patch)
tree72154b620c34e5dca9f968d42fe2727dbc2dbbd2 /remoting/proto
parentdbb41dc852c5a2ec1f48e4f910b12efebfceb6cb (diff)
downloadchromium_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')
-rw-r--r--remoting/proto/event.proto4
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.