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

Issue 2856933007: [Remoting iOS] Basic viewport manipulation support (Closed)

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

Description

[Remoting iOS] Basic viewport manipulation support This CL adds some basic zoom and pan support (touch input mode only for now) for the iOS client. This is minimum code to make use of DesktopViewport. The client gesture stuff may still need more refactoring or redesign to support trackpad input mode, deceleration animation, etc. BUG=714193 Review-Url: https://codereview.chromium.org/2856933007 Cr-Commit-Position: refs/heads/master@{#469414} Committed: https://chromium.googlesource.com/chromium/src/+/a4d96d0d8bdcc688451ad0376a7304df5b41904a

Patch Set 1 #

Patch Set 2 : break strong reference loops using __weak #

Total comments: 10

Patch Set 3 : Resolve Feedbacks #

Total comments: 20

Patch Set 4 : Resolve Feedback #

Patch Set 5 : Move the delegate getter/setting to the bottom #

Unified diffs Side-by-side diffs Delta from patch set Stats (+239 lines, -31 lines) Patch
M remoting/client/BUILD.gn View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
A remoting/client/gesture_interpreter.h View 1 2 1 chunk +38 lines, -0 lines 0 comments Download
A remoting/client/gesture_interpreter.cc View 1 2 1 chunk +45 lines, -0 lines 0 comments Download
M remoting/client/ios/app/host_view_controller.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M remoting/client/ios/app/host_view_controller.mm View 1 2 3 2 chunks +15 lines, -5 lines 0 comments Download
M remoting/client/ios/client_gestures.h View 1 2 2 chunks +6 lines, -1 line 0 comments Download
M remoting/client/ios/client_gestures.mm View 1 2 3 3 chunks +25 lines, -6 lines 0 comments Download
M remoting/client/ios/display/gl_display_handler.h View 1 2 3 3 chunks +17 lines, -0 lines 0 comments Download
M remoting/client/ios/display/gl_display_handler.mm View 1 2 3 4 11 chunks +45 lines, -18 lines 0 comments Download
M remoting/client/ios/session/remoting_client.h View 1 2 3 3 chunks +16 lines, -1 line 0 comments Download
M remoting/client/ios/session/remoting_client.mm View 1 2 3 6 chunks +28 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (8 generated)
Yuwei
PTAL Thanks! Note that zooming is broken (pivot point shifts off the actual center of ...
3 years, 7 months ago (2017-05-03 05:52:35 UTC) #2
nicholss
I think we need to do a breakout session and talk about what the vision ...
3 years, 7 months ago (2017-05-03 15:33:50 UTC) #3
Yuwei
PTAL. Thanks! https://codereview.chromium.org/2856933007/diff/20001/remoting/client/ios/app/host_view_controller.mm File remoting/client/ios/app/host_view_controller.mm (right): https://codereview.chromium.org/2856933007/diff/20001/remoting/client/ios/app/host_view_controller.mm#newcode87 remoting/client/ios/app/host_view_controller.mm:87: _viewport.reset(new remoting::DesktopViewport()); On 2017/05/03 15:33:50, nicholss wrote: ...
3 years, 7 months ago (2017-05-03 22:28:37 UTC) #4
nicholss
Looking closer! Few comments and questions https://codereview.chromium.org/2856933007/diff/40001/remoting/client/ios/app/host_view_controller.mm File remoting/client/ios/app/host_view_controller.mm (right): https://codereview.chromium.org/2856933007/diff/40001/remoting/client/ios/app/host_view_controller.mm#newcode102 remoting/client/ios/app/host_view_controller.mm:102: [_client.displayHandler onSurfaceChanged:surfaceFrame]; Maybe ...
3 years, 7 months ago (2017-05-03 22:47:35 UTC) #5
Yuwei
PTAL Thanks! https://codereview.chromium.org/2856933007/diff/40001/remoting/client/ios/app/host_view_controller.mm File remoting/client/ios/app/host_view_controller.mm (right): https://codereview.chromium.org/2856933007/diff/40001/remoting/client/ios/app/host_view_controller.mm#newcode102 remoting/client/ios/app/host_view_controller.mm:102: [_client.displayHandler onSurfaceChanged:surfaceFrame]; On 2017/05/03 22:47:35, nicholss wrote: ...
3 years, 7 months ago (2017-05-04 00:28:07 UTC) #6
nicholss
Thanks for the work! LGTM
3 years, 7 months ago (2017-05-04 18:34:59 UTC) #11
Yuwei
On 2017/05/04 18:34:59, nicholss wrote: > Thanks for the work! LGTM Checking in. Thanks!
3 years, 7 months ago (2017-05-04 19:00:33 UTC) #12
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/2856933007/80001
3 years, 7 months ago (2017-05-04 19:01:18 UTC) #14
commit-bot: I haz the power
3 years, 7 months ago (2017-05-04 19:09:03 UTC) #17
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/a4d96d0d8bdcc688451ad0376a73...

Powered by Google App Engine
This is Rietveld 408576698