DescriptionSupports unicode composition(Ctrl+Shift+U) with C-S pressed.
The current implementation does not support to input a hexadecimal sequence (e.g. 3042) with control and shift keys held pressed. Users have to release control and shift keys first, and then users can input a hexadecimal sequence.
This CL supports to input a hexadecimal sequence while a user holds control and shift keys pressed.
This CL passes a keycode to CharacterComposer::FilterKeyPress() and let it guess what character would be inputted if a user had already released control and shift keys.
NOTE: If a user holds shift key pressed, hitting '3' key produces '#' (shift + 3).
BUG=126988
TEST=Type "u3042<enter>" with control and shift keys pressed. "あ" will be composed.
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=202041
Patch Set 1 #Patch Set 2 : Added a comment. #
Total comments: 2
Patch Set 3 : Fixed based on review comments. #Patch Set 4 : Changed to ui::GetXDisplay() from base::MessagePumpAuraForUI::GetDefaultXDisplay(). #
Total comments: 2
Patch Set 5 : Added a TODO. #
Messages
Total messages: 9 (0 generated)
|