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

Issue 959923002: Fix CapsLock remapping. (Closed)

Created:
5 years, 10 months ago by kpschoedel
Modified:
5 years, 10 months ago
Reviewers:
Daniel Erat, spang
CC:
chromium-reviews, ozone-reviews_chromium.org, tdresser+watch_chromium.org, jdduke+watch_chromium.org, oshima+watch_chromium.org, kalyank, stevenjb+watch_chromium.org, davemoore+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix CapsLock remapping. Emulates the ChromeOS/X11 method of using F16 and Mod3 to represent the caps lock key before remapping. BUG=461485 TEST=On device with external keyboard Committed: https://crrev.com/5fdc45c765de00dd9143879864fa57c7d133e309 Cr-Commit-Position: refs/heads/master@{#318240} Committed: https://crrev.com/c786931969cce37492bd97c82138a35540b19a3f Cr-Commit-Position: refs/heads/master@{#318321}

Patch Set 1 #

Total comments: 4

Patch Set 2 : address review comments #

Patch Set 3 : fix unit test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -45 lines) Patch
M ui/events/ozone/evdev/event_converter_evdev_impl_unittest.cc View 1 2 1 chunk +3 lines, -39 lines 0 comments Download
M ui/events/ozone/evdev/event_modifiers_evdev.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M ui/events/ozone/evdev/event_modifiers_evdev.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M ui/events/ozone/evdev/keyboard_evdev.cc View 1 2 chunks +9 lines, -6 lines 0 comments Download
M ui/events/ozone/layout/layout_util.cc View 1 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (8 generated)
kpschoedel
+spang for ui/events/ozone/ +derat for event_rewriter.cc The fact that EF_CAPS_LOCK_DOWN does not mean that CAPS_LOCK ...
5 years, 10 months ago (2015-02-25 21:16:29 UTC) #2
spang
On 2015/02/25 21:16:29, kpschoedel wrote: > +spang for ui/events/ozone/ > +derat for event_rewriter.cc > > ...
5 years, 10 months ago (2015-02-25 22:03:20 UTC) #3
spang
https://codereview.chromium.org/959923002/diff/1/ui/events/ozone/evdev/keyboard_evdev.cc File ui/events/ozone/evdev/keyboard_evdev.cc (right): https://codereview.chromium.org/959923002/diff/1/ui/events/ozone/evdev/keyboard_evdev.cc#newcode122 ui/events/ozone/evdev/keyboard_evdev.cc:122: modifiers_->UpdateModifier(modifier, down); Wouldn't it work to just do // ...
5 years, 10 months ago (2015-02-25 22:03:29 UTC) #4
Daniel Erat
https://codereview.chromium.org/959923002/diff/1/chrome/browser/chromeos/events/event_rewriter.cc File chrome/browser/chromeos/events/event_rewriter.cc (right): https://codereview.chromium.org/959923002/diff/1/chrome/browser/chromeos/events/event_rewriter.cc#newcode643 chrome/browser/chromeos/events/event_rewriter.cc:643: // XK_ISO_Level3_Shift with Mod3Mask, not XF86XK_Launch7). does this comment ...
5 years, 10 months ago (2015-02-25 22:13:45 UTC) #5
kpschoedel
https://codereview.chromium.org/959923002/diff/1/chrome/browser/chromeos/events/event_rewriter.cc File chrome/browser/chromeos/events/event_rewriter.cc (right): https://codereview.chromium.org/959923002/diff/1/chrome/browser/chromeos/events/event_rewriter.cc#newcode643 chrome/browser/chromeos/events/event_rewriter.cc:643: // XK_ISO_Level3_Shift with Mod3Mask, not XF86XK_Launch7). On 2015/02/25 22:13:45, ...
5 years, 10 months ago (2015-02-25 23:03:06 UTC) #6
spang
thank you lgtm
5 years, 10 months ago (2015-02-25 23:12:19 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/959923002/20001
5 years, 10 months ago (2015-02-26 00:02:47 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: ios_rel_device_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_rel_device_ng/builds/14819) ios_rel_device_ninja_ng on tryserver.chromium.mac (JOB_FAILED, ...
5 years, 10 months ago (2015-02-26 00:05:30 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/959923002/20001
5 years, 10 months ago (2015-02-26 16:03:17 UTC) #15
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 10 months ago (2015-02-26 16:12:34 UTC) #16
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/5fdc45c765de00dd9143879864fa57c7d133e309 Cr-Commit-Position: refs/heads/master@{#318240}
5 years, 10 months ago (2015-02-26 16:13:50 UTC) #17
grt (UTC plus 2)
A revert of this CL (patchset #2 id:20001) has been created in https://codereview.chromium.org/965473002/ by grt@chromium.org. ...
5 years, 10 months ago (2015-02-26 19:16:40 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/959923002/40001
5 years, 10 months ago (2015-02-26 20:05:27 UTC) #21
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 10 months ago (2015-02-26 21:45:37 UTC) #22
commit-bot: I haz the power
5 years, 10 months ago (2015-02-26 21:46:50 UTC) #23
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/c786931969cce37492bd97c82138a35540b19a3f
Cr-Commit-Position: refs/heads/master@{#318321}

Powered by Google App Engine
This is Rietveld 408576698