Home
last modified time | relevance | path

Searched refs:dictionary_change (Results 1 – 10 of 10) sorted by relevance

/external/chromium_org/chrome/browser/spellchecker/
Dspellcheck_custom_dictionary.cc237 Change dictionary_change; in AddWord() local
238 dictionary_change.AddWord(word); in AddWord()
239 int result = dictionary_change.Sanitize(GetWords()); in AddWord()
240 Apply(dictionary_change); in AddWord()
241 Notify(dictionary_change); in AddWord()
242 Sync(dictionary_change); in AddWord()
243 Save(dictionary_change); in AddWord()
249 Change dictionary_change; in RemoveWord() local
250 dictionary_change.RemoveWord(word); in RemoveWord()
251 int result = dictionary_change.Sanitize(GetWords()); in RemoveWord()
[all …]
Dspellcheck_custom_dictionary.h74 virtual void OnCustomDictionaryChanged(const Change& dictionary_change) = 0;
137 const Change& dictionary_change,
148 void Apply(const Change& dictionary_change);
152 void Save(const Change& dictionary_change);
157 syncer::SyncError Sync(const Change& dictionary_change);
161 void Notify(const Change& dictionary_change);
Dspellcheck_service.cc224 const SpellcheckCustomDictionary::Change& dictionary_change) { in OnCustomDictionaryChanged() argument
229 dictionary_change.to_add(), in OnCustomDictionaryChanged()
230 dictionary_change.to_remove())); in OnCustomDictionaryChanged()
Dspellcheck_service.h119 const SpellcheckCustomDictionary::Change& dictionary_change) OVERRIDE;
Dspellcheck_custom_dictionary_unittest.cc86 const SpellcheckCustomDictionary::Change& dictionary_change, in UpdateDictionaryFile() argument
88 SpellcheckCustomDictionary::UpdateDictionaryFile(dictionary_change, path); in UpdateDictionaryFile()
/external/chromium_org/chrome/browser/sync/test/integration/
Ddictionary_helper.cc184 SpellcheckCustomDictionary::Change dictionary_change; in AddWord() local
185 dictionary_change.AddWord(word); in AddWord()
187 GetDictionary(index), dictionary_change); in AddWord()
190 GetVerifierDictionary(), dictionary_change); in AddWord()
196 SpellcheckCustomDictionary::Change dictionary_change; in RemoveWord() local
197 dictionary_change.RemoveWord(word); in RemoveWord()
199 GetDictionary(index), dictionary_change); in RemoveWord()
202 GetVerifierDictionary(), dictionary_change); in RemoveWord()
Ddictionary_load_observer.cc19 const SpellcheckCustomDictionary::Change& dictionary_change) { in OnCustomDictionaryChanged() argument
Ddictionary_load_observer.h22 const SpellcheckCustomDictionary::Change& dictionary_change) OVERRIDE;
/external/chromium_org/chrome/browser/ui/webui/options/
Dlanguage_dictionary_overlay_handler.cc73 const SpellcheckCustomDictionary::Change& dictionary_change) { in OnCustomDictionaryChanged() argument
76 add_words.AppendStrings(dictionary_change.to_add()); in OnCustomDictionaryChanged()
77 remove_words.AppendStrings(dictionary_change.to_remove()); in OnCustomDictionaryChanged()
Dlanguage_dictionary_overlay_handler.h29 const SpellcheckCustomDictionary::Change& dictionary_change) OVERRIDE;