Home | History | Annotate | Download | only in infobars

Lines Matching refs:infobar

8 #include "chrome/browser/infobars/infobar.h"
20 scoped_ptr<InfoBarDelegate> infobar) {
21 DCHECK(infobar);
27 if ((*i)->EqualsDelegate(infobar.get())) {
28 DCHECK_NE(*i, infobar.get());
33 InfoBarDelegate* infobar_ptr = infobar.release();
59 void InfoBarService::RemoveInfoBar(InfoBarDelegate* infobar) {
60 RemoveInfoBarInternal(infobar, true);
79 // Remove the old infobar before notifying, so that if any observers call
80 // back to AddInfoBar() or similar, we don't dupe-check against this infobar.
140 InfoBarDelegate* infobar = infobars_[i - 1];
141 if (infobar->ShouldExpire(committed_details))
142 RemoveInfoBar(infobar);
160 void InfoBarService::RemoveInfoBarInternal(InfoBarDelegate* infobar,
162 DCHECK(infobar);
168 InfoBars::iterator i(std::find(infobars_.begin(), infobars_.end(), infobar));
171 infobar->clear_owner();
172 // Remove the infobar before notifying, so that if any observers call back to
173 // AddInfoBar() or similar, we don't dupe-check against this infobar.
189 InfoBarRemovedDetails removed_details(infobar, animate);