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

Issue 2868383003: [CRD iOS] Send key events to the session. (Closed)

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

Description

[CRD iOS] Send key events to the session. This CL enables the iOS client to send key events (keyboard interactions) to the remote host. This is the first pass for milestone 1, with the goal of a rough session experience and a follow up CL will come at a later date to polish this. Review-Url: https://codereview.chromium.org/2868383003 Cr-Commit-Position: refs/heads/master@{#473677} Committed: https://chromium.googlesource.com/chromium/src/+/1e49b618d05df533363bf177dc99bd1da871f76d

Patch Set 1 #

Patch Set 2 : Adding new input classes. #

Patch Set 3 : Now sending keyboard events over the wire. #

Patch Set 4 : Merge with branch #

Patch Set 5 : Clean up old key input code. No longer used. #

Total comments: 15

Patch Set 6 : Updating based on feedback. #

Patch Set 7 : adding text_keyboard_input_strategy. #

Patch Set 8 : Merge branch 'keyboard_forward' into keyboard_forward_internals #

Patch Set 9 : Missed out on some blob to text renames. #

Patch Set 10 : Fixing logic based on feedback. #

Patch Set 11 : Adding backspace support to the keyboard. #

Total comments: 28

Patch Set 12 : Removing the simple keyboard, not needed. #

Total comments: 8

Patch Set 13 : Removing KeycodeWithModifier. Not used anymore. #

Patch Set 14 : Merge with master. #

Patch Set 15 : Fix the build from bad merge. #

Patch Set 16 : Merge with master #

Patch Set 17 : Add logging include for non-device include. #

Patch Set 18 : Removing upstream setting." #

Patch Set 19 : Adding the interface for ClientInputInjector, removing the direct link between client and client/in… #

Total comments: 8

Patch Set 20 : Fixing missing include. #

Patch Set 21 : Update based on feedback. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+294 lines, -732 lines) Patch
M remoting/client/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -0 lines 0 comments Download
M remoting/client/chromoting_session.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 3 chunks +6 lines, -5 lines 0 comments Download
A remoting/client/input/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +20 lines, -0 lines 0 comments Download
A remoting/client/input/client_input_injector.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +27 lines, -0 lines 0 comments Download
A remoting/client/input/keyboard_input_strategy.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +31 lines, -0 lines 0 comments Download
A remoting/client/input/keyboard_interpreter.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +37 lines, -0 lines 0 comments Download
A remoting/client/input/keyboard_interpreter.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +28 lines, -0 lines 0 comments Download
A remoting/client/input/text_keyboard_input_strategy.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +35 lines, -0 lines 0 comments Download
A remoting/client/input/text_keyboard_input_strategy.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +49 lines, -0 lines 0 comments Download
M remoting/client/native_device_keymap.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +3 lines, -0 lines 0 comments Download
M remoting/client/native_device_keymap_ios.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +3 lines, -205 lines 0 comments Download
M remoting/ios/BUILD.gn View 1 2 3 4 2 chunks +1 line, -6 lines 0 comments Download
M remoting/ios/app/BUILD.gn View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M remoting/ios/app/client_connection_view_controller.mm View 1 2 3 4 5 6 7 8 9 3 chunks +5 lines, -3 lines 0 comments Download
M remoting/ios/app/host_view_controller.mm View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 4 chunks +18 lines, -4 lines 0 comments Download
M remoting/ios/client_gestures.mm View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +0 lines, -1 line 0 comments Download
M remoting/ios/client_keyboard.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +8 lines, -0 lines 0 comments Download
M remoting/ios/client_keyboard.mm View 1 2 3 4 5 6 2 chunks +9 lines, -4 lines 0 comments Download
D remoting/ios/key_input.h View 1 2 3 4 1 chunk +0 lines, -39 lines 0 comments Download
D remoting/ios/key_input.mm View 1 2 3 4 1 chunk +0 lines, -150 lines 0 comments Download
D remoting/ios/key_input_unittest.mm View 1 2 3 4 1 chunk +0 lines, -150 lines 0 comments Download
D remoting/ios/key_map_us.h View 1 2 3 4 1 chunk +0 lines, -160 lines 0 comments Download
M remoting/ios/session/remoting_client.h View 1 2 2 chunks +5 lines, -2 lines 0 comments Download
M remoting/ios/session/remoting_client.mm View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 4 chunks +7 lines, -3 lines 0 comments Download

Messages

Total messages: 66 (47 generated)
nicholss
PTAL, thanks! https://codereview.chromium.org/2868383003/diff/80001/remoting/client/input/BUILD.gn File remoting/client/input/BUILD.gn (right): https://codereview.chromium.org/2868383003/diff/80001/remoting/client/input/BUILD.gn#newcode5 remoting/client/input/BUILD.gn:5: source_set("input") { Note we should start moving ...
3 years, 7 months ago (2017-05-12 18:54:16 UTC) #2
joedow
Added some drive-by comments. It would probably be good to have Gary take a look ...
3 years, 7 months ago (2017-05-12 19:13:18 UTC) #4
nicholss
OMG I just added the text keyboard and you can send emoji now. PTAL. https://codereview.chromium.org/2868383003/diff/80001/remoting/client/chromoting_session.cc ...
3 years, 7 months ago (2017-05-12 20:45:58 UTC) #5
Yuwei
Thanks for adding support for the poop emoji :) https://codereview.chromium.org/2868383003/diff/200001/remoting/client/chromoting_session.cc File remoting/client/chromoting_session.cc (right): https://codereview.chromium.org/2868383003/diff/200001/remoting/client/chromoting_session.cc#newcode208 remoting/client/chromoting_session.cc:208: ...
3 years, 7 months ago (2017-05-15 19:38:07 UTC) #6
Do not use (sergeyu)
This CL is rather big. Is it possible to split it into multiple CLs? E.g. ...
3 years, 7 months ago (2017-05-15 22:15:12 UTC) #8
nicholss
I have removed some things from this CL, I just don't need some of the ...
3 years, 7 months ago (2017-05-15 23:06:11 UTC) #9
Yuwei
https://codereview.chromium.org/2868383003/diff/200001/remoting/client/input/text_keyboard_input_strategy.cc File remoting/client/input/text_keyboard_input_strategy.cc (right): https://codereview.chromium.org/2868383003/diff/200001/remoting/client/input/text_keyboard_input_strategy.cc#newcode40 remoting/client/input/text_keyboard_input_strategy.cc:40: KeyEvent key_down; On 2017/05/15 23:06:11, nicholss wrote: > On ...
3 years, 7 months ago (2017-05-16 00:47:30 UTC) #10
nicholss
https://codereview.chromium.org/2868383003/diff/200001/remoting/client/input/text_keyboard_input_strategy.cc File remoting/client/input/text_keyboard_input_strategy.cc (right): https://codereview.chromium.org/2868383003/diff/200001/remoting/client/input/text_keyboard_input_strategy.cc#newcode40 remoting/client/input/text_keyboard_input_strategy.cc:40: KeyEvent key_down; On 2017/05/16 00:47:30, Yuwei wrote: > On ...
3 years, 7 months ago (2017-05-16 17:13:39 UTC) #11
Yuwei
LGTM for my concerns :) You may still want to resolve Sergey's feedback though: 1. ...
3 years, 7 months ago (2017-05-16 18:49:22 UTC) #12
nicholss
On 2017/05/16 18:49:22, Yuwei wrote: > LGTM for my concerns :) You may still want ...
3 years, 7 months ago (2017-05-16 21:30:43 UTC) #15
nicholss
https://codereview.chromium.org/2868383003/diff/200001/remoting/client/native_device_keymap_ios.cc File remoting/client/native_device_keymap_ios.cc (right): https://codereview.chromium.org/2868383003/diff/200001/remoting/client/native_device_keymap_ios.cc#newcode153 remoting/client/native_device_keymap_ios.cc:153: NOTIMPLEMENTED(); On 2017/05/15 19:38:07, Yuwei wrote: > input_stub_->SendKeyEvent(0, key.keycode, ...
3 years, 7 months ago (2017-05-16 21:45:06 UTC) #16
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/2868383003/240001
3 years, 7 months ago (2017-05-16 22:39:37 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/212485) ios-device-xcode-clang on master.tryserver.chromium.mac (JOB_FAILED, ...
3 years, 7 months ago (2017-05-16 22:47:04 UTC) #20
nicholss
PTAL for client_input_injector additions https://codereview.chromium.org/2868383003/diff/400001/remoting/client/input/client_input_injector.h File remoting/client/input/client_input_injector.h (right): https://codereview.chromium.org/2868383003/diff/400001/remoting/client/input/client_input_injector.h#newcode1 remoting/client/input/client_input_injector.h:1: // Copyright 2017 The Chromium ...
3 years, 7 months ago (2017-05-17 21:25:54 UTC) #51
Yuwei
LGTM with nit https://codereview.chromium.org/2868383003/diff/400001/remoting/client/input/client_input_injector.h File remoting/client/input/client_input_injector.h (right): https://codereview.chromium.org/2868383003/diff/400001/remoting/client/input/client_input_injector.h#newcode8 remoting/client/input/client_input_injector.h:8: #include <stdint.h> Remove stdint.h?
3 years, 7 months ago (2017-05-17 21:32:39 UTC) #52
Yuwei
https://codereview.chromium.org/2868383003/diff/400001/remoting/client/input/keyboard_interpreter.cc File remoting/client/input/keyboard_interpreter.cc (right): https://codereview.chromium.org/2868383003/diff/400001/remoting/client/input/keyboard_interpreter.cc#newcode8 remoting/client/input/keyboard_interpreter.cc:8: #include "remoting/client/input/client_input_injector.h" You probably don't need to include client_input_injector ...
3 years, 7 months ago (2017-05-17 21:41:20 UTC) #53
nicholss
Thanks! https://codereview.chromium.org/2868383003/diff/400001/remoting/client/input/keyboard_interpreter.cc File remoting/client/input/keyboard_interpreter.cc (right): https://codereview.chromium.org/2868383003/diff/400001/remoting/client/input/keyboard_interpreter.cc#newcode8 remoting/client/input/keyboard_interpreter.cc:8: #include "remoting/client/input/client_input_injector.h" On 2017/05/17 21:41:20, Yuwei wrote: > ...
3 years, 7 months ago (2017-05-22 18:52:45 UTC) #60
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/2868383003/440001
3 years, 7 months ago (2017-05-22 18:54:07 UTC) #63
commit-bot: I haz the power
3 years, 7 months ago (2017-05-22 20:31:06 UTC) #66
Message was sent while issue was closed.
Committed patchset #21 (id:440001) as
https://chromium.googlesource.com/chromium/src/+/1e49b618d05df533363bf177dc99...

Powered by Google App Engine
This is Rietveld 408576698