Implement OnInputMethodOptionsUpdated API
The OnInputMethodOptionsUpdated event is fire when any change is made to the input method specific settings in pref so that ime extension can reload options immediately. We register an observer in input method engine, and whenever we observe the change, we check settings of which input method is changed and then fire the event with that input method code. Test: tested in Chrome on Linux, added browser tests. Bug: 1042084 Change-Id: I4971b838f3a3b0eff32ad454f19d273e6804ef3c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2257119 Commit-Queue: Jing Wang <jiwan@chromium.org> Reviewed-by:Devlin <rdevlin.cronin@chromium.org> Reviewed-by:
Kyle Horimoto <khorimoto@chromium.org> Reviewed-by:
Yuichiro Hanada <yhanada@chromium.org> Reviewed-by:
Keith Lee <keithlee@chromium.org> Cr-Commit-Position: refs/heads/master@{#786630}
Showing
Please register or sign in to comment