Home
last modified time | relevance | path

Searched refs:SpellcheckCustomDictionary (Results 1 – 11 of 11) sorted by relevance

/external/chromium_org/chrome/browser/spellchecker/
Dspellcheck_custom_dictionary.cc173 SpellcheckCustomDictionary::Change::Change() { in Change()
176 SpellcheckCustomDictionary::Change::Change( in Change()
177 const SpellcheckCustomDictionary::Change& other) in Change()
182 SpellcheckCustomDictionary::Change::Change(const WordList& to_add) in Change()
186 SpellcheckCustomDictionary::Change::~Change() { in ~Change()
189 void SpellcheckCustomDictionary::Change::AddWord(const std::string& word) { in AddWord()
193 void SpellcheckCustomDictionary::Change::RemoveWord(const std::string& word) { in RemoveWord()
197 int SpellcheckCustomDictionary::Change::Sanitize(const WordSet& words) { in Sanitize()
206 const WordList& SpellcheckCustomDictionary::Change::to_add() const { in to_add()
210 const WordList& SpellcheckCustomDictionary::Change::to_remove() const { in to_remove()
[all …]
Dspellcheck_custom_dictionary_unittest.cc45 const SpellcheckCustomDictionary* dictionary) { in GetAllSyncDataNoLimit()
79 return SpellcheckCustomDictionary::LoadDictionaryFile(path); in LoadDictionaryFile()
86 const SpellcheckCustomDictionary::Change& dictionary_change, in UpdateDictionaryFile()
88 SpellcheckCustomDictionary::UpdateDictionaryFile(dictionary_change, path); in UpdateDictionaryFile()
95 SpellcheckCustomDictionary& dictionary, in OnLoaded()
103 SpellcheckCustomDictionary& dictionary, in Apply()
104 const SpellcheckCustomDictionary::Change& change) { in Apply()
140 class DictionaryObserverCounter : public SpellcheckCustomDictionary::Observer {
151 const SpellcheckCustomDictionary::Change& change) OVERRIDE { changes_++; } in OnCustomDictionaryChanged()
168 SpellcheckCustomDictionary::Change change; in TEST_F()
[all …]
Dspellcheck_custom_dictionary.h27 class SpellcheckCustomDictionary : public SpellcheckDictionary,
77 explicit SpellcheckCustomDictionary(const base::FilePath& path);
78 virtual ~SpellcheckCustomDictionary();
182 base::WeakPtrFactory<SpellcheckCustomDictionary> weak_ptr_factory_;
184 DISALLOW_COPY_AND_ASSIGN(SpellcheckCustomDictionary);
Dspellcheck_service.h38 public SpellcheckCustomDictionary::Observer,
92 SpellcheckCustomDictionary* GetCustomDictionary();
119 const SpellcheckCustomDictionary::Change& dictionary_change) OVERRIDE;
162 scoped_ptr<SpellcheckCustomDictionary> custom_dictionary_;
Dspellcheck_service.cc72 custom_dictionary_.reset(new SpellcheckCustomDictionary(context_->GetPath())); in SpellcheckService()
187 SpellcheckCustomDictionary* SpellcheckService::GetCustomDictionary() { in GetCustomDictionary()
224 const SpellcheckCustomDictionary::Change& dictionary_change) { in OnCustomDictionaryChanged()
/external/chromium_org/chrome/browser/sync/test/integration/
Ddictionary_helper.cc29 SpellcheckCustomDictionary* dictionary, in ApplyChange()
30 SpellcheckCustomDictionary::Change& change) { in ApplyChange()
45 SpellcheckCustomDictionary* GetDictionary(int index) { in GetDictionary()
50 SpellcheckCustomDictionary* GetVerifierDictionary() { in GetVerifierDictionary()
55 void LoadDictionary(SpellcheckCustomDictionary* dictionary) { in LoadDictionary()
184 SpellcheckCustomDictionary::Change dictionary_change; in AddWord()
196 SpellcheckCustomDictionary::Change dictionary_change; in RemoveWord()
Ddictionary_load_observer.h14 class DictionaryLoadObserver : public SpellcheckCustomDictionary::Observer {
22 const SpellcheckCustomDictionary::Change& dictionary_change) OVERRIDE;
Ddictionary_load_observer.cc19 const SpellcheckCustomDictionary::Change& dictionary_change) { in OnCustomDictionaryChanged()
Ddictionary_helper.h12 class SpellcheckCustomDictionary; variable
/external/chromium_org/chrome/browser/ui/webui/options/
Dlanguage_dictionary_overlay_handler.h15 public SpellcheckCustomDictionary::Observer {
29 const SpellcheckCustomDictionary::Change& dictionary_change) OVERRIDE;
49 SpellcheckCustomDictionary* dictionary_;
Dlanguage_dictionary_overlay_handler.cc73 const SpellcheckCustomDictionary::Change& dictionary_change) { in OnCustomDictionaryChanged()