diff options
author | morrita@chromium.org <morrita@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-17 02:14:53 +0000 |
---|---|---|
committer | morrita@chromium.org <morrita@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-17 02:14:53 +0000 |
commit | 7ed49c23b6a29b533e3e3550c818f45ef5afe32e (patch) | |
tree | d9c8342ea9494d7e0f406a37f0506a288ce9218c /chrome/renderer/spellchecker/spellcheck.h | |
parent | 65bab0bf28dffe0c62f4bb66191c64ce27708517 (diff) | |
download | chromium_src-7ed49c23b6a29b533e3e3550c818f45ef5afe32e.zip chromium_src-7ed49c23b6a29b533e3e3550c818f45ef5afe32e.tar.gz chromium_src-7ed49c23b6a29b533e3e3550c818f45ef5afe32e.tar.bz2 |
Removed WebTextCheckingResult legacy API use.
BUG=none
TEST=unit_tests
Review URL: http://codereview.chromium.org/9368052
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@122429 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/spellchecker/spellcheck.h')
-rw-r--r-- | chrome/renderer/spellchecker/spellcheck.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/chrome/renderer/spellchecker/spellcheck.h b/chrome/renderer/spellchecker/spellcheck.h index c4c0e87..8567163 100644 --- a/chrome/renderer/spellchecker/spellcheck.h +++ b/chrome/renderer/spellchecker/spellcheck.h @@ -20,15 +20,12 @@ #include "unicode/uscript.h" class Hunspell; +struct SpellCheckResult; namespace file_util { class MemoryMappedFile; } -namespace WebKit { -struct WebTextCheckingResult; -} - // TODO(morrita): Needs reorg with SpellCheckProvider. // See http://crbug.com/73699. class SpellCheck : public content::RenderProcessObserver { @@ -64,7 +61,7 @@ class SpellCheck : public content::RenderProcessObserver { // or 0. bool SpellCheckParagraph(const string16& text, int tag, - std::vector<WebKit::WebTextCheckingResult>* results); + std::vector<SpellCheckResult>* results); // Find a possible correctly spelled word for a misspelled word. Computes an // empty string if input misspelled word is too long, there is ambiguity, or |