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

Issue 2630213003: Return AltGraph for right-Alt keydown/keyup, under layouts which use AltGraph. (Closed)

Created:
3 years, 11 months ago by Wez
Modified:
3 years, 11 months ago
Reviewers:
chongz, garykac
CC:
chromium-reviews, tdresser+watch_chromium.org, dtapuska
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Return AltGraph for right-Alt keydown/keyup, under layouts which use AltGraph. W3C UI Events defines the "AltGraph" value for KeyboardEvent.key, to express the meaning of the right-Alt key (i.e. KeyboardEvent.code=AltRight) under layouts which use ISO Level 3 Shift to generate some characters (e.g. en-UK, fr-FR, etc). This patch fixes Chrome to generate AltGraph under such layouts, where previously it would have generated events with key=Alt. BUG=681363 Review-Url: https://codereview.chromium.org/2630213003 Cr-Commit-Position: refs/heads/master@{#444516} Committed: https://chromium.googlesource.com/chromium/src/+/22d68c2c24b7c8a4d65802d2b385d09d50e575c9

Patch Set 1 #

Total comments: 2

Patch Set 2 : Add comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -0 lines) Patch
M ui/events/keycodes/platform_key_map_win.h View 1 chunk +3 lines, -0 lines 0 comments Download
M ui/events/keycodes/platform_key_map_win.cc View 1 3 chunks +12 lines, -0 lines 0 comments Download
M ui/events/keycodes/platform_key_map_win_unittest.cc View 1 chunk +17 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (10 generated)
Wez
chongz: Please review the PlatformKeyMap changes. garykac: This fixes Chrome to generate keydown/keyup AltGraph events ...
3 years, 11 months ago (2017-01-17 03:30:11 UTC) #6
chongz
On 2017/01/17 03:30:11, Wez wrote: > chongz: Please review the PlatformKeyMap changes. Thanks for the ...
3 years, 11 months ago (2017-01-17 15:29:46 UTC) #7
Wez
On 2017/01/17 15:29:46, chongz wrote: > On 2017/01/17 03:30:11, Wez wrote: > > chongz: Please ...
3 years, 11 months ago (2017-01-17 18:16:27 UTC) #8
garykac
lgtm https://codereview.chromium.org/2630213003/diff/1/ui/events/keycodes/platform_key_map_win.cc File ui/events/keycodes/platform_key_map_win.cc (right): https://codereview.chromium.org/2630213003/diff/1/ui/events/keycodes/platform_key_map_win.cc#newcode290 ui/events/keycodes/platform_key_map_win.cc:290: if (key == DomKey::ALT && (flags & EF_IS_EXTENDED_KEY) ...
3 years, 11 months ago (2017-01-18 15:55:29 UTC) #9
Wez
FYI https://codereview.chromium.org/2630213003/diff/1/ui/events/keycodes/platform_key_map_win.cc File ui/events/keycodes/platform_key_map_win.cc (right): https://codereview.chromium.org/2630213003/diff/1/ui/events/keycodes/platform_key_map_win.cc#newcode290 ui/events/keycodes/platform_key_map_win.cc:290: if (key == DomKey::ALT && (flags & EF_IS_EXTENDED_KEY) ...
3 years, 11 months ago (2017-01-18 21:36:35 UTC) #11
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/2630213003/20001
3 years, 11 months ago (2017-01-18 21:37:10 UTC) #14
commit-bot: I haz the power
3 years, 11 months ago (2017-01-18 22:34:52 UTC) #17
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/22d68c2c24b7c8a4d65802d2b385...

Powered by Google App Engine
This is Rietveld 408576698