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

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

Issue 6392045: Integrating Mac OS Grammar checker into Chromium. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Caught up some more missings. I'm sorry for the distraction... Created 9 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 42dde8722326fa528464296e3dd2f1f04e1df042..dab8c036a0920f4812c49f739de78b3c650c0f40 100644
--- a/chrome/renderer/spellchecker/spellcheck.h
+++ b/chrome/renderer/spellchecker/spellcheck.h
@@ -65,6 +65,14 @@ class SpellCheck {
// |hunspell_| has been initialized.
void WordAdded(const std::string& word);
+ // Request asynchronous spell and grammar checking. The result
+ // should be returned as a ViewMsg_SpellChecker_RespondTextCheck IPC
+ // call.
+ bool RequestCheckingOfText(int32 routing_id,
+ const string16& word,
Hironori Bono 2011/02/10 11:02:56 nit: 'word' -> 'text'? (I assume this string consi
gmorrita 2011/02/17 11:39:44 Done.
+ int tag,
+ int request_id);
+
private:
// Initializes the Hunspell dictionary, or does nothing if |hunspell_| is
// non-null. This blocks.

Powered by Google App Engine
This is Rietveld 408576698