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

Issue 1943553002: [Mac DomCode] Swap 'IntlBackslash' and 'Backquote' on ISO keyboard (Closed)

Created:
4 years, 7 months ago by chongz
Modified:
4 years, 7 months ago
Reviewers:
garykac
CC:
chromium-reviews, tdresser+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Mac DomCode] Swap 'IntlBackslash' and 'Backquote' on ISO keyboard According to spec the key to the left of Digit1 should produce DomCode 'Backquote', and the key between ShiftLeft and KeyZ should produce DomCode 'IntlBackslash'. The current issues are: 1. On Mac the |keyCode| were swapped on Apple's 102 French keyboard and PC ISO 102 French keyboard. 2. On Linux and Windows the DomCode were swapped on Apple's 102 French keyboard. It sounds like Apple wired their keyboards with the keys swapped, so we will fix issue 1 on Mac side by swapping these two keys back. However we could not find a way to detect Apple's keyboard on Linux and Windows, so we will leave the issue assuming it's rare to use an Apple's keyboard on PC. (https://crbug.com.608493) SPEC=https://w3c.github.io/uievents-code/#keyboard-102 BUG=600607 TEST=https://cdn.rawgit.com/w3c/uievents/gh-pages/tests/key-mtest-102fr-fr.html Committed: https://crrev.com/ba1eb3a80a5fe90b236518a3005f0b6cbde8de00 Cr-Commit-Position: refs/heads/master@{#392970}

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -0 lines) Patch
M ui/events/keycodes/keyboard_code_conversion_mac.mm View 1 chunk +18 lines, -0 lines 3 comments Download

Messages

Total messages: 14 (5 generated)
chongz
Hi garykac@, PTAL, thanks! https://codereview.chromium.org/1943553002/diff/1/ui/events/keycodes/keyboard_code_conversion_mac.mm File ui/events/keycodes/keyboard_code_conversion_mac.mm (right): https://codereview.chromium.org/1943553002/diff/1/ui/events/keycodes/keyboard_code_conversion_mac.mm#newcode805 ui/events/keycodes/keyboard_code_conversion_mac.mm:805: if (KBGetLayoutType(LMGetKbdType()) == kKeyboardISO) { ...
4 years, 7 months ago (2016-05-02 21:33:25 UTC) #3
garykac
https://codereview.chromium.org/1943553002/diff/1/ui/events/keycodes/keyboard_code_conversion_mac.mm File ui/events/keycodes/keyboard_code_conversion_mac.mm (right): https://codereview.chromium.org/1943553002/diff/1/ui/events/keycodes/keyboard_code_conversion_mac.mm#newcode805 ui/events/keycodes/keyboard_code_conversion_mac.mm:805: if (KBGetLayoutType(LMGetKbdType()) == kKeyboardISO) { On 2016/05/02 21:33:25, chongz ...
4 years, 7 months ago (2016-05-02 22:03:23 UTC) #4
chongz
https://codereview.chromium.org/1943553002/diff/1/ui/events/keycodes/keyboard_code_conversion_mac.mm File ui/events/keycodes/keyboard_code_conversion_mac.mm (right): https://codereview.chromium.org/1943553002/diff/1/ui/events/keycodes/keyboard_code_conversion_mac.mm#newcode805 ui/events/keycodes/keyboard_code_conversion_mac.mm:805: if (KBGetLayoutType(LMGetKbdType()) == kKeyboardISO) { On 2016/05/02 22:03:23, garykac ...
4 years, 7 months ago (2016-05-02 22:31:13 UTC) #5
chongz
Hi garykac@, I was wondering have you got your Mac Japanese keyboard yet? Or is ...
4 years, 7 months ago (2016-05-11 14:12:52 UTC) #6
garykac
On 2016/05/11 14:12:52, chongz wrote: > Hi garykac@, I was wondering have you got your ...
4 years, 7 months ago (2016-05-11 14:34:08 UTC) #7
garykac
lgtm
4 years, 7 months ago (2016-05-11 14:34:19 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1943553002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1943553002/1
4 years, 7 months ago (2016-05-11 16:45:48 UTC) #10
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 7 months ago (2016-05-11 17:28:04 UTC) #12
commit-bot: I haz the power
4 years, 7 months ago (2016-05-11 17:29:29 UTC) #14
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/ba1eb3a80a5fe90b236518a3005f0b6cbde8de00
Cr-Commit-Position: refs/heads/master@{#392970}

Powered by Google App Engine
This is Rietveld 408576698