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

Issue 1416233002: Add NormalizingInputFilterWin to un-pick AltGr sequences. (Closed)

Created:
5 years, 2 months ago by Wez
Modified:
5 years, 1 month ago
Reviewers:
Sergey Ulanov, Jamie
CC:
chromium-reviews, chromoting-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add NormalizingInputFilterWin to un-pick AltGr sequences. Windows treats international keyboard layouts' AltGr modifier as a combination of left-Control and right-Alt modifiers, whereas the Chromoting protocol, and other platforms, treat AltGr as equivalent to right-Alt and handle the Alt/AltGr as part of the layout-specific meaning of the key. NormalizingInputFilterWin holds each keydown event for the left-Control key until the next input event (e.g. left-Control repeat, another key event, mouse event, etc) so that it can suppress it if the next event is a keydown for right-Alt, on the assumption that that indicates an AltGr sequence. BUG=470571 Committed: https://crrev.com/ae3b75a1cd6d47607a789b5d0adba80f8fc3ebe4 Cr-Commit-Position: refs/heads/master@{#355881}

Patch Set 1 #

Patch Set 2 : Fix NaCl #

Total comments: 11

Patch Set 3 : Address review comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+395 lines, -1 line) Patch
A remoting/client/normalizing_input_filter_win.h View 1 2 1 chunk +60 lines, -0 lines 0 comments Download
A remoting/client/normalizing_input_filter_win.cc View 1 2 1 chunk +106 lines, -0 lines 0 comments Download
A remoting/client/normalizing_input_filter_win_unittest.cc View 1 2 1 chunk +218 lines, -0 lines 0 comments Download
M remoting/client/plugin/chromoting_instance.cc View 2 chunks +4 lines, -0 lines 0 comments Download
M remoting/remoting_nacl.gyp View 1 1 chunk +2 lines, -1 line 0 comments Download
M remoting/remoting_srcs.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
M remoting/remoting_test.gypi View 1 chunk +1 line, -0 lines 0 comments Download
M remoting/webapp/base/js/client_plugin_impl.js View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (5 generated)
Wez
PTAL
5 years, 2 months ago (2015-10-22 04:52:15 UTC) #2
Wez
5 years, 1 month ago (2015-10-22 23:37:18 UTC) #4
Sergey Ulanov
https://codereview.chromium.org/1416233002/diff/20001/remoting/client/normalizing_input_filter_win.cc File remoting/client/normalizing_input_filter_win.cc (right): https://codereview.chromium.org/1416233002/diff/20001/remoting/client/normalizing_input_filter_win.cc#newcode13 remoting/client/normalizing_input_filter_win.cc:13: const unsigned int kUsbLeftControl = 0x0700e0; You can include ...
5 years, 1 month ago (2015-10-23 00:12:53 UTC) #5
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1416233002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1416233002/40001
5 years, 1 month ago (2015-10-23 01:20:07 UTC) #7
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 1 month ago (2015-10-23 02:03:06 UTC) #9
Wez
https://codereview.chromium.org/1416233002/diff/20001/remoting/client/normalizing_input_filter_win.cc File remoting/client/normalizing_input_filter_win.cc (right): https://codereview.chromium.org/1416233002/diff/20001/remoting/client/normalizing_input_filter_win.cc#newcode13 remoting/client/normalizing_input_filter_win.cc:13: const unsigned int kUsbLeftControl = 0x0700e0; On 2015/10/23 at ...
5 years, 1 month ago (2015-10-23 20:03:26 UTC) #10
Sergey Ulanov
lgtm https://codereview.chromium.org/1416233002/diff/20001/remoting/client/normalizing_input_filter_win.cc File remoting/client/normalizing_input_filter_win.cc (right): https://codereview.chromium.org/1416233002/diff/20001/remoting/client/normalizing_input_filter_win.cc#newcode32 remoting/client/normalizing_input_filter_win.cc:32: ProcessKeyDown(event); On 2015/10/23 20:03:26, Wez wrote: > On ...
5 years, 1 month ago (2015-10-23 20:46:56 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1416233002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1416233002/40001
5 years, 1 month ago (2015-10-23 20:58:33 UTC) #13
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 1 month ago (2015-10-23 21:07:13 UTC) #14
commit-bot: I haz the power
5 years, 1 month ago (2015-10-23 21:08:25 UTC) #15
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/ae3b75a1cd6d47607a789b5d0adba80f8fc3ebe4
Cr-Commit-Position: refs/heads/master@{#355881}

Powered by Google App Engine
This is Rietveld 408576698