Refactoring the mojo stuff in InputMethodEngine.
1) Makes MojoHelper lives as long as InputMethodEngine. This is because the mojo connection breakage should NOT be triggered by InputMethodEngine::Disable. Otherwise, the engine client and IEFR will both handle the connection error and would have race conditions. 2) Makes sure InputMethodEngineBase doesn't call GetInputContextHandler() and let subclasses to override all the methods to callback to the engine client. Bug: 937167 Change-Id: Ic567e5dca153eca9f1b2eb739c66f25a55a30088 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1545442Reviewed-by:Scott Violet <sky@chromium.org> Commit-Queue: Shu Chen <shuchen@chromium.org> Cr-Commit-Position: refs/heads/master@{#646642}
Showing
Please register or sign in to comment