/external/chromium_org/components/translate/core/browser/ |
D | translate_prefs.h | 54 bool IsBlockedLanguage(const std::string& original_language) const; 55 void BlockLanguage(const std::string& original_language); 56 void UnblockLanguage(const std::string& original_language); 60 void RemoveLanguageFromLegacyBlacklist(const std::string& original_language); 68 bool IsLanguagePairWhitelisted(const std::string& original_language, 70 void WhitelistLanguagePair(const std::string& original_language, 72 void RemoveLanguagePairFromWhitelist(const std::string& original_language, 112 bool ShouldAutoTranslate(const std::string& original_language,
|
D | translate_prefs.cc | 118 const std::string& original_language) const { in IsBlockedLanguage() 120 original_language); in IsBlockedLanguage() 123 void TranslatePrefs::BlockLanguage(const std::string& original_language) { in BlockLanguage() argument 124 BlacklistValue(kPrefTranslateBlockedLanguages, original_language); in BlockLanguage() 127 std::string language = original_language; in BlockLanguage() 140 void TranslatePrefs::UnblockLanguage(const std::string& original_language) { in UnblockLanguage() argument 141 RemoveValueFromBlacklist(kPrefTranslateBlockedLanguages, original_language); in UnblockLanguage() 145 const std::string& original_language) { in RemoveLanguageFromLegacyBlacklist() argument 146 RemoveValueFromBlacklist(kPrefTranslateLanguageBlacklist, original_language); in RemoveLanguageFromLegacyBlacklist() 162 const std::string& original_language, in IsLanguagePairWhitelisted() argument [all …]
|
D | options_menu_model.cc | 32 base::string16 original_language = translate_delegate->language_name_at( in OptionsMenuModel() local 47 original_language, target_language)); in OptionsMenuModel() 51 original_language)); in OptionsMenuModel() 61 original_language)); in OptionsMenuModel()
|
D | translate_infobar_delegate.cc | 59 const std::string& original_language, in Create() argument 69 if (!TranslateDownloadManager::IsSupportedLanguage(original_language)) { in Create() 75 DCHECK_EQ(translate::kUnknownLanguageCode, original_language); in Create() 104 original_language, target_language, error_type, in Create() 318 const std::string& original_language, in TranslateInfoBarDelegate() argument 326 ui_delegate_(translate_manager, original_language, target_language), in TranslateInfoBarDelegate()
|
D | language_state_unittest.cc | 97 EXPECT_EQ("fr", language_state.original_language()); in TEST() 103 EXPECT_EQ("fr", language_state.original_language()); in TEST() 109 EXPECT_EQ("ja", language_state.original_language()); in TEST()
|
D | translate_manager.cc | 259 language_state_.SetCurrentLanguage(language_state_.original_language()); in RevertTranslation() 275 language_state_.original_language()); in ReportLanguageDetectionError() 374 const std::string& original_language, in GetAutoTargetLanguage() argument 377 if (translate_prefs->ShouldAutoTranslate(original_language, in GetAutoTargetLanguage()
|
D | translate_infobar_delegate.h | 62 const std::string& original_language, 185 const std::string& original_language,
|
D | language_state.h | 51 const std::string& original_language() const { return original_lang_; } in original_language() function
|
D | translate_ui_delegate.cc | 38 const std::string& original_language, in TranslateUIDelegate() argument 82 if (language_code == original_language) { in TranslateUIDelegate()
|
D | translate_ui_delegate.h | 32 const std::string& original_language,
|
D | translate_manager.h | 63 static std::string GetAutoTargetLanguage(const std::string& original_language,
|
/external/chromium_org/chrome/browser/translate/ |
D | translate_manager_browsertest.cc | 57 chrome_translate_client->GetLanguageState().original_language()); in IN_PROC_BROWSER_TEST_F()
|
D | chrome_translate_client.cc | 135 chrome_translate_client->GetLanguageState().original_language()); in GetTranslateLanguages()
|
D | translate_manager_render_view_host_unittest.cc | 386 chrome_translate_client->GetLanguageState().original_language(); in ShowImplementation()
|
/external/chromium_org/chrome/browser/ui/translate/ |
D | translate_bubble_model_impl.cc | 114 language_state.original_language() && in IsPageTranslatedInCurrentLanguages()
|
/external/chromium_org/components/translate/content/browser/ |
D | content_translate_driver.cc | 204 translate_manager_->GetLanguageState().original_language(), in NavigationEntryCommitted()
|
/external/chromium_org/chrome/browser/renderer_context_menu/ |
D | render_view_context_menu.cc | 1044 chrome_translate_client->GetLanguageState().original_language(); in IsCommandIdEnabled() 1560 chrome_translate_client->GetLanguageState().original_language(); in ExecuteCommand()
|
/external/chromium_org/chrome/browser/ui/ |
D | browser_browsertest.cc | 1432 chrome_translate_client->GetLanguageState().original_language()); in IN_PROC_BROWSER_TEST_F() 1438 chrome_translate_client->GetLanguageState().original_language()); in IN_PROC_BROWSER_TEST_F() 1453 chrome_translate_client->GetLanguageState().original_language()); in IN_PROC_BROWSER_TEST_F()
|
/external/chromium_org/chrome/browser/extensions/api/tabs/ |
D | tabs_api.cc | 1617 .original_language() in RunAsync() 1626 chrome_translate_client->GetLanguageState().original_language())); in RunAsync()
|
/external/chromium_org/chrome/browser/policy/ |
D | policy_browsertest.cc | 2049 EXPECT_EQ("fr", language_state.original_language()); in IN_PROC_BROWSER_TEST_F()
|