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

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: Fixed a build break on Mac. 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
Index: chrome/renderer/spellchecker/spellcheck.h
diff --git a/chrome/renderer/spellchecker/spellcheck.h b/chrome/renderer/spellchecker/spellcheck.h
index c4c0e87d2f6a256e8c472ff15922e0938ad3972b..e722c7887231149a579428214ebdc1707a39064e 100644
--- a/chrome/renderer/spellchecker/spellcheck.h
+++ b/chrome/renderer/spellchecker/spellcheck.h
@@ -20,15 +20,12 @@
#include "unicode/uscript.h"
class Hunspell;
+class SpellCheckResult;
Hironori Bono 2012/02/16 04:22:45 nit: class -> struct.
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

Powered by Google App Engine
This is Rietveld 408576698