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

Issue 2843213002: When receiving a key event on Windows, set host lock state to match client's (Closed)

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

Description

When receiving a key event on Windows, set host lock state to match client's BUG=176436 Review-Url: https://codereview.chromium.org/2843213002 Cr-Commit-Position: refs/heads/master@{#468442} Committed: https://chromium.googlesource.com/chromium/src/+/cdd685a13fa2abf0fee9f2041cffcccaaf3477e4

Patch Set 1 #

Total comments: 1

Patch Set 2 : Don't try to toggle lock states if current keypres is a lock key. #

Total comments: 14

Patch Set 3 : Address feedback #

Total comments: 4

Patch Set 4 : Fix C4800 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -0 lines) Patch
M remoting/host/input_injector_win.cc View 1 2 3 3 chunks +42 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (14 generated)
rkjnsn
Joe, Can you you review (and possibly test) these changes? Thanks. https://codereview.chromium.org/2843213002/diff/1/remoting/host/input_injector_win.cc File remoting/host/input_injector_win.cc (right): ...
3 years, 8 months ago (2017-04-26 23:12:21 UTC) #6
joedow
The second iteration doesn't build as 'IsLockKey()' is marked void but returns a value. I ...
3 years, 7 months ago (2017-04-27 19:02:25 UTC) #7
Jamie
LGTM with nits. I think it's fine to wait until this lands before testing the ...
3 years, 7 months ago (2017-04-27 19:06:32 UTC) #9
joedow
It doesn't look like the lock states are properly managed so I think we should ...
3 years, 7 months ago (2017-04-27 19:43:43 UTC) #10
rkjnsn
https://codereview.chromium.org/2843213002/diff/20001/remoting/host/input_injector_win.cc File remoting/host/input_injector_win.cc (right): https://codereview.chromium.org/2843213002/diff/20001/remoting/host/input_injector_win.cc#newcode202 remoting/host/input_injector_win.cc:202: // Check if the given scan code is caps ...
3 years, 7 months ago (2017-04-28 17:06:27 UTC) #11
joedow
https://codereview.chromium.org/2843213002/diff/20001/remoting/host/input_injector_win.cc File remoting/host/input_injector_win.cc (right): https://codereview.chromium.org/2843213002/diff/20001/remoting/host/input_injector_win.cc#newcode404 remoting/host/input_injector_win.cc:404: INPUT input[2]; On 2017/04/28 17:06:27, rkjnsn wrote: > On ...
3 years, 7 months ago (2017-04-28 17:16:26 UTC) #12
rkjnsn
Uploaded updated version. Don't know if it works, but it should compile. https://codereview.chromium.org/2843213002/diff/20001/remoting/host/input_injector_win.cc File remoting/host/input_injector_win.cc ...
3 years, 7 months ago (2017-04-28 17:33:13 UTC) #13
joedow
lgtm This iteration works great (once the build failures were fixed). https://codereview.chromium.org/2843213002/diff/20002/remoting/host/input_injector_win.cc File remoting/host/input_injector_win.cc (right): ...
3 years, 7 months ago (2017-05-01 15:14:28 UTC) #14
rkjnsn
Fixed. https://codereview.chromium.org/2843213002/diff/20002/remoting/host/input_injector_win.cc File remoting/host/input_injector_win.cc (right): https://codereview.chromium.org/2843213002/diff/20002/remoting/host/input_injector_win.cc#newcode411 remoting/host/input_injector_win.cc:411: states & protocol::KeyEvent::LOCK_STATES_CAPSLOCK; On 2017/05/01 15:14:28, joedow wrote: ...
3 years, 7 months ago (2017-05-01 17:46:27 UTC) #15
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/2843213002/50001
3 years, 7 months ago (2017-05-01 22:00:25 UTC) #22
commit-bot: I haz the power
3 years, 7 months ago (2017-05-01 22:07:47 UTC) #25
Message was sent while issue was closed.
Committed patchset #4 (id:50001) as
https://chromium.googlesource.com/chromium/src/+/cdd685a13fa2abf0fee9f2041cff...

Powered by Google App Engine
This is Rietveld 408576698