Home | History | Annotate | Download | only in automation

Lines Matching refs:infobar

2326   // Each infobar may have different properties depending on the type.
2330 InfoBarDelegate* infobar = tc->GetInfoBarDelegateAt(i);
2331 if (infobar->AsConfirmInfoBarDelegate()) {
2335 infobar->AsConfirmInfoBarDelegate();
2353 } else if (infobar->AsLinkInfoBarDelegate()) {
2355 LinkInfoBarDelegate* link_infobar = infobar->AsLinkInfoBarDelegate();
2357 } else if (infobar->AsTranslateInfoBarDelegate()) {
2360 infobar->AsTranslateInfoBarDelegate();
2365 } else if (infobar->AsExtensionInfoBarDelegate()) {
2399 InfoBarDelegate* infobar = NULL;
2402 !(infobar = tab_contents->GetInfoBarDelegateAt(infobar_index))) {
2403 reply.SendError(StringPrintf("No such infobar at index %" PRIuS,
2408 infobar->InfoBarDismissed();
2409 tab_contents->RemoveInfoBar(infobar);
2415 if (!(confirm_infobar = infobar->AsConfirmInfoBarDelegate())) {
2416 reply.SendError("Not a confirm infobar");
2421 tab_contents->RemoveInfoBar(infobar);
2424 tab_contents->RemoveInfoBar(infobar);
3565 InfoBarDelegate* infobar = tab_contents->GetInfoBarDelegateAt(i);
3566 if (infobar->AsTranslateInfoBarDelegate())
3567 return infobar->AsTranslateInfoBarDelegate();
3569 // No translate infobar.
3761 // This is the function called when an infobar is dismissed or when the