Home
last modified time | relevance | path

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

/external/chromium_org/chrome/browser/translate/
Dtranslate_manager.cc143 bool TranslateManager::IsSupportedLanguage(const std::string& language) { in IsSupportedLanguage() function in TranslateManager
145 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()
Dtranslate_language_list.cc253 if (IsSupportedLanguage(chrome_locale)) in GetLanguageCode()
262 bool TranslateLanguageList::IsSupportedLanguage(const std::string& language) { in IsSupportedLanguage() function in TranslateLanguageList
Dtranslate_language_list.h42 bool IsSupportedLanguage(const std::string& language);
Dtranslate_infobar_delegate.cc46 DCHECK(TranslateManager::IsSupportedLanguage(target_language)); in Create()
47 if (!TranslateManager::IsSupportedLanguage(original_language)) { in Create()
Dtranslate_manager.h72 static bool IsSupportedLanguage(const std::string& language);
Dtranslate_manager_browsertest.cc615 bool expected = TranslateManager::IsSupportedLanguage(lang) && in TEST_F()
/external/chromium/chrome/browser/translate/
Dtranslate_manager.cc189 bool TranslateManager::IsSupportedLanguage(const std::string& page_language) { in IsSupportedLanguage() function in TranslateManager
394 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()
Dtranslate_manager.h95 static bool IsSupportedLanguage(const std::string& language);
Dtranslate_infobar_delegate.cc39 !TranslateManager::IsSupportedLanguage(original_language)) || in CreateDelegate()
40 !TranslateManager::IsSupportedLanguage(target_language)) in CreateDelegate()
/external/chromium/chrome/browser/tab_contents/
Drender_view_context_menu.cc926 TranslateManager::IsSupportedLanguage(original_lang)) && in IsCommandIdEnabled()
/external/chromium_org/chrome/browser/tab_contents/
Drender_view_context_menu.cc1258 TranslateManager::IsSupportedLanguage(target_lang) && in IsCommandIdEnabled()