Let IdleSpellCheckCallback take full control over SpellCheckRequester
With idle time spell checker, all spell check requests should be managed solely by IdleSpellCheckCallback. This patch ensures that all access to spell check requests are via IdleSpellCheckCallback when runtime feature IdleTimeSpellChecking is enabled, with SpellChecker::cancelCheck being the only exception. SpellChecker::cancelCheck is only used by unit tests, and will be changed when unit tests are modified to cope with idle time spell checker. BUG=517298 Review-Url: https://codereview.chromium.org/2580773002 Cr-Commit-Position: refs/heads/master@{#439076}
Showing
Please register or sign in to comment