From edd04ee1466d77fed5e1cf0eb5f8e1b3cf180f94 Mon Sep 17 00:00:00 2001 From: "jamiewalch@chromium.org" Date: Sun, 28 Jul 2013 08:13:45 +0000 Subject: 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 --- remoting/proto/event.proto | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'remoting/proto') 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. -- cgit v1.1