/external/chromium_org/chrome/renderer/translate/ |
translate_helper_browsertest.cc | 70 std::string* original_lang, 82 if (original_lang) 83 *original_lang = translate_param.b; 149 std::string original_lang("en"); 152 view_->GetPageId(), original_lang, target_lang, std::string()); 164 EXPECT_EQ(original_lang, received_original_lang); 242 std::string original_lang; local 244 ASSERT_TRUE(GetPageTranslatedMessage(&page_id, &original_lang, &target_lang, 247 EXPECT_EQ("de", original_lang); 274 std::string original_lang("en") [all...] |
/external/chromium/chrome/browser/translate/ |
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_lang)) 193 std::string original_lang = GetOriginalLanguageCode(); local [all...] |
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); 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...] |
/external/chromium_org/chrome/browser/translate/ |
translate_ui_delegate.cc | 239 const std::string& original_lang = GetOriginalLanguageCode(); local 242 prefs_->WhitelistLanguagePair(original_lang, target_lang); 244 prefs_->RemoveLanguagePairFromWhitelist(original_lang, target_lang);
|
translate_manager_browsertest.cc | 128 std::string* original_lang, 140 if (original_lang) 141 *original_lang = translate_param.c; 444 std::string original_lang, target_lang; local 445 EXPECT_TRUE(GetTranslateMessage(&page_id, &original_lang, &target_lang)); 446 EXPECT_EQ("fr", original_lang); 462 EXPECT_TRUE(GetTranslateMessage(&page_id, &original_lang, &target_lang)); 463 EXPECT_EQ(new_original_lang, original_lang); 475 EXPECT_TRUE(GetTranslateMessage(&page_id, &original_lang, &target_lang)); 476 EXPECT_EQ(new_original_lang, original_lang); 744 std::string original_lang, target_lang; local 984 std::string original_lang = g_browser_process->GetApplicationLocale(); local 1013 std::string original_lang = g_browser_process->GetApplicationLocale(); local 1186 std::string original_lang, target_lang; local 1259 std::string original_lang, target_lang; local 1374 std::string original_lang, target_lang; local 1453 std::string original_lang, target_lang; local [all...] |
/external/chromium/chrome/browser/tab_contents/ |
render_view_context_menu.cc | 911 std::string original_lang = local 1365 std::string original_lang = helper->language_state().original_language(); local [all...] |
/external/chromium_org/chrome/browser/tab_contents/ |
render_view_context_menu.cc | 1828 std::string original_lang = local [all...] |