DescriptionConvert 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 client 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).
Uploaded and landed in Gerrit
https://chromium-review.googlesource.com/c/487341
BUG=714480
Patch Set 1 #Patch Set 2 : Fix component spellcheck unit tests. #Patch Set 3 : Fix component spellcheck browser tests. #Patch Set 4 : Add simulated CustomDictionaryChanged test. #Patch Set 5 : Import this change from gerrit patch pull (test). #Patch Set 6 : Import this change from gerrit a patch pull (test2). #Patch Set 7 : Listen to binds late in InitSpellcheck. #Patch Set 8 : Fix comment: discuss the bind override purpose. #Patch Set 9 : Build fix. #Dependent Patchsets: Messages
Total messages: 51 (51 generated)
|