Searched refs:IsSupportedLanguage (Results 1 – 11 of 11) sorted by relevance
143 bool TranslateManager::IsSupportedLanguage(const std::string& language) { in IsSupportedLanguage() function in TranslateManager145 return GetInstance()->language_list_->IsSupportedLanguage(language); in IsSupportedLanguage()369 if (target_lang.empty() || !IsSupportedLanguage(language_code)) { in InitiateTranslation()482 if (!IsSupportedLanguage(source_lang)) in TranslatePage()603 !IsSupportedLanguage(details->source_language)) { in PageTranslated()756 if (IsSupportedLanguage(ui_lang)) in GetTargetLanguage()771 if (IsSupportedLanguage(lang_code)) in GetTargetLanguage()787 if (IsSupportedLanguage(auto_target_lang)) in GetAutoTargetLanguage()
253 if (IsSupportedLanguage(chrome_locale)) in GetLanguageCode()262 bool TranslateLanguageList::IsSupportedLanguage(const std::string& language) { in IsSupportedLanguage() function in TranslateLanguageList
42 bool IsSupportedLanguage(const std::string& language);
46 DCHECK(TranslateManager::IsSupportedLanguage(target_language)); in Create()47 if (!TranslateManager::IsSupportedLanguage(original_language)) { in Create()
72 static bool IsSupportedLanguage(const std::string& language);
615 bool expected = TranslateManager::IsSupportedLanguage(lang) && in TEST_F()
189 bool TranslateManager::IsSupportedLanguage(const std::string& page_language) { in IsSupportedLanguage() function in TranslateManager394 if (target_lang.empty() || !IsSupportedLanguage(page_lang)) { in InitiateTranslation()562 } else if (!IsSupportedLanguage(details->source_language)) { in PageTranslated()657 return IsSupportedLanguage(target_lang) ? target_lang : std::string(); in GetTargetLanguage()
95 static bool IsSupportedLanguage(const std::string& language);
39 !TranslateManager::IsSupportedLanguage(original_language)) || in CreateDelegate()40 !TranslateManager::IsSupportedLanguage(target_language)) in CreateDelegate()
926 TranslateManager::IsSupportedLanguage(original_lang)) && in IsCommandIdEnabled()
1258 TranslateManager::IsSupportedLanguage(target_lang) && in IsCommandIdEnabled()