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

Issue 11346028: Allow Caps Lock to be remapped [part 2 of 2] (Closed)

Created:
8 years, 1 month ago by Yusuke Sato
Modified:
8 years, 1 month ago
CC:
chromium-reviews, sadrul, nkostylev+watch_chromium.org, ben+watch_chromium.org, arv (Not doing code reviews), oshima+watch_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org, yusukes+watch_chromium.org, mazda
Visibility:
Public.

Description

Allow Caps Lock to be remapped [part 2 of 2]. * Add a new Chrome command line flag: --has-chromeos-keyboard * Show the new UI for remapping Caps Lock if --has-chromeos-keyboard is not specified. This CL depends on http://codereview.chromium.org/11314020/ and https://gerrit.chromium.org/gerrit/#/c/36884/. BUG=146204 TEST=manually confirmed that 1) the new UI is shown when /etc/session_manager_use_flags.txt does not have "chromeos_keyboard", is not shown when the file has the flag, 2) the UI for guest mode is the same as non-guest mode, 3) the UI correctly remaps the Caps Lock key. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=165503

Patch Set 1 : review #

Total comments: 8

Patch Set 2 : addressed comments #

Patch Set 3 : rebased, added more tests #

Total comments: 2

Patch Set 4 : review fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+169 lines, -31 lines) Patch
M chrome/browser/chromeos/login/login_utils.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/resources/options/chromeos/keyboard_overlay.html View 2 chunks +3 lines, -4 lines 0 comments Download
M chrome/browser/resources/options/chromeos/keyboard_overlay.js View 1 1 chunk +18 lines, -0 lines 0 comments Download
M chrome/browser/ui/ash/event_rewriter.cc View 1 2 3 5 chunks +49 lines, -27 lines 0 comments Download
M chrome/browser/ui/ash/event_rewriter_unittest.cc View 1 2 3 chunks +80 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/options/chromeos/keyboard_handler.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/webui/options/chromeos/keyboard_handler.cc View 1 2 chunks +12 lines, -0 lines 0 comments Download
M chrome/common/chrome_switches.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/chrome_switches.cc View 1 2 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
Yusuke Sato
8 years, 1 month ago (2012-10-30 18:02:55 UTC) #1
Daniel Erat
http://codereview.chromium.org/11346028/diff/4001/chrome/browser/resources/options/chromeos/keyboard_overlay.js File chrome/browser/resources/options/chromeos/keyboard_overlay.js (right): http://codereview.chromium.org/11346028/diff/4001/chrome/browser/resources/options/chromeos/keyboard_overlay.js#newcode32 chrome/browser/resources/options/chromeos/keyboard_overlay.js:32: //Forward public APIs to private implementations. nit: add space ...
8 years, 1 month ago (2012-10-30 18:23:17 UTC) #2
Yusuke Sato
http://codereview.chromium.org/11346028/diff/4001/chrome/browser/resources/options/chromeos/keyboard_overlay.js File chrome/browser/resources/options/chromeos/keyboard_overlay.js (right): http://codereview.chromium.org/11346028/diff/4001/chrome/browser/resources/options/chromeos/keyboard_overlay.js#newcode32 chrome/browser/resources/options/chromeos/keyboard_overlay.js:32: //Forward public APIs to private implementations. On 2012/10/30 18:23:17, ...
8 years, 1 month ago (2012-10-30 19:27:23 UTC) #3
Daniel Erat
lgtm
8 years, 1 month ago (2012-10-30 19:56:16 UTC) #4
Yusuke Sato
+ben for chrome/ owners review. Could you have a look at this too?
8 years, 1 month ago (2012-10-30 20:06:30 UTC) #5
Ben Goodger (Google)
lgtm
8 years, 1 month ago (2012-10-31 16:08:07 UTC) #6
Yusuke Sato
Daniel, sorry about that but could you take a look event_rewriter.cc and event_rewriter_unittests.cc again? Other ...
8 years, 1 month ago (2012-11-01 18:41:26 UTC) #7
Daniel Erat
lgtm http://codereview.chromium.org/11346028/diff/23001/chrome/browser/ui/ash/event_rewriter.cc File chrome/browser/ui/ash/event_rewriter.cc (right): http://codereview.chromium.org/11346028/diff/23001/chrome/browser/ui/ash/event_rewriter.cc#newcode123 chrome/browser/ui/ash/event_rewriter.cc:123: bool IsMod3InUse() { nit: IsMod3UsedByCurrentInputMethod() may be a ...
8 years, 1 month ago (2012-11-01 19:13:06 UTC) #8
Yusuke Sato
http://codereview.chromium.org/11346028/diff/23001/chrome/browser/ui/ash/event_rewriter.cc File chrome/browser/ui/ash/event_rewriter.cc (right): http://codereview.chromium.org/11346028/diff/23001/chrome/browser/ui/ash/event_rewriter.cc#newcode123 chrome/browser/ui/ash/event_rewriter.cc:123: bool IsMod3InUse() { On 2012/11/01 19:13:06, Daniel Erat wrote: ...
8 years, 1 month ago (2012-11-01 19:25:27 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yusukes@chromium.org/11346028/24006
8 years, 1 month ago (2012-11-01 19:25:45 UTC) #10
commit-bot: I haz the power
8 years, 1 month ago (2012-11-01 21:26:38 UTC) #11
Change committed as 165503

Powered by Google App Engine
This is Rietveld 408576698