Home | History | Annotate | Download | only in translate

Lines Matching defs:infobar

224         // infobar if the user already dismissed one in that case.
235 // current infobars. Since InitTranslation might add an infobar, it must
263 // Only add translate infobar if it doesn't exist; if it already exists,
264 // just update the state, the actual infobar would have received the same
387 // If there is already a translate infobar showing, don't show another one.
411 // feature; the user will get an infobar, so they can control whether the
459 TranslateInfoBarDelegate* infobar = TranslateInfoBarDelegate::CreateDelegate(
462 if (!infobar) {
464 // not happen as we won't show a translate infobar or have the translate
469 ShowInfoBar(tab_contents, infobar);
557 // Create the new infobar to display.
558 TranslateInfoBarDelegate* infobar;
560 infobar = TranslateInfoBarDelegate::CreateErrorDelegate(details->error_type,
564 // translate" infobar to support unknown as the original
567 infobar = TranslateInfoBarDelegate::CreateErrorDelegate(
571 infobar = TranslateInfoBarDelegate::CreateDelegate(
575 ShowInfoBar(tab, infobar);
642 TranslateInfoBarDelegate* infobar) {
644 infobar->UpdateBackgroundAnimation(old_infobar);
646 // There already is a translate infobar, simply replace it.
647 tab->ReplaceInfoBar(old_infobar, infobar);
649 tab->AddInfoBar(infobar);