diff options
Diffstat (limited to 'chrome/browser/spellchecker_platform_engine.h')
-rw-r--r-- | chrome/browser/spellchecker_platform_engine.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/chrome/browser/spellchecker_platform_engine.h b/chrome/browser/spellchecker_platform_engine.h index edc8f310..1f192af 100644 --- a/chrome/browser/spellchecker_platform_engine.h +++ b/chrome/browser/spellchecker_platform_engine.h @@ -12,8 +12,11 @@ #include <string> #include <vector> +#include "base/callback.h" #include "base/string16.h" +class BrowserMessageFilter; + namespace SpellCheckerPlatform { // Get the languages supported by the platform spellchecker and store them in @@ -81,6 +84,15 @@ void IgnoreWord(const string16& word); // document can now be forgotten. void CloseDocumentWithTag(int tag); +// Requests an asyncronous spell and grammar checking. +// The result is returned to an IPC message to |destination| thus it should +// not be null. +void RequestTextCheck(int route_id, + int identifier, + int document_tag, + const string16& text, + BrowserMessageFilter* destination); + } // namespace SpellCheckerPlatform #endif // CHROME_BROWSER_SPELLCHECKER_PLATFORM_ENGINE_H_ |