feat: add session.removeWordFromSpellCheckerDictionary API (#22039)

* feat: add session.removeWordFromSpellCheckerDictionary API

* rebase fixup
This commit is contained in:
Erick Zhao 2020-02-10 14:07:25 -08:00 committed by GitHub
parent 8ca4e761fd
commit 17abeca8b7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 26 additions and 0 deletions

View file

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