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

Side by Side Diff: chrome/browser/ui/views/infobars/one_click_signin_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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_UI_VIEWS_INFOBARS_ONE_CLICK_SIGNIN_INFOBAR_H_
6 #define CHROME_BROWSER_UI_VIEWS_INFOBARS_ONE_CLICK_SIGNIN_INFOBAR_H_
7
8 #include "chrome/browser/api/infobars/one_click_signin_infobar_delegate.h"
9 #include "chrome/browser/ui/views/infobars/confirm_infobar.h"
10
11 // A speialization of ConfirmInfoBar that allows changing the background
12 // colour of the infobar as well as the colour of the OK button. The behaviour
13 // remains the same.
14 class OneClickSigninInfoBar : public ConfirmInfoBar {
15 public:
16 OneClickSigninInfoBar(InfoBarTabHelper* owner,
17 OneClickSigninInfoBarDelegate* delegate);
18 ~OneClickSigninInfoBar();
19
20 private:
21 // ConfirmInfoBar overrides.
22 virtual void ViewHierarchyChanged(bool is_add,
23 views::View* parent,
24 views::View* child) OVERRIDE;
25
26 OneClickSigninInfoBarDelegate* one_click_delegate_;
27
28 DISALLOW_COPY_AND_ASSIGN(OneClickSigninInfoBar);
29 };
30
31 #endif // CHROME_BROWSER_UI_VIEWS_INFOBARS_ONE_CLICK_SIGNIN_INFOBAR_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/infobars/infobar_view.cc ('k') | chrome/browser/ui/views/infobars/one_click_signin_infobar.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698