DescriptionMove modifier remapping code from X to Ash.
Doing modifier remapping in Ash would be better for the following reasons:
- We can write full unit tests of the feature without relying on Autotests. The tests are included in this CL.
- We can debug the remapping feature using Ash running on Goobuntu.
- Much easier to maintain. We can remove 4k lines of auto-generated XKB script, /build/$BOARD/usr/share/X11/xkb/symbols/chromeos, which is difficult to read and understand. We no longer need to upgrade the 4k script every time when xorg-server is upgraded.
- Easier to add more mappings. For example, now it's trivial to add a feature like 'remapping Search to ESC'.
- We can also delete another auto-generated file in Chrome, src/chrome/browser/chromeos/input_method/xkeyboard_data.h.
BUG=115112
TEST=manual and unit_tests
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=138988
Patch Set 1 : review #
Total comments: 28
Patch Set 2 : code review fixes #Patch Set 3 : style fix #
Total comments: 2
Patch Set 4 : reverted ui/base/keycodes/keyboard_code_conversion_x.cc (this was just for debugging) #Messages
Total messages: 9 (0 generated)
|