Home
last modified time | relevance | path

Searched refs:GetOriginalLanguageCode (Results 1 – 9 of 9) sorted by relevance

/external/chromium_org/chrome/browser/translate/
Dtranslate_ui_delegate.cc144 std::string TranslateUIDelegate::GetOriginalLanguageCode() const { in GetOriginalLanguageCode() function in TranslateUIDelegate
156 prefs_->ResetTranslationDeniedCount(GetOriginalLanguageCode()); in Translate()
157 prefs_->IncrementTranslationAcceptedCount(GetOriginalLanguageCode()); in Translate()
160 GetOriginalLanguageCode(), in Translate()
174 prefs_->ResetTranslationAcceptedCount(GetOriginalLanguageCode()); in TranslationDeclined()
175 prefs_->IncrementTranslationDeniedCount(GetOriginalLanguageCode()); in TranslationDeclined()
193 return prefs_->IsBlockedLanguage(GetOriginalLanguageCode()); in IsLanguageBlocked()
198 prefs_->BlockLanguage(GetOriginalLanguageCode()); in SetLanguageBlocked()
204 prefs_->UnblockLanguage(GetOriginalLanguageCode()); in SetLanguageBlocked()
234 return prefs_->IsLanguagePairWhitelisted(GetOriginalLanguageCode(), in ShouldAlwaysTranslate()
[all …]
Dtranslate_ui_delegate.h63 std::string GetOriginalLanguageCode() const;
Dtranslate_infobar_delegate.h101 return ui_delegate_.GetOriginalLanguageCode(); in original_language_code()
/external/chromium/chrome/browser/translate/
Dtranslate_infobar_delegate.cc72 std::string TranslateInfoBarDelegate::GetOriginalLanguageCode() const { in GetOriginalLanguageCode() function in TranslateInfoBarDelegate
101 const std::string& original_language_code = GetOriginalLanguageCode(); in Translate()
122 const std::string& original_language_code = GetOriginalLanguageCode(); in TranslationDeclined()
139 return prefs_.IsLanguageBlacklisted(GetOriginalLanguageCode()); in IsLanguageBlacklisted()
143 const std::string& original_lang = GetOriginalLanguageCode(); in ToggleLanguageBlacklist()
171 return prefs_.IsLanguagePairWhitelisted(GetOriginalLanguageCode(), in ShouldAlwaysTranslate()
176 const std::string& original_lang = GetOriginalLanguageCode(); in ToggleAlwaysTranslate()
185 const std::string& original_lang = GetOriginalLanguageCode(); in AlwaysTranslatePageLanguage()
193 std::string original_lang = GetOriginalLanguageCode(); in NeverTranslatePageLanguage()
251 GetOriginalLanguageCode(), GetTargetLanguageCode()); in MessageInfoBarButtonPressed()
[all …]
Dtranslate_infobar_delegate.h77 std::string GetOriginalLanguageCode() const;
Dtranslate_manager_browsertest.cc406 EXPECT_EQ("fr", infobar->GetOriginalLanguageCode()); in TEST_F()
/external/chromium_org/chrome/browser/ui/translate/
Dtranslate_bubble_model_impl.cc95 return ui_delegate_->GetOriginalLanguageCode() == in IsPageTranslatedInCurrentLanguages()
/external/chromium/chrome/browser/automation/
Dautomation_provider_observers.cc1354 translate_bar_->GetOriginalLanguageCode()); in Observe()
Dtesting_automation_provider.cc2362 translate_infobar->GetOriginalLanguageCode()); in GetInfobarsInfo()