public:
explicit AlternateNavInfoBarView(
scoped_ptr<AlternateNavInfoBarDelegate> delegate);
+ ~AlternateNavInfoBarView() override;
private:
- virtual ~AlternateNavInfoBarView();
-
// Treating |labels| as pieces of one continuous string, elides to fit
// |available_width| so as to guarantee that a trailing ellipsis is always
// displayed when the string is elided and there is at least room to display
static void ElideLabels(Labels* labels, int available_width);
// InfoBarView:
- virtual void Layout() OVERRIDE;
- virtual void ViewHierarchyChanged(
- const ViewHierarchyChangedDetails& details) OVERRIDE;
- virtual int ContentMinimumWidth() const OVERRIDE;
+ void Layout() override;
+ void ViewHierarchyChanged(
+ const ViewHierarchyChangedDetails& details) override;
+ int ContentMinimumWidth() const override;
// views::LinkListener:
- virtual void LinkClicked(views::Link* source, int event_flags) OVERRIDE;
+ void LinkClicked(views::Link* source, int event_flags) override;
AlternateNavInfoBarDelegate* GetDelegate();