diff options
author | shuchen <shuchen@chromium.org> | 2015-12-14 23:41:21 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-12-15 07:42:10 +0000 |
commit | c52e3a322173bfb380ea1e665955392904cbfa85 (patch) | |
tree | 864cc3742318f286e3dcc1b68ebbe6ee5c19e231 /ui/base | |
parent | 64984951470be7a7a73829a8ff713d3b1cc2d996 (diff) | |
download | chromium_src-c52e3a322173bfb380ea1e665955392904cbfa85.zip chromium_src-c52e3a322173bfb380ea1e665955392904cbfa85.tar.gz chromium_src-c52e3a322173bfb380ea1e665955392904cbfa85.tar.bz2 |
Supports remapping to Backspace key from Search/Caps keys.
This is to make colemak users happy who get used to use Caps key as
Backspace.
BUG=215923
TEST=Switch input method to Colemak keyboard, adjust the key mapping
from Search to Backspace, which can work in an input field.
Review URL: https://codereview.chromium.org/1465123002
Cr-Commit-Position: refs/heads/master@{#365201}
Diffstat (limited to 'ui/base')
-rw-r--r-- | ui/base/ime/chromeos/ime_keyboard.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ui/base/ime/chromeos/ime_keyboard.h b/ui/base/ime/chromeos/ime_keyboard.h index 2885a2a..44f7d35 100644 --- a/ui/base/ime/chromeos/ime_keyboard.h +++ b/ui/base/ime/chromeos/ime_keyboard.h @@ -28,8 +28,9 @@ enum ModifierKey { kVoidKey, kCapsLockKey, kEscapeKey, - // IMPORTANT: You should update kCustomizableKeys[] in .cc file, if you - // add a customizable key. + kBackspaceKey, + // IMPORTANT: Add new key to the end, because the keys may have been stored + // in user preferences. kNumModifierKeys, }; |