Convert render process component common Spellcheck IPC to mojo
Add a render process mojo interface exposed to the browser for receiving process-wide spellcheck control and updates from the browser process. Fold the enable IPC into the Initialize() mojo API (the enable IPC was only ever called right after an Init IPC) by adding an |enable| argument. Mojo does not support set<> so use vector<> instead on the mojo APIs. Use a binding set on the server-side to automate mojo request disconnect and clean-up. Update the browser test to use mojo instead of IPC in the mock renderer and add a test for a custom dictionary update. Change the InitSpellcheck helper: spellcheck->InitForRenderer() isn't needed (creating a SpellcheckService does that for us). Bug:714480 Change-Id: I5365c42fc10c7766054c5b80fb366ceaa4d59159 Reviewed-on: https://chromium-review.googlesource.com/487341Reviewed-by:Alex Moshchuk <alexmos@chromium.org> Reviewed-by:
Martin Barbella <mbarbella@chromium.org> Reviewed-by:
Rouslan Solomakhin <rouslan@chromium.org> Reviewed-by:
Sam McNally <sammc@chromium.org> Reviewed-by:
Ken Rockot <rockot@chromium.org> Commit-Queue: Noel Gordon <noel@chromium.org> Cr-Commit-Position: refs/heads/master@{#471125}
Showing
This diff is collapsed.
Please register or sign in to comment