Index: chrome/browser/ui/views/infobars/confirm_infobar.h |
diff --git a/chrome/browser/ui/views/infobars/confirm_infobar.h b/chrome/browser/ui/views/infobars/confirm_infobar.h |
index 35835470496ad5170dc3883de0cc1f2c9d9e2ab2..96a3df96f2cc7225e5c10939b160223d2a40cc4c 100644 |
--- a/chrome/browser/ui/views/infobars/confirm_infobar.h |
+++ b/chrome/browser/ui/views/infobars/confirm_infobar.h |
@@ -25,9 +25,14 @@ class ConfirmInfoBar : public InfoBarView, |
public: |
ConfirmInfoBar(InfoBarTabHelper* owner, ConfirmInfoBarDelegate* delegate); |
- private: |
+ protected: |
+ // TODO(rogerta): These only need to be protected due to the |
+ // OneClickLoginInfoBar experiment and can be made private once that's |
+ // removed. |
virtual ~ConfirmInfoBar(); |
+ views::TextButton* ok_button() { return ok_button_; } |
+ |
// InfoBarView: |
virtual void Layout() OVERRIDE; |
virtual void ViewHierarchyChanged(bool is_add, |
@@ -40,6 +45,7 @@ class ConfirmInfoBar : public InfoBarView, |
// views::LinkListener: |
virtual void LinkClicked(views::Link* source, int event_flags) OVERRIDE; |
+ private: |
ConfirmInfoBarDelegate* GetDelegate(); |
views::Label* label_; |