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

Issue 2879743002: [CRD iOS] Hook the touch input feedback (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] Hook the touch feedback animation and some refactoring This CL: 1. Refactors a RenderStub interface to be used by GestureInterpreter to control the renderer directly. 2. Hook the touch feedback animation to GestureInterpreter. 3. Redesign the cursor tracking of the InputStrategy a little bit. Simply let the InputStrategy itself to track the cursor position, which can simplify a few things. BUG=718704 Review-Url: https://codereview.chromium.org/2879743002 Cr-Commit-Position: refs/heads/master@{#472337} Committed: https://chromium.googlesource.com/chromium/src/+/7fbc8055f73d33056aafa74a39b8a0f3b5c99547

Patch Set 1 #

Patch Set 2 : WIP #

Patch Set 3 : Use the ui task poster #

Total comments: 8

Patch Set 4 : Resolve feedback #

Patch Set 5 : Just use ViewMatrix::Point. No more out-pointers... #

Total comments: 4

Patch Set 6 : Rebase w/ client/ui refactoring & Resolve feedback #

Patch Set 7 : Fix os Mac #

Patch Set 8 : Rebase #

Total comments: 2

Patch Set 9 : Fix NOTREACHED return #

Patch Set 10 : Fix dependency and race condition #

Unified diffs Side-by-side diffs Delta from patch set Stats (+312 lines, -87 lines) Patch
M remoting/client/ui/BUILD.gn View 1 2 3 4 5 6 7 8 9 1 chunk +6 lines, -0 lines 0 comments Download
M remoting/client/ui/direct_input_strategy.h View 1 2 3 4 5 1 chunk +10 lines, -9 lines 0 comments Download
M remoting/client/ui/direct_input_strategy.cc View 1 2 3 4 5 6 7 8 2 chunks +31 lines, -17 lines 0 comments Download
M remoting/client/ui/gesture_interpreter.h View 1 2 3 4 5 4 chunks +21 lines, -7 lines 0 comments Download
M remoting/client/ui/gesture_interpreter.cc View 1 2 3 4 5 5 chunks +60 lines, -17 lines 0 comments Download
M remoting/client/ui/input_strategy.h View 1 2 3 4 5 3 chunks +23 lines, -12 lines 0 comments Download
A remoting/client/ui/renderer_proxy.h View 1 2 3 4 5 6 1 chunk +56 lines, -0 lines 0 comments Download
A remoting/client/ui/renderer_proxy.cc View 1 2 3 4 5 6 1 chunk +70 lines, -0 lines 0 comments Download
M remoting/ios/display/gl_display_handler.h View 1 2 3 4 5 6 2 chunks +3 lines, -3 lines 0 comments Download
M remoting/ios/display/gl_display_handler.mm View 1 2 3 4 5 6 7 8 9 12 chunks +26 lines, -16 lines 0 comments Download
M remoting/ios/session/remoting_client.mm View 1 2 3 4 5 6 3 chunks +6 lines, -6 lines 0 comments Download

Messages

Total messages: 40 (23 generated)
Yuwei
PTAL thanks!
3 years, 7 months ago (2017-05-12 19:10:43 UTC) #6
nicholss
Rather than add the the new "render stub" can you think of a away to ...
3 years, 7 months ago (2017-05-12 21:42:41 UTC) #7
Yuwei
PTAL As discussed offline, the fact that: 1. GlRenderer still owns all the drawables, including ...
3 years, 7 months ago (2017-05-13 00:41:52 UTC) #9
Yuwei
*further discussions. But anyway O_o
3 years, 7 months ago (2017-05-13 00:43:15 UTC) #10
nicholss
Nits about the names of the interfaces. Will you be doing a followup to integrate ...
3 years, 7 months ago (2017-05-15 15:49:40 UTC) #12
Yuwei
I will eventually do a refactoring on GlRenderer for Android and iOS but I don't ...
3 years, 7 months ago (2017-05-15 18:38:29 UTC) #13
Yuwei
I'm just thinking maybe we should do refactoring right now, before checking in this code. ...
3 years, 7 months ago (2017-05-15 23:47:16 UTC) #16
nicholss
LGTM, nice refactoring. https://codereview.chromium.org/2879743002/diff/220001/remoting/client/ui/input_strategy.h File remoting/client/ui/input_strategy.h (right): https://codereview.chromium.org/2879743002/diff/220001/remoting/client/ui/input_strategy.h#newcode20 remoting/client/ui/input_strategy.h:20: LONG_PRESS_FEEDBACK, iOS will have force touch ...
3 years, 7 months ago (2017-05-16 18:17:24 UTC) #17
Yuwei
Thanks! I was talking about refactoring the GlRenderer. I took a look yesterday and realized ...
3 years, 7 months ago (2017-05-16 19:01:43 UTC) #18
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/2879743002/220001
3 years, 7 months ago (2017-05-16 19:03:33 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: ios-simulator on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-simulator/builds/216430)
3 years, 7 months ago (2017-05-16 19:11:51 UTC) #22
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/2879743002/220001
3 years, 7 months ago (2017-05-16 19:29:18 UTC) #24
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/2879743002/240001
3 years, 7 months ago (2017-05-16 19:51:05 UTC) #28
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/2879743002/280001
3 years, 7 months ago (2017-05-16 22:05:53 UTC) #33
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/456538)
3 years, 7 months ago (2017-05-16 23:30:23 UTC) #35
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/2879743002/280001
3 years, 7 months ago (2017-05-16 23:41:45 UTC) #37
commit-bot: I haz the power
3 years, 7 months ago (2017-05-17 05:24:10 UTC) #40
Message was sent while issue was closed.
Committed patchset #10 (id:280001) as
https://chromium.googlesource.com/chromium/src/+/7fbc8055f73d33056aafa74a39b8...

Powered by Google App Engine
This is Rietveld 408576698