Searched refs:original_lang (Results 1 - 6 of 6) sorted by relevance
/external/chromium/chrome/browser/translate/ |
H A D | translate_tab_helper.h | 30 const std::string& original_lang,
|
H A D | translate_manager_browsertest.cc | 66 std::string* original_lang, 77 if (original_lang) 78 *original_lang = translate_param.c; 304 std::string original_lang, target_lang; local 305 EXPECT_TRUE(GetTranslateMessage(&page_id, &original_lang, &target_lang)); 306 EXPECT_EQ("fr", original_lang); 322 EXPECT_TRUE(GetTranslateMessage(&page_id, &original_lang, &target_lang)); 323 EXPECT_EQ(new_original_lang, original_lang); 337 EXPECT_TRUE(GetTranslateMessage(&page_id, &original_lang, &target_lang)); 338 EXPECT_EQ(new_original_lang, original_lang); 65 GetTranslateMessage(int* page_id, std::string* original_lang, std::string* target_lang) argument 526 std::string original_lang, target_lang; local 790 std::string original_lang = browser_process->GetApplicationLocale(); local 947 std::string original_lang, target_lang; local 1017 std::string original_lang, target_lang; local 1128 std::string original_lang, target_lang; local 1209 std::string original_lang, target_lang; local [all...] |
H A D | translate_tab_helper.cc | 51 const std::string& original_lang, 56 PageTranslatedDetails details(original_lang, translated_lang, error_type); 50 OnPageTranslated(int32 page_id, const std::string& original_lang, const std::string& translated_lang, TranslateErrors::Type error_type) argument
|
H A D | translate_infobar_delegate.cc | 143 const std::string& original_lang = GetOriginalLanguageCode(); local 144 if (prefs_.IsLanguageBlacklisted(original_lang)) { 145 prefs_.RemoveLanguageFromBlacklist(original_lang); 147 prefs_.BlacklistLanguage(original_lang); 176 const std::string& original_lang = GetOriginalLanguageCode(); local 178 if (prefs_.IsLanguagePairWhitelisted(original_lang, target_lang)) 179 prefs_.RemoveLanguagePairFromWhitelist(original_lang, target_lang); 181 prefs_.WhitelistLanguagePair(original_lang, target_lang); 185 const std::string& original_lang = GetOriginalLanguageCode(); local 187 DCHECK(!prefs_.IsLanguagePairWhitelisted(original_lang, target_lan 193 std::string original_lang = GetOriginalLanguageCode(); local [all...] |
/external/chromium/chrome/browser/tab_contents/ |
H A D | render_view_context_menu.cc | 911 std::string original_lang = local 921 !original_lang.empty() && // Did we receive the page language yet? 925 (original_lang == chrome::kUnknownLanguageCode || 926 TranslateManager::IsSupportedLanguage(original_lang)) && 1365 std::string original_lang = helper->language_state().original_language(); local 1371 prefs.RemoveLanguageFromBlacklist(original_lang); 1374 source_tab_contents_, original_lang, target_lang);
|
H A D | tab_contents.h | 819 const std::string& original_lang,
|
Completed in 101 milliseconds