Searched refs:page_lang (Results 1 – 4 of 4) sorted by relevance
/external/chromium/chrome/browser/translate/ |
D | translate_manager.cc | 369 const std::string& page_lang) { in InitiateTranslation() argument 394 if (target_lang.empty() || !IsSupportedLanguage(page_lang)) { in InitiateTranslation() 403 if (!IsTranslatableURL(entry->url()) || page_lang == target_lang || in InitiateTranslation() 404 !TranslatePrefs::CanTranslate(prefs, page_lang, entry->url()) || in InitiateTranslation() 405 IsAcceptLanguage(tab, page_lang)) { in InitiateTranslation() 415 TranslatePrefs::ShouldAutoTranslate(prefs, page_lang, in InitiateTranslation() 417 TranslatePage(tab, page_lang, auto_target_lang); in InitiateTranslation() 426 TranslatePage(tab, page_lang, auto_translate_to); in InitiateTranslation() 432 TranslateInfoBarDelegate::BEFORE_TRANSLATE, tab, page_lang, target_lang)); in InitiateTranslation() 436 int process_id, int render_id, const std::string& page_lang) { in InitiateTranslationPosted() argument [all …]
|
D | translate_manager.h | 116 void InitiateTranslation(TabContents* tab, const std::string& page_lang); 122 const std::string& page_lang);
|
/external/chromium_org/chrome/browser/translate/ |
D | translate_manager.h | 178 const std::string& page_lang); 183 const std::string& page_lang, int attempt);
|
D | translate_manager.cc | 313 const std::string& page_lang) { in InitiateTranslation() argument 358 std::string language_code = GetLanguageCode(page_lang); in InitiateTranslation() 438 const std::string& page_lang, in InitiateTranslationPosted() argument 460 render_id, page_lang, ++attempt), in InitiateTranslationPosted() 465 InitiateTranslation(web_contents, GetLanguageCode(page_lang)); in InitiateTranslationPosted()
|