/external/chromium/chrome/browser/translate/ |
D | translate_prefs.cc | 29 const std::string& original_language) { in IsLanguageBlacklisted() argument 30 return IsValueBlacklisted(kPrefTranslateLanguageBlacklist, original_language); in IsLanguageBlacklisted() 33 void TranslatePrefs::BlacklistLanguage(const std::string& original_language) { in BlacklistLanguage() argument 34 BlacklistValue(kPrefTranslateLanguageBlacklist, original_language); in BlacklistLanguage() 38 const std::string& original_language) { in RemoveLanguageFromBlacklist() argument 39 RemoveValueFromBlacklist(kPrefTranslateLanguageBlacklist, original_language); in RemoveLanguageFromBlacklist() 55 const std::string& original_language, in IsLanguagePairWhitelisted() argument 60 if (dict->GetString(original_language, &auto_target_lang) && in IsLanguagePairWhitelisted() 68 const std::string& original_language, in WhitelistLanguagePair() argument 76 dict->SetString(original_language, target_language); in WhitelistLanguagePair() [all …]
|
D | translate_prefs.h | 27 bool IsLanguageBlacklisted(const std::string& original_language); 28 void BlacklistLanguage(const std::string& original_language); 29 void RemoveLanguageFromBlacklist(const std::string& original_language); 35 bool IsLanguagePairWhitelisted(const std::string& original_language, 37 void WhitelistLanguagePair(const std::string& original_language, 39 void RemoveLanguagePairFromWhitelist(const std::string& original_language, 57 const std::string& original_language, const GURL& url); 59 const std::string& original_language, std::string* target_language); 68 bool IsLanguageWhitelisted(const std::string& original_language,
|
D | options_menu_model.cc | 32 string16 original_language = translate_delegate->GetLanguageDisplayableNameAt( in OptionsMenuModel() local 42 original_language, target_language)); in OptionsMenuModel() 46 original_language)); in OptionsMenuModel() 54 original_language)); in OptionsMenuModel()
|
D | translate_infobar_delegate.cc | 30 const std::string& original_language, in CreateDelegate() argument 37 original_language != chrome::kUnknownLanguageCode); in CreateDelegate() 38 if ((original_language != chrome::kUnknownLanguageCode && in CreateDelegate() 39 !TranslateManager::IsSupportedLanguage(original_language)) || in CreateDelegate() 44 original_language, target_language); in CreateDelegate() 52 const std::string& original_language, in CreateErrorDelegate() argument 55 original_language, target_language); in CreateErrorDelegate() 310 const std::string& original_language, in TranslateInfoBarDelegate() argument 344 if (language_code == original_language) { in TranslateInfoBarDelegate()
|
D | translate_infobar_delegate.h | 46 const std::string& original_language, 53 const std::string& original_language, 154 const std::string& original_language,
|
D | translate_manager.cc | 242 helper->language_state().original_language())); in Observe() 501 helper->language_state().original_language()); in RevertTranslation() 514 report_error_url += helper->language_state().original_language(); in ReportLanguageDetectionError()
|
/external/chromium/chrome/browser/tab_contents/ |
D | language_state.h | 47 const std::string& original_language() const { return original_lang_; } in original_language() function
|
D | render_view_context_menu.cc | 912 helper->language_state().original_language(); in IsCommandIdEnabled() 1365 std::string original_lang = helper->language_state().original_language(); in ExecuteCommand()
|
/external/chromium/chrome/browser/ |
D | browser_browsertest.cc | 574 EXPECT_TRUE(helper->language_state().original_language().empty()); in IN_PROC_BROWSER_TEST_F() 580 EXPECT_EQ("en", helper->language_state().original_language()); in IN_PROC_BROWSER_TEST_F() 588 EXPECT_TRUE(helper->language_state().original_language().empty()); in IN_PROC_BROWSER_TEST_F() 594 EXPECT_EQ("fr", helper->language_state().original_language()); in IN_PROC_BROWSER_TEST_F()
|
/external/chromium/chrome/browser/extensions/ |
D | extension_tabs_module.cc | 1267 if (!helper->language_state().original_language().empty()) { in RunImpl() 1272 helper->language_state().original_language())); in RunImpl()
|
/external/chromium/chrome/browser/automation/ |
D | automation_provider_observers.cc | 1330 helper->language_state().original_language(), in Observe() 1333 helper->language_state().original_language()); in Observe()
|
D | testing_automation_provider.cc | 3643 std::string language = helper->language_state().original_language(); in GetTranslateInfo()
|