rule-based: Move rule-based logic for whether to send to Mojo.
There are some logic in JS that determines whether to send keys to Mojo or not. We need to move this code to C++. Original code: //chos/pk/rulebasedcontroller.js We decided to move this code to the IME service side, i.e. all keys are now sent via Mojo, but only some keys are processed by the rule-based engine. This shouldn't change behaviour, apart from performance, since we now send Ctrl keys etc. over Mojo where we didn't before. However, we'll need to send these keys for UIL-based IMEs anyway, since Mozc needs to handle shortcut keys. Once this CL lands, we will delete the corresponding code in JS. Bug: 1009903 Change-Id: I1cf9dc7bde47bf6f19d16d475e6380aaa6883439 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1837312 Commit-Queue: Darren Shen <shend@chromium.org> Reviewed-by:Shu Chen <shuchen@chromium.org> Cr-Commit-Position: refs/heads/master@{#708080}
Showing
Please register or sign in to comment