summaryrefslogtreecommitdiffstats
path: root/remoting/proto
diff options
context:
space:
mode:
authorjamiewalch@chromium.org <jamiewalch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-28 08:13:45 +0000
committerjamiewalch@chromium.org <jamiewalch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-28 08:13:45 +0000
commitedd04ee1466d77fed5e1cf0eb5f8e1b3cf180f94 (patch)
tree5701eab5a79fb276adfcf9090313774d44e44813 /remoting/proto
parent0c84e0cd974e88f5af6c1684d83541a278960e89 (diff)
downloadchromium_src-edd04ee1466d77fed5e1cf0eb5f8e1b3cf180f94.zip
chromium_src-edd04ee1466d77fed5e1cf0eb5f8e1b3cf180f94.tar.gz
chromium_src-edd04ee1466d77fed5e1cf0eb5f8e1b3cf180f94.tar.bz2
Accumulate wheel ticks client-side and prefer ticks to pixels when scrolling on Linux.
BUG=180715 Review URL: https://chromiumcodereview.appspot.com/20540003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@214096 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/proto')
-rw-r--r--remoting/proto/event.proto6
1 files changed, 4 insertions, 2 deletions
diff --git a/remoting/proto/event.proto b/remoting/proto/event.proto
index e5ec135..8f28f07 100644
--- a/remoting/proto/event.proto
+++ b/remoting/proto/event.proto
@@ -52,10 +52,12 @@ message MouseEvent {
optional bool button_down = 6;
// Mouse wheel information.
- // These values encode the number of pixels of movement that would result
- // from the wheel event on the client system.
+ // These values encode the number of pixels and 'ticks' of movement that
+ // would result from the wheel event on the client system.
optional float wheel_delta_x = 7;
optional float wheel_delta_y = 8;
+ optional float wheel_ticks_x = 9;
+ optional float wheel_ticks_y = 10;
}
// Defines an event that sends clipboard data between peers.