/external/chromium_org/chrome/renderer/translate/ |
translate_helper_browsertest.cc | 33 const std::string& target_lang, 35 OnTranslatePage(page_id, translate_script, source_lang, target_lang); 71 std::string* target_lang, 84 if (target_lang) 85 *target_lang = translate_param.c; 150 std::string target_lang("fr"); 152 view_->GetPageId(), original_lang, target_lang, std::string()); 165 EXPECT_EQ(target_lang, received_target_lang); 243 std::string target_lang; local 244 ASSERT_TRUE(GetPageTranslatedMessage(&page_id, &original_lang, &target_lang, [all...] |
translate_helper.cc | 320 const std::string& target_lang) { 328 if (translation_pending_ && target_lang_ == target_lang) 341 target_lang_ = target_lang;
|
translate_helper.h | 38 const std::string& target_lang);
|
/external/chromium/chrome/browser/translate/ |
translate_manager_browsertest.cc | 67 std::string* target_lang) { 79 if (target_lang) 80 *target_lang = translate_param.d; 304 std::string original_lang, target_lang; local 305 EXPECT_TRUE(GetTranslateMessage(&page_id, &original_lang, &target_lang)); 307 EXPECT_EQ("en", target_lang); 322 EXPECT_TRUE(GetTranslateMessage(&page_id, &original_lang, &target_lang)); 324 EXPECT_EQ("en", target_lang); 337 EXPECT_TRUE(GetTranslateMessage(&page_id, &original_lang, &target_lang)); 339 EXPECT_EQ(new_target_lang, target_lang); 526 std::string original_lang, target_lang; 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...] |
translate_manager.cc | 341 request.source_lang, request.target_lang)); 345 request.source_lang, request.target_lang); 391 std::string target_lang = GetTargetLanguage(); 394 if (target_lang.empty() || !IsSupportedLanguage(page_lang)) { 403 if (!IsTranslatableURL(entry->url()) || page_lang == target_lang || 432 TranslateInfoBarDelegate::BEFORE_TRANSLATE, tab, page_lang, target_lang)); 452 const std::string& target_lang) { 461 source_lang, target_lang); 472 DoTranslatePage(tab_contents, translate_script_, source_lang, target_lang); 484 request.target_lang = target_lang 655 std::string target_lang = local [all...] |
translate_manager.h | 42 // Translates the page contents from |source_lang| to |target_lang|. 47 const std::string& target_lang); 111 std::string target_lang; member in struct:TranslateManager::PendingRequest 128 const std::string& target_lang);
|
translate_infobar_delegate.cc | 177 const std::string& target_lang = GetTargetLanguageCode(); local 178 if (prefs_.IsLanguagePairWhitelisted(original_lang, target_lang)) 179 prefs_.RemoveLanguagePairFromWhitelist(original_lang, target_lang); 181 prefs_.WhitelistLanguagePair(original_lang, target_lang); 186 const std::string& target_lang = GetTargetLanguageCode(); local 187 DCHECK(!prefs_.IsLanguagePairWhitelisted(original_lang, target_lang)); 188 prefs_.WhitelistLanguagePair(original_lang, target_lang);
|
translate_prefs.cc | 175 // Always translate |source_lang| to |target_lang|" 198 std::string target_lang; local 199 if (list->empty() || !list->GetString(list->GetSize() - 1, &target_lang) || 200 target_lang.empty()) 203 dict->SetString(*iter, target_lang);
|
/external/chromium_org/chrome/browser/translate/ |
translate_manager_browsertest.cc | 113 const std::string& target_lang, 118 routing_id, 0, source_lang, target_lang, error)); 122 const std::string& target_lang) { 123 SimulateOnPageTranslated(0, source_lang, target_lang, 129 std::string* target_lang) { 142 if (target_lang) 143 *target_lang = translate_param.d; 444 std::string original_lang, target_lang; local 445 EXPECT_TRUE(GetTranslateMessage(&page_id, &original_lang, &target_lang)); 447 EXPECT_EQ("en", target_lang); 744 std::string original_lang, target_lang; 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...] |
translate_manager.cc | 357 std::string target_lang = GetTargetLanguage(prefs); local 361 if (language_code == target_lang) { 369 if (target_lang.empty() || !IsSupportedLanguage(language_code)) { 431 language_code, target_lang, TranslateErrors::NONE, profile->GetPrefs(), 470 const std::string& target_lang) { 493 target_lang, TranslateErrors::NONE, profile->GetPrefs(), 501 DoTranslatePage(web_contents, translate_script, source_lang, target_lang); 513 request.target_lang = target_lang; 581 const std::string& target_lang) { [all...] |
translate_manager.h | 106 // Translates the page contents from |source_lang| to |target_lang|. 111 const std::string& target_lang); 172 std::string target_lang; member in struct:TranslateManager::PendingRequest 189 const std::string& target_lang);
|
translate_ui_delegate.cc | 240 const std::string& target_lang = GetTargetLanguageCode(); local 242 prefs_->WhitelistLanguagePair(original_lang, target_lang); 244 prefs_->RemoveLanguagePairFromWhitelist(original_lang, target_lang);
|
translate_prefs.cc | 343 // Always translate |source_lang| to |target_lang|" 366 std::string target_lang; local 368 !list->GetString(list->GetSize() - 1, &target_lang) || 369 target_lang.empty()) { 372 dict->SetString(key, target_lang);
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/distutils/tests/ |
setuptools_build_ext.py | 255 extra_postargs=None, build_temp=None, target_lang=None 260 build_temp, target_lang 269 extra_postargs=None, build_temp=None, target_lang=None 286 objects, basename, output_dir, debug, target_lang
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/distutils/tests/ |
setuptools_build_ext.py | 255 extra_postargs=None, build_temp=None, target_lang=None 260 build_temp, target_lang 269 extra_postargs=None, build_temp=None, target_lang=None 286 objects, basename, output_dir, debug, target_lang
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/distutils/ |
unixccompiler.py | 125 output_dir=None, debug=0, target_lang=None): 154 extra_postargs=None, build_temp=None, target_lang=None): 181 if target_lang == "c++" and self.compiler_cxx:
|
ccompiler.py | 587 debug=0, target_lang=None): 604 'target_lang' is the target language for which the given objects 620 extra_postargs=None, build_temp=None, target_lang=None): 658 'target_lang' is the target language for which the given objects 673 build_temp=None, target_lang=None): 679 extra_preargs, extra_postargs, build_temp, target_lang) 686 build_temp=None, target_lang=None): 691 extra_preargs, extra_postargs, build_temp, target_lang) 696 extra_postargs=None, target_lang=None): 700 debug, extra_preargs, extra_postargs, None, target_lang) [all...] |
emxccompiler.py | 104 target_lang=None): 174 target_lang)
|
bcppcompiler.py | 151 target_lang=None): 184 target_lang=None):
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/distutils/ |
unixccompiler.py | 125 output_dir=None, debug=0, target_lang=None): 154 extra_postargs=None, build_temp=None, target_lang=None): 181 if target_lang == "c++" and self.compiler_cxx:
|
ccompiler.py | 587 debug=0, target_lang=None): 604 'target_lang' is the target language for which the given objects 620 extra_postargs=None, build_temp=None, target_lang=None): 658 'target_lang' is the target language for which the given objects 673 build_temp=None, target_lang=None): 679 extra_preargs, extra_postargs, build_temp, target_lang) 686 build_temp=None, target_lang=None): 691 extra_preargs, extra_postargs, build_temp, target_lang) 696 extra_postargs=None, target_lang=None): 700 debug, extra_preargs, extra_postargs, None, target_lang) [all...] |
emxccompiler.py | 104 target_lang=None): 174 target_lang)
|
bcppcompiler.py | 151 target_lang=None): 184 target_lang=None):
|
/external/chromium/chrome/browser/tab_contents/ |
render_view_context_menu.cc | 913 std::string target_lang = g_browser_process->GetApplicationLocale(); local 1366 std::string target_lang = g_browser_process->GetApplicationLocale(); local [all...] |
/external/chromium_org/chrome/browser/tab_contents/ |
render_view_context_menu.cc | 1246 std::string target_lang = g_browser_process->GetApplicationLocale(); local 1830 std::string target_lang = g_browser_process->GetApplicationLocale(); local [all...] |