feat: add session.addWordToSpellCheckerDictionary to allow custom words in the dictionary (#21266)

* feat: add session.addWordToSpellCheckerDictionary to allow custom words in the dictionary

* Update session.md
This commit is contained in:
Samuel Attard 2019-11-26 13:16:43 -08:00 committed by GitHub
parent 8a9c7c484b
commit 149aaeba94
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 38 additions and 0 deletions

View file

@ -92,6 +92,7 @@ class Session : public gin_helper::TrackableObject<Session>,
base::Value GetSpellCheckerLanguages();
void SetSpellCheckerLanguages(gin_helper::ErrorThrower thrower,
const std::vector<std::string>& languages);
bool AddWordToSpellCheckerDictionary(const std::string& word);
#endif
#if BUILDFLAG(ENABLE_ELECTRON_EXTENSIONS)