Rewrite SpellCheckWord to take an offset arg and return an enum.
commit99884d8979a9c5631e0966bafcab132c5a60ab18
authorjuliusa <juliusa@google.com>
Sat, 15 Aug 2015 02:49:19 +0000 (14 19:49 -0700)
committerCommit bot <commit-bot@chromium.org>
Sat, 15 Aug 2015 02:50:18 +0000 (15 02:50 +0000)
treea2039dbb40b476c937bbb44189176218676fa233
parent76e9ded7abdc1ce194ff6aea3be32a30246a9c37
Rewrite SpellCheckWord to take an offset arg and return an enum.

For multilingual spellchecking, SpellCheckWord should return an enum for
correct spelling, misspelling, and skippable words. Also, in an effort
make spellchecking clearly, an offset argument has been added to the
SpellCheckWord functions.

BUG=5102

Review URL: https://codereview.chromium.org/1288143004

Cr-Commit-Position: refs/heads/master@{#343539}
chrome/renderer/spellchecker/spellcheck.cc
chrome/renderer/spellchecker/spellcheck.h
chrome/renderer/spellchecker/spellcheck_language.cc
chrome/renderer/spellchecker/spellcheck_language.h
chrome/renderer/spellchecker/spellcheck_provider.cc
chrome/renderer/spellchecker/spellcheck_unittest.cc