| Index: chrome/browser/spellchecker_platform_engine.h
|
| diff --git a/chrome/browser/spellchecker_platform_engine.h b/chrome/browser/spellchecker_platform_engine.h
|
| index edc8f3108a59bde8bb01e7bab5e927fb2d89cda1..1f192afa63c96b006da1d0eb1cf527026aaa091a 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_
|
|
|