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

Issue 23484015: Added support of relative mouse motion in Chromoting. (Closed)

Created:
7 years, 3 months ago by alexeypa (please no reviews)
Modified:
7 years, 3 months ago
Reviewers:
Wez
CC:
chromium-reviews, jamiewalch+watch_chromium.org, dcaiafa+watch_chromium.org, hclam+watch_chromium.org, wez+watch_chromium.org, amit, sanjeevr, garykac+watch_chromium.org, lambroslambrou+watch_chromium.org, rmsousa+watch_chromium.org, weitaosu+watch_chromium.org, alexeypa+watch_chromium.org, sergeyu+watch_chromium.org
Visibility:
Public.

Description

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 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=222110

Patch Set 1 #

Total comments: 58

Patch Set 2 : feedback #

Total comments: 2

Patch Set 3 : CR feedback and rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+295 lines, -50 lines) Patch
M remoting/client/plugin/chromoting_instance.h View 1 2 chunks +2 lines, -0 lines 0 comments Download
M remoting/client/plugin/chromoting_instance.cc View 1 10 chunks +74 lines, -38 lines 0 comments Download
M remoting/client/plugin/pepper_input_handler.h View 1 2 2 chunks +62 lines, -2 lines 0 comments Download
M remoting/client/plugin/pepper_input_handler.cc View 1 3 chunks +130 lines, -2 lines 0 comments Download
M remoting/host/input_injector_linux.cc View 1 1 chunk +10 lines, -1 line 0 comments Download
M remoting/host/input_injector_win.cc View 1 chunk +13 lines, -7 lines 0 comments Download
M remoting/proto/event.proto View 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
alexeypa (please no reviews)
PTAL.
7 years, 3 months ago (2013-09-05 19:32:14 UTC) #1
Wez
On 2013/09/05 19:32:14, alexeypa wrote: > PTAL. FYI, updated CL description a little.
7 years, 3 months ago (2013-09-05 19:37:41 UTC) #2
Wez
https://codereview.chromium.org/23484015/diff/1/remoting/client/plugin/chromoting_instance.cc File remoting/client/plugin/chromoting_instance.cc (right): https://codereview.chromium.org/23484015/diff/1/remoting/client/plugin/chromoting_instance.cc#newcode135 remoting/client/plugin/chromoting_instance.cc:135: // Returns true |pixel| is not completely transparent. nit: ...
7 years, 3 months ago (2013-09-05 20:24:45 UTC) #3
Wez
https://codereview.chromium.org/23484015/diff/1/remoting/client/plugin/chromoting_instance.h File remoting/client/plugin/chromoting_instance.h (right): https://codereview.chromium.org/23484015/diff/1/remoting/client/plugin/chromoting_instance.h#newcode74 remoting/client/plugin/chromoting_instance.h:74: public pp::MouseLock { Have you considered having PepperInputHandler derive ...
7 years, 3 months ago (2013-09-05 21:19:38 UTC) #4
alexeypa (please no reviews)
PTAL https://chromiumcodereview.appspot.com/23484015/diff/1/remoting/client/plugin/chromoting_instance.cc File remoting/client/plugin/chromoting_instance.cc (right): https://chromiumcodereview.appspot.com/23484015/diff/1/remoting/client/plugin/chromoting_instance.cc#newcode135 remoting/client/plugin/chromoting_instance.cc:135: // Returns true |pixel| is not completely transparent. ...
7 years, 3 months ago (2013-09-06 20:00:17 UTC) #5
Wez
lgtm https://chromiumcodereview.appspot.com/23484015/diff/15001/remoting/client/plugin/pepper_input_handler.h File remoting/client/plugin/pepper_input_handler.h (right): https://chromiumcodereview.appspot.com/23484015/diff/15001/remoting/client/plugin/pepper_input_handler.h#newcode81 remoting/client/plugin/pepper_input_handler.h:81: enum MouseLockState { nit: This belongs at the ...
7 years, 3 months ago (2013-09-07 01:11:24 UTC) #6
alexeypa (please no reviews)
https://chromiumcodereview.appspot.com/23484015/diff/15001/remoting/client/plugin/pepper_input_handler.h File remoting/client/plugin/pepper_input_handler.h (right): https://chromiumcodereview.appspot.com/23484015/diff/15001/remoting/client/plugin/pepper_input_handler.h#newcode81 remoting/client/plugin/pepper_input_handler.h:81: enum MouseLockState { On 2013/09/07 01:11:25, Wez wrote: > ...
7 years, 3 months ago (2013-09-09 18:29:46 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/alexeypa@chromium.org/23484015/28001
7 years, 3 months ago (2013-09-09 18:30:21 UTC) #8
commit-bot: I haz the power
7 years, 3 months ago (2013-09-09 22:26:50 UTC) #9
Message was sent while issue was closed.
Change committed as 222110

Powered by Google App Engine
This is Rietveld 408576698