Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(435)

Unified Diff: chrome/browser/ui/views/infobars/confirm_infobar.h

Issue 10911169: Setup field trial for one-click signin inforbar. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_;
« no previous file with comments | « chrome/browser/ui/sync/one_click_signin_helper.cc ('k') | chrome/browser/ui/views/infobars/infobar_background.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698