| Index: chrome/renderer/spellchecker/spelling_engine.h
|
| diff --git a/chrome/renderer/spellchecker/spelling_engine.h b/chrome/renderer/spellchecker/spelling_engine.h
|
| index 13d3b28fc7e7851139fc71b3dd51e310a545ff7e..af19a655042e9b960072c2d2a58eb6fd5fb4d7d8 100644
|
| --- a/chrome/renderer/spellchecker/spelling_engine.h
|
| +++ b/chrome/renderer/spellchecker/spelling_engine.h
|
| @@ -8,6 +8,7 @@
|
| #include <string>
|
| #include <vector>
|
|
|
| +#include "base/platform_file.h"
|
| #include "base/string16.h"
|
|
|
| // Creates the platform's "native" spelling engine.
|
| @@ -18,6 +19,10 @@ class SpellingEngine {
|
| public:
|
| virtual ~SpellingEngine() {}
|
|
|
| + // Initialize spelling engine with browser-side info. Must be called before
|
| + // any other functions are called.
|
| + virtual void Init(base::PlatformFile bdict_file,
|
| + const std::vector<std::string>& custom_words) = 0;
|
| virtual bool InitializeIfNeeded() = 0;
|
| virtual bool IsEnabled() = 0;
|
| virtual bool CheckSpelling(const string16& word_to_check, int tag) = 0;
|
|
|