Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9059)

Unified Diff: chrome/renderer/spellchecker/spellcheck.h

Issue 9368052: Removed WebTextCheckingResult legacy API use. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Another trial... Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/common/spellcheck_result.h ('k') | chrome/renderer/spellchecker/spellcheck.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/spellchecker/spellcheck.h
diff --git a/chrome/renderer/spellchecker/spellcheck.h b/chrome/renderer/spellchecker/spellcheck.h
index c4c0e87d2f6a256e8c472ff15922e0938ad3972b..85671634596a13f783adf85429ef7ccc039f8189 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
« no previous file with comments | « chrome/common/spellcheck_result.h ('k') | chrome/renderer/spellchecker/spellcheck.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698