Lines Matching defs:delegate
19 scoped_ptr<ConfirmInfoBarDelegate> delegate) {
20 return scoped_ptr<infobars::InfoBar>(new ConfirmInfoBar(delegate.Pass()));
26 ConfirmInfoBar::ConfirmInfoBar(scoped_ptr<ConfirmInfoBarDelegate> delegate)
27 : InfoBarAndroid(delegate.PassAs<infobars::InfoBarDelegate>()),
42 ConfirmInfoBarDelegate* delegate = GetDelegate();
45 env, delegate->GetMessageText());
48 env, delegate->GetLinkText());
71 ConfirmInfoBarDelegate* delegate = GetDelegate();
73 delegate->Accept() : delegate->Cancel())
78 return delegate()->AsConfirmInfoBarDelegate();
83 ConfirmInfoBarDelegate* delegate = GetDelegate();
84 return (delegate->GetButtons() & button) ?
85 delegate->GetButtonLabel(button) : base::string16();