Home
last modified time | relevance | path

Searched refs:target_language (Results 1 – 8 of 8) sorted by relevance

/external/chromium/chrome/browser/translate/
Dtranslate_prefs.cc56 const std::string& target_language) { in IsLanguagePairWhitelisted() argument
61 auto_target_lang == target_language) in IsLanguagePairWhitelisted()
69 const std::string& target_language) { in WhitelistLanguagePair() argument
76 dict->SetString(original_language, target_language); in WhitelistLanguagePair()
82 const std::string& target_language) { in RemoveLanguagePairFromWhitelist() argument
148 const std::string& original_language, std::string* target_language) { in ShouldAutoTranslate() argument
150 return prefs.IsLanguageWhitelisted(original_language, target_language); in ShouldAutoTranslate()
260 const std::string& original_language, std::string* target_language) { in IsLanguageWhitelisted() argument
262 if (dict && dict->GetString(original_language, target_language)) { in IsLanguageWhitelisted()
263 DCHECK(!target_language->empty()); in IsLanguageWhitelisted()
[all …]
Dtranslate_prefs.h36 const std::string& target_language);
38 const std::string& target_language);
40 const std::string& target_language);
59 const std::string& original_language, std::string* target_language);
69 std::string* target_language);
Dpage_translated_details.h19 target_language(in_target_language), in PageTranslatedDetails()
23 std::string target_language; member
Dtranslate_infobar_delegate.cc31 const std::string& target_language) { in CreateDelegate() argument
40 !TranslateManager::IsSupportedLanguage(target_language)) in CreateDelegate()
44 original_language, target_language); in CreateDelegate()
53 const std::string& target_language) { in CreateErrorDelegate() argument
55 original_language, target_language); in CreateErrorDelegate()
311 const std::string& target_language) in TranslateInfoBarDelegate() argument
348 if (language_code == target_language) in TranslateInfoBarDelegate()
Dtranslate_infobar_delegate.h47 const std::string& target_language);
54 const std::string& target_language);
155 const std::string& target_language);
Doptions_menu_model.cc34 string16 target_language = translate_delegate->GetLanguageDisplayableNameAt( in OptionsMenuModel() local
42 original_language, target_language)); in OptionsMenuModel()
Dtranslate_manager.cc561 tab, details->source_language, details->target_language); in PageTranslated()
569 details->source_language, details->target_language); in PageTranslated()
573 details->source_language, details->target_language); in PageTranslated()
/external/chromium/chrome/browser/automation/
Dtesting_automation_provider.cc3686 string16 target_language; in SelectTranslateOption() local
3687 if (!args->GetString("target_language", &target_language)) { in SelectTranslateOption()
3695 if (translate_bar->GetLanguageDisplayableNameAt(i) == target_language) { in SelectTranslateOption()