feat: add session.listWordsFromSpellCheckerDictionary API (#22101)
* doesn't work yet but compiles. * works * fixup
This commit is contained in:
parent
6fe7d65c9d
commit
9942149f3c
3 changed files with 68 additions and 0 deletions
|
@ -95,6 +95,7 @@ class Session : public gin_helper::TrackableObject<Session>,
|
|||
base::Value GetSpellCheckerLanguages();
|
||||
void SetSpellCheckerLanguages(gin_helper::ErrorThrower thrower,
|
||||
const std::vector<std::string>& languages);
|
||||
v8::Local<v8::Promise> ListWordsInSpellCheckerDictionary();
|
||||
bool AddWordToSpellCheckerDictionary(const std::string& word);
|
||||
bool RemoveWordFromSpellCheckerDictionary(const std::string& word);
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue