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

Issue 2862893003: [CRD iOS] Inject mouse events to the host (Closed)

Created:
3 years, 7 months ago by Yuwei
Modified:
3 years, 7 months ago
Reviewers:
nicholss
CC:
chromium-reviews, chromoting-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[CRD iOS] Inject mouse events to the host This CL adds functionality to inject these mouse events: * One-finger tap -> left click * Two-finger tap -> right click * Long-press -> Dragging in touch input mode. This CL also factors out an InputStrategy class from GestureInterpreter so that later we can easily introduce the trackpad input mode. BUG=718704 Review-Url: https://codereview.chromium.org/2862893003 Cr-Commit-Position: refs/heads/master@{#470171} Committed: https://chromium.googlesource.com/chromium/src/+/d980e96a774c7e8d82039e5ef371b6ac0cb33b5d

Patch Set 1 #

Patch Set 2 : basic functionality #

Patch Set 3 : Hook Right-click #

Patch Set 4 : Long press #

Patch Set 5 #

Patch Set 6 : Factor out the input strategy #

Patch Set 7 : Hook up the long-press gesture #

Patch Set 8 : WIP #

Patch Set 9 : WIP #

Patch Set 10 : Fix #

Total comments: 5

Patch Set 11 : Resolve Feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+262 lines, -46 lines) Patch
M remoting/client/BUILD.gn View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -0 lines 0 comments Download
M remoting/client/desktop_viewport.h View 1 2 3 4 5 6 7 8 9 10 3 chunks +7 lines, -1 line 0 comments Download
M remoting/client/desktop_viewport.cc View 1 2 3 4 5 6 7 8 9 10 4 chunks +13 lines, -5 lines 0 comments Download
A remoting/client/direct_input_strategy.h View 1 2 3 4 5 6 7 8 9 1 chunk +47 lines, -0 lines 0 comments Download
A remoting/client/direct_input_strategy.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +54 lines, -0 lines 0 comments Download
M remoting/client/gesture_interpreter.h View 1 2 3 4 5 1 chunk +22 lines, -2 lines 0 comments Download
M remoting/client/gesture_interpreter.cc View 1 2 3 4 5 6 7 1 chunk +38 lines, -9 lines 0 comments Download
A remoting/client/input_strategy.h View 1 2 3 4 5 6 7 8 9 1 chunk +51 lines, -0 lines 0 comments Download
M remoting/client/ios/client_gestures.mm View 1 2 3 4 5 6 3 chunks +18 lines, -18 lines 0 comments Download
M remoting/client/ios/session/remoting_client.mm View 1 2 chunks +10 lines, -11 lines 0 comments Download

Messages

Total messages: 17 (10 generated)
Yuwei
PTAL thanks! https://codereview.chromium.org/2862893003/diff/180001/remoting/client/ios/session/remoting_client.mm File remoting/client/ios/session/remoting_client.mm (right): https://codereview.chromium.org/2862893003/diff/180001/remoting/client/ios/session/remoting_client.mm#newcode118 remoting/client/ios/session/remoting_client.mm:118: _session.reset(new remoting::ChromotingSession( It looks like connectToHost is ...
3 years, 7 months ago (2017-05-05 05:28:03 UTC) #2
nicholss
LGTM, I have a comment on refactoring a function name to be more readable but ...
3 years, 7 months ago (2017-05-08 15:34:18 UTC) #4
Yuwei
Thanks! Checking-in https://codereview.chromium.org/2862893003/diff/180001/remoting/client/desktop_viewport.h File remoting/client/desktop_viewport.h (right): https://codereview.chromium.org/2862893003/diff/180001/remoting/client/desktop_viewport.h#newcode52 remoting/client/desktop_viewport.h:52: void MoveViewportCenter(float dx, float dy); On 2017/05/08 ...
3 years, 7 months ago (2017-05-08 20:45:26 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2862893003/200001
3 years, 7 months ago (2017-05-08 20:46:13 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2862893003/200001
3 years, 7 months ago (2017-05-09 00:07:16 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2862893003/200001
3 years, 7 months ago (2017-05-09 01:19:52 UTC) #14
commit-bot: I haz the power
3 years, 7 months ago (2017-05-09 03:53:27 UTC) #17
Message was sent while issue was closed.
Committed patchset #11 (id:200001) as
https://chromium.googlesource.com/chromium/src/+/d980e96a774c7e8d82039e5ef371...

Powered by Google App Engine
This is Rietveld 408576698