Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(37)

Issue 6697024: client-side wheel mouse support (Closed)

Created:
9 years, 9 months ago by garykac
Modified:
9 years, 2 months ago
CC:
chromium-reviews, jamiewalch+watch_chromium.org, hclam+watch_chromium.org, simonmorris+watch_chromium.org, wez+watch_chromium.org, dmaclach+watch_chromium.org, garykac+watch_chromium.org, lambroslambrou+watch_chromium.org, ajwong+watch_chromium.org, sergeyu+watch_chromium.org
Visibility:
Public.

Description

client-side wheel mouse support BUG=none TEST=manual Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=105774

Patch Set 1 #

Total comments: 6

Patch Set 2 : remove unneeded fields #

Patch Set 3 : static_cast for float -> int #

Patch Set 4 : sync/merge #

Patch Set 5 : use floats for wheel #

Patch Set 6 : linux host support #

Patch Set 7 : cleanup + merge win changes #

Patch Set 8 : remove include; add loop for linux #

Patch Set 9 : remove unused usings #

Total comments: 18

Patch Set 10 : acculumate subticks #

Total comments: 5
Unified diffs Side-by-side diffs Delta from patch set Stats (+73 lines, -16 lines) Patch
M remoting/client/input_handler.h View 1 2 3 5 1 chunk +1 line, -0 lines 0 comments Download
M remoting/client/input_handler.cc View 1 2 3 4 5 6 1 chunk +10 lines, -0 lines 0 comments Download
M remoting/client/plugin/chromoting_instance.cc View 1 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download
M remoting/client/plugin/pepper_input_handler.h View 1 2 3 4 5 6 7 8 9 2 chunks +4 lines, -5 lines 1 comment Download
M remoting/client/plugin/pepper_input_handler.cc View 1 2 3 4 5 6 7 8 9 2 chunks +17 lines, -4 lines 2 comments Download
M remoting/host/event_executor_linux.cc View 1 2 3 4 5 6 7 8 9 5 chunks +31 lines, -4 lines 2 comments Download
M remoting/host/event_executor_win.cc View 1 2 3 4 5 6 7 1 chunk +2 lines, -2 lines 0 comments Download
M remoting/proto/event.proto View 1 2 3 4 5 6 7 8 9 2 chunks +3 lines, -1 line 0 comments Download

Messages

Total messages: 25 (0 generated)
garykac
9 years, 9 months ago (2011-03-15 19:50:27 UTC) #1
Wez
LGTM for the most part, but two points on the design: - It's not clear ...
9 years, 9 months ago (2011-03-16 11:40:40 UTC) #2
Jamie
Drive-by questions to clarify a couple of points. http://codereview.chromium.org/6697024/diff/1/remoting/proto/event.proto File remoting/proto/event.proto (right): http://codereview.chromium.org/6697024/diff/1/remoting/proto/event.proto#newcode36 remoting/proto/event.proto:36: // ...
9 years, 9 months ago (2011-03-16 11:59:29 UTC) #3
garykac
http://codereview.chromium.org/6697024/diff/1/remoting/client/input_handler.cc File remoting/client/input_handler.cc (right): http://codereview.chromium.org/6697024/diff/1/remoting/client/input_handler.cc#newcode69 remoting/client/input_handler.cc:69: stub->InjectMouseEvent(event, new DeleteTask<MouseEvent>(event)); On 2011/03/16 11:40:40, Wez wrote: > ...
9 years, 9 months ago (2011-03-16 20:43:43 UTC) #4
Wez
On 2011/03/16 20:43:43, garykac wrote: > > Niggle: I'm not keen on "InjectXXX" as client-side ...
9 years, 9 months ago (2011-03-16 20:51:58 UTC) #5
garykac
Much simpler than earlier incarnations. This CL includes support for both Linux and Windows. Mac ...
9 years, 2 months ago (2011-10-12 23:22:53 UTC) #6
Wez
LGTM, assuming that this code has been verified to work, but see comments. :) http://codereview.chromium.org/6697024/diff/24001/remoting/client/input_handler.h ...
9 years, 2 months ago (2011-10-13 00:38:01 UTC) #7
Lambros
http://codereview.chromium.org/6697024/diff/24001/remoting/host/event_executor_linux.cc File remoting/host/event_executor_linux.cc (right): http://codereview.chromium.org/6697024/diff/24001/remoting/host/event_executor_linux.cc#newcode73 remoting/host/event_executor_linux.cc:73: // wheel up (button 5). Is this comment the ...
9 years, 2 months ago (2011-10-13 00:41:13 UTC) #8
Lambros
http://codereview.chromium.org/6697024/diff/24001/remoting/host/event_executor_linux.cc File remoting/host/event_executor_linux.cc (right): http://codereview.chromium.org/6697024/diff/24001/remoting/host/event_executor_linux.cc#newcode71 remoting/host/event_executor_linux.cc:71: int VerticalScrollWheelToX11ButtonNumber(int dy) { Personally, I like "dy", but ...
9 years, 2 months ago (2011-10-13 00:56:06 UTC) #9
Lambros
LGTM, as long as you verify the comment about wheel-down/up is the right way round. ...
9 years, 2 months ago (2011-10-13 01:10:22 UTC) #10
Wez
http://codereview.chromium.org/6697024/diff/24001/remoting/client/plugin/pepper_input_handler.cc File remoting/client/plugin/pepper_input_handler.cc (right): http://codereview.chromium.org/6697024/diff/24001/remoting/client/plugin/pepper_input_handler.cc#newcode81 remoting/client/plugin/pepper_input_handler.cc:81: SendMouseWheelEvent(static_cast<int>(ticks.x()), On 2011/10/13 01:10:23, Lambros wrote: > I'm curious ...
9 years, 2 months ago (2011-10-13 01:20:05 UTC) #11
Wez
On 2011/10/13 01:20:05, Wez wrote: > http://codereview.chromium.org/6697024/diff/24001/remoting/client/plugin/pepper_input_handler.cc > File remoting/client/plugin/pepper_input_handler.cc (right): > > http://codereview.chromium.org/6697024/diff/24001/remoting/client/plugin/pepper_input_handler.cc#newcode81 > ...
9 years, 2 months ago (2011-10-13 01:21:04 UTC) #12
garykac
On 2011/10/13 01:21:04, Wez wrote: > Also, according to the documentation for GetDelta, it sounds ...
9 years, 2 months ago (2011-10-13 21:10:05 UTC) #13
Wez
On 2011/10/13 21:10:05, garykac wrote: > On 2011/10/13 01:21:04, Wez wrote: > > Also, according ...
9 years, 2 months ago (2011-10-13 21:15:31 UTC) #14
garykac
http://codereview.chromium.org/6697024/diff/24001/remoting/client/input_handler.h File remoting/client/input_handler.h (right): http://codereview.chromium.org/6697024/diff/24001/remoting/client/input_handler.h#newcode39 remoting/client/input_handler.h:39: void SendMouseWheelEvent(int dx, int dy); On 2011/10/13 00:38:01, Wez ...
9 years, 2 months ago (2011-10-13 21:18:53 UTC) #15
garykac
On 2011/10/13 21:18:53, garykac wrote: > http://codereview.chromium.org/6697024/diff/24001/remoting/client/input_handler.h > File remoting/client/input_handler.h (right): > > http://codereview.chromium.org/6697024/diff/24001/remoting/client/input_handler.h#newcode39 > ...
9 years, 2 months ago (2011-10-14 19:30:01 UTC) #16
Lambros
http://codereview.chromium.org/6697024/diff/35001/remoting/client/plugin/pepper_input_handler.cc File remoting/client/plugin/pepper_input_handler.cc (right): http://codereview.chromium.org/6697024/diff/35001/remoting/client/plugin/pepper_input_handler.cc#newcode82 remoting/client/plugin/pepper_input_handler.cc:82: pp::FloatPoint ticks = event.GetTicks(); Can GetTicks() be negative? You ...
9 years, 2 months ago (2011-10-14 21:00:25 UTC) #17
Lambros
http://codereview.chromium.org/6697024/diff/35001/remoting/client/plugin/pepper_input_handler.cc File remoting/client/plugin/pepper_input_handler.cc (right): http://codereview.chromium.org/6697024/diff/35001/remoting/client/plugin/pepper_input_handler.cc#newcode82 remoting/client/plugin/pepper_input_handler.cc:82: pp::FloatPoint ticks = event.GetTicks(); Sorry, ignore my comment. static_cast<int> ...
9 years, 2 months ago (2011-10-14 21:08:45 UTC) #18
Lambros
lgtm
9 years, 2 months ago (2011-10-14 21:14:00 UTC) #19
Wez
LGTM, but please see my comment below, and Lambros' abs() comment. http://codereview.chromium.org/6697024/diff/35001/remoting/host/event_executor_linux.cc File remoting/host/event_executor_linux.cc (right): ...
9 years, 2 months ago (2011-10-14 21:42:54 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/garykac@chromium.org/6697024/35001
9 years, 2 months ago (2011-10-14 21:50:34 UTC) #21
garykac
On 2011/10/14 21:42:54, Wez wrote: > LGTM, but please see my comment below, and Lambros' ...
9 years, 2 months ago (2011-10-14 21:53:21 UTC) #22
commit-bot: I haz the power
The commit queue went berserk retrying too often for a seemingly flaky test. Builder is ...
9 years, 2 months ago (2011-10-15 04:29:59 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/garykac@chromium.org/6697024/35001
9 years, 2 months ago (2011-10-17 04:42:10 UTC) #24
commit-bot: I haz the power
9 years, 2 months ago (2011-10-17 06:37:26 UTC) #25
Change committed as 105774

Powered by Google App Engine
This is Rietveld 408576698