DescriptionMinor improvements for key_rewriter.cc.
- Use VKEY_CONTROL instead of VKEY_LCONTROL/VKEY_RCONTROL to be consistent with Windows' behavior.
Windows (and ui/base/keycodes/keyboard_code_conversion_x.cc) never sends a VKEY_[LR]CONTROL event when left/right control is pressed. The VKs are used only as a return value of GetKeyboardState() Windows API.
- Add unit tests for Command+NumPad presses.
Add tests that checks if NumPad1 + Command key presses on an Apple keyboard are treated as VKEY_NUMPAD1 with EF_CONTROL_DOWN.
BUG=None
TEST=manual + unit_tests
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=137621
Patch Set 1 #Patch Set 2 : review #
Messages
Total messages: 4 (0 generated)
|