Searched refs:custom_words (Results 1 - 7 of 7) sorted by relevance

/external/chromium_org/chrome/renderer/spellchecker/
H A Dcustom_dictionary_engine_unittest.cc11 std::set<std::string> custom_words; local
12 engine.Init(custom_words);
20 std::set<std::string> custom_words; local
21 custom_words.insert("helllo");
22 engine.Init(custom_words);
H A Dcustom_dictionary_engine.cc16 void CustomDictionaryEngine::Init(const std::set<std::string>& custom_words) { argument
21 for (std::set<std::string>::const_iterator it = custom_words.begin();
22 it != custom_words.end();
H A Dspellcheck.h48 const std::set<std::string>& custom_words,
122 const std::set<std::string>& custom_words,
H A Dspellcheck.cc159 const std::set<std::string>& custom_words,
163 custom_words, language); local
200 const std::set<std::string>& custom_words,
203 custom_dictionary_.Init(custom_words);
158 OnInit(IPC::PlatformFileForTransit bdict_file, const std::set<std::string>& custom_words, const std::string& language, bool auto_spell_correct) argument
199 Init(base::File file, const std::set<std::string>& custom_words, const std::string& language) argument
/external/chromium_org/chrome/browser/spellchecker/
H A Dspellcheck_custom_dictionary.cc86 // Loads the custom spellcheck dictionary from |path| into |custom_words|. If
88 // restores the backup and loads that into |custom_words| instead. If the backup
89 // is invalid too, then clears |custom_words|. Must be called on the file
91 void LoadDictionaryFileReliably(WordList& custom_words, argument
95 if (LoadFile(path, custom_words) == VALID_CHECKSUM)
102 if (LoadFile(backup, custom_words) != VALID_CHECKSUM)
108 // Backs up the original dictionary, saves |custom_words| and its checksum into
111 const WordList& custom_words,
115 for (WordList::const_iterator it = custom_words.begin();
116 it != custom_words
110 SaveDictionaryFileReliably( const WordList& custom_words, const base::FilePath& path) argument
433 OnLoaded(WordList custom_words) argument
[all...]
H A Dspellcheck_custom_dictionary_unittest.cc96 const chrome::spellcheck_common::WordList& custom_words) {
97 dictionary.OnLoaded(custom_words);
781 WordList custom_words; local
782 custom_words.push_back("bar");
783 OnLoaded(*custom_dictionary, custom_words);
824 WordList custom_words; local
828 custom_words.push_back("foo" + base::Uint64ToString(i));
830 OnLoaded(*custom_dictionary, custom_words);
906 WordList custom_words; local
907 custom_words
94 OnLoaded( SpellcheckCustomDictionary& dictionary, const chrome::spellcheck_common::WordList& custom_words) argument
[all...]
H A Dspellcheck_custom_dictionary.h142 // |custom_words|, but cannot be a const-ref due to the signature of
144 void OnLoaded(chrome::spellcheck_common::WordList custom_words);

Completed in 357 milliseconds