diff options
Diffstat (limited to 'chrome/browser/ui/views/infobars/link_infobar.h')
-rw-r--r-- | chrome/browser/ui/views/infobars/link_infobar.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/chrome/browser/ui/views/infobars/link_infobar.h b/chrome/browser/ui/views/infobars/link_infobar.h index 1ca6bb7..6e8be356 100644 --- a/chrome/browser/ui/views/infobars/link_infobar.h +++ b/chrome/browser/ui/views/infobars/link_infobar.h @@ -16,21 +16,22 @@ class LinkInfoBar : public InfoBarView, public views::LinkController { public: explicit LinkInfoBar(LinkInfoBarDelegate* delegate); - virtual ~LinkInfoBar(); - // Overridden from views::LinkController: - virtual void LinkActivated(views::Link* source, int event_flags); + private: + virtual ~LinkInfoBar(); - // Overridden from views::View: + // InfoBarView: virtual void Layout(); - private: + // views::LinkController: + virtual void LinkActivated(views::Link* source, int event_flags); + LinkInfoBarDelegate* GetDelegate(); views::ImageView* icon_; views::Label* label_1_; - views::Label* label_2_; views::Link* link_; + views::Label* label_2_; DISALLOW_COPY_AND_ASSIGN(LinkInfoBar); }; |