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:
parent
8a9c7c484b
commit
149aaeba94
3 changed files with 38 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue