BUTTON_CANCEL = 1 << 1,
};
- virtual ~ConfirmInfoBarDelegate();
+ ~ConfirmInfoBarDelegate() override;
// Returns the InfoBar type to be displayed for the InfoBar.
- virtual InfoBarAutomationType GetInfoBarAutomationType() const OVERRIDE;
+ InfoBarAutomationType GetInfoBarAutomationType() const override;
// Returns the message string to be displayed for the InfoBar.
virtual base::string16 GetMessageText() const = 0;
static scoped_ptr<infobars::InfoBar> CreateInfoBar(
scoped_ptr<ConfirmInfoBarDelegate> delegate);
- virtual bool ShouldExpireInternal(
- const NavigationDetails& details) const OVERRIDE;
+ bool ShouldExpireInternal(const NavigationDetails& details) const override;
private:
// InfoBarDelegate:
- virtual bool EqualsDelegate(
- infobars::InfoBarDelegate* delegate) const OVERRIDE;
- virtual ConfirmInfoBarDelegate* AsConfirmInfoBarDelegate() OVERRIDE;
+ bool EqualsDelegate(infobars::InfoBarDelegate* delegate) const override;
+ ConfirmInfoBarDelegate* AsConfirmInfoBarDelegate() override;
DISALLOW_COPY_AND_ASSIGN(ConfirmInfoBarDelegate);
};