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

Issue 13008005: Short-term fix for CapsLock remapping on chromebooks with external keyboard (Closed)

Created:
7 years, 9 months ago by David Roche
Modified:
7 years, 7 months ago
CC:
chromium-reviews, sadrul, nkostylev+watch_chromium.org, ben+watch_chromium.org, oshima+watch_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Change CapsLock remapping pref to not be syncable, so each device can have its own value. Update EventRewriter to honor local CapsLock pref setting, even if the UI doesn't show CapsLock in keyboard dialog. BUG=167237 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=198999

Patch Set 1 #

Total comments: 2

Patch Set 2 : Change pref name to avoid previously sync'd value. #

Patch Set 3 : rebase #

Patch Set 4 : Keep existing pref name #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -101 lines) Patch
M chrome/browser/chromeos/preferences.cc View 1 2 1 chunk +4 lines, -1 line 0 comments Download
M chrome/browser/ui/ash/event_rewriter.cc View 1 2 4 chunks +5 lines, -20 lines 0 comments Download
M chrome/browser/ui/ash/event_rewriter_unittest.cc View 1 2 3 chunks +1 line, -80 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
David Roche
Yusuke, here is the CL we've been discussing. Alex, please see the bug for more ...
7 years, 9 months ago (2013-03-22 00:08:16 UTC) #1
Yusuke Sato
https://codereview.chromium.org/13008005/diff/1/chrome/browser/chromeos/preferences.cc File chrome/browser/chromeos/preferences.cc (right): https://codereview.chromium.org/13008005/diff/1/chrome/browser/chromeos/preferences.cc#newcode239 chrome/browser/chromeos/preferences.cc:239: registry->RegisterIntegerPref(prefs::kLanguageRemapCapsLockKeyTo, I think we need to rename kLanguageRemapCapsLockKeyTo in ...
7 years, 9 months ago (2013-03-22 18:42:21 UTC) #2
David Roche
https://codereview.chromium.org/13008005/diff/1/chrome/browser/chromeos/preferences.cc File chrome/browser/chromeos/preferences.cc (right): https://codereview.chromium.org/13008005/diff/1/chrome/browser/chromeos/preferences.cc#newcode239 chrome/browser/chromeos/preferences.cc:239: registry->RegisterIntegerPref(prefs::kLanguageRemapCapsLockKeyTo, On 2013/03/22 18:42:21, Yusuke Sato wrote: > I ...
7 years, 9 months ago (2013-03-22 19:17:11 UTC) #3
Yusuke Sato
> Is changing the pref name really required, since it's no longer sync'd? Since we ...
7 years, 9 months ago (2013-03-23 00:12:08 UTC) #4
David Roche
On 2013/03/23 00:12:08, Yusuke Sato wrote: > > Is changing the pref name really required, ...
7 years, 9 months ago (2013-03-25 19:41:33 UTC) #5
David Roche
Renamed pref as requested, PTAL.
7 years, 8 months ago (2013-04-02 00:27:31 UTC) #6
Yusuke Sato
whoa, forgot to send LGTM... sorry. Patch set #2 LGTM. Please ask derat@ for owners ...
7 years, 8 months ago (2013-04-02 04:27:18 UTC) #7
Kuscher
It seems bad to reset the pref for all users. Also, I am really hoping ...
7 years, 8 months ago (2013-04-04 13:51:53 UTC) #8
David Roche
Does it really make sense for this to be a sync'able pref? That doesn't seem ...
7 years, 8 months ago (2013-04-04 14:26:12 UTC) #9
James Cook
LGTM
7 years, 7 months ago (2013-05-06 21:16:45 UTC) #10
James Cook
On 2013/05/06 21:16:45, James Cook (Chromium) wrote: > LGTM Actually, not LGTM. I agree with ...
7 years, 7 months ago (2013-05-06 21:53:01 UTC) #11
David Roche
Okay, I reverted the change to the pref name, which removed chrome/browser/resources/options/chromeos/keyboard_overlay.html and chrome/common/pref_names.cc from ...
7 years, 7 months ago (2013-05-07 00:25:27 UTC) #12
James Cook
LGTM. Thanks for the patch!
7 years, 7 months ago (2013-05-07 00:29:34 UTC) #13
David Roche
+zel for chrome/browser/chromeos/preferences.cc approval
7 years, 7 months ago (2013-05-07 00:40:26 UTC) #14
zel
lgtm
7 years, 7 months ago (2013-05-07 00:42:37 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/davidroche@chromium.org/13008005/38001
7 years, 7 months ago (2013-05-07 21:24:50 UTC) #16
commit-bot: I haz the power
7 years, 7 months ago (2013-05-08 21:12:21 UTC) #17
Message was sent while issue was closed.
Change committed as 198999

Powered by Google App Engine
This is Rietveld 408576698