• Home
  • Raw
  • Download

Lines Matching refs:TranslateInfoBarDelegate

24 const size_t TranslateInfoBarDelegate::kNoIndex = static_cast<size_t>(-1);
27 TranslateInfoBarDelegate* TranslateInfoBarDelegate::CreateDelegate( in CreateDelegate()
42 TranslateInfoBarDelegate* delegate = in CreateDelegate()
43 new TranslateInfoBarDelegate(type, TranslateErrors::NONE, tab_contents, in CreateDelegate()
49 TranslateInfoBarDelegate* TranslateInfoBarDelegate::CreateErrorDelegate( in CreateErrorDelegate()
54 return new TranslateInfoBarDelegate(TRANSLATION_ERROR, error, tab_contents, in CreateErrorDelegate()
58 TranslateInfoBarDelegate::~TranslateInfoBarDelegate() { in ~TranslateInfoBarDelegate()
61 std::string TranslateInfoBarDelegate::GetLanguageCodeAt(size_t index) const { in GetLanguageCodeAt()
66 string16 TranslateInfoBarDelegate::GetLanguageDisplayableNameAt( in GetLanguageDisplayableNameAt()
72 std::string TranslateInfoBarDelegate::GetOriginalLanguageCode() const { in GetOriginalLanguageCode()
78 std::string TranslateInfoBarDelegate::GetTargetLanguageCode() const { in GetTargetLanguageCode()
82 void TranslateInfoBarDelegate::SetOriginalLanguage(size_t language_index) { in SetOriginalLanguage()
91 void TranslateInfoBarDelegate::SetTargetLanguage(size_t language_index) { in SetTargetLanguage()
100 void TranslateInfoBarDelegate::Translate() { in Translate()
112 void TranslateInfoBarDelegate::RevertTranslation() { in RevertTranslation()
117 void TranslateInfoBarDelegate::ReportLanguageDetectionError() { in ReportLanguageDetectionError()
121 void TranslateInfoBarDelegate::TranslationDeclined() { in TranslationDeclined()
138 bool TranslateInfoBarDelegate::IsLanguageBlacklisted() { in IsLanguageBlacklisted()
142 void TranslateInfoBarDelegate::ToggleLanguageBlacklist() { in ToggleLanguageBlacklist()
152 bool TranslateInfoBarDelegate::IsSiteBlacklisted() { in IsSiteBlacklisted()
157 void TranslateInfoBarDelegate::ToggleSiteBlacklist() { in ToggleSiteBlacklist()
170 bool TranslateInfoBarDelegate::ShouldAlwaysTranslate() { in ShouldAlwaysTranslate()
175 void TranslateInfoBarDelegate::ToggleAlwaysTranslate() { in ToggleAlwaysTranslate()
184 void TranslateInfoBarDelegate::AlwaysTranslatePageLanguage() { in AlwaysTranslatePageLanguage()
192 void TranslateInfoBarDelegate::NeverTranslatePageLanguage() { in NeverTranslatePageLanguage()
199 string16 TranslateInfoBarDelegate::GetMessageInfoBarText() { in GetMessageInfoBarText()
231 string16 TranslateInfoBarDelegate::GetMessageInfoBarButtonText() { in GetMessageInfoBarButtonText()
243 void TranslateInfoBarDelegate::MessageInfoBarButtonPressed() { in MessageInfoBarButtonPressed()
254 bool TranslateInfoBarDelegate::ShouldShowMessageInfoBarButton() { in ShouldShowMessageInfoBarButton()
258 bool TranslateInfoBarDelegate::ShouldShowNeverTranslateButton() { in ShouldShowNeverTranslateButton()
264 bool TranslateInfoBarDelegate::ShouldShowAlwaysTranslateButton() { in ShouldShowAlwaysTranslateButton()
270 void TranslateInfoBarDelegate::UpdateBackgroundAnimation( in UpdateBackgroundAnimation()
271 TranslateInfoBarDelegate* previous_infobar) { in UpdateBackgroundAnimation()
279 string16 TranslateInfoBarDelegate::GetLanguageDisplayableName( in GetLanguageDisplayableName()
286 void TranslateInfoBarDelegate::GetAfterTranslateStrings( in GetAfterTranslateStrings()
306 TranslateInfoBarDelegate::TranslateInfoBarDelegate( in TranslateInfoBarDelegate() function in TranslateInfoBarDelegate
353 void TranslateInfoBarDelegate::InfoBarDismissed() { in InfoBarDismissed()
362 void TranslateInfoBarDelegate::InfoBarClosed() { in InfoBarClosed()
366 SkBitmap* TranslateInfoBarDelegate::GetIcon() const { in GetIcon()
371 InfoBarDelegate::Type TranslateInfoBarDelegate::GetInfoBarType() const { in GetInfoBarType()
375 TranslateInfoBarDelegate*
376 TranslateInfoBarDelegate::AsTranslateInfoBarDelegate() { in AsTranslateInfoBarDelegate()
380 std::string TranslateInfoBarDelegate::GetPageHost() { in GetPageHost()