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

Side by Side Diff: chrome/browser/infobars/infobar_delegate.h

Issue 14175017: Remove one-click signin inforbar, since its now replaced with the gaia (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 7 years, 8 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
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_INFOBARS_INFOBAR_DELEGATE_H_ 5 #ifndef CHROME_BROWSER_INFOBARS_INFOBAR_DELEGATE_H_
6 #define CHROME_BROWSER_INFOBARS_INFOBAR_DELEGATE_H_ 6 #define CHROME_BROWSER_INFOBARS_INFOBAR_DELEGATE_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/string16.h" 9 #include "base/string16.h"
10 #include "chrome/browser/infobars/infobar_service.h" 10 #include "chrome/browser/infobars/infobar_service.h"
(...skipping 24 matching lines...) Expand all
35 public: 35 public:
36 // The type of the infobar. It controls its appearance, such as its background 36 // The type of the infobar. It controls its appearance, such as its background
37 // color. 37 // color.
38 enum Type { 38 enum Type {
39 WARNING_TYPE, 39 WARNING_TYPE,
40 PAGE_ACTION_TYPE, 40 PAGE_ACTION_TYPE,
41 }; 41 };
42 42
43 enum InfoBarAutomationType { 43 enum InfoBarAutomationType {
44 CONFIRM_INFOBAR, 44 CONFIRM_INFOBAR,
45 ONE_CLICK_LOGIN_INFOBAR,
46 PASSWORD_INFOBAR, 45 PASSWORD_INFOBAR,
47 RPH_INFOBAR, 46 RPH_INFOBAR,
48 UNKNOWN_INFOBAR, 47 UNKNOWN_INFOBAR,
49 }; 48 };
50 49
51 virtual ~InfoBarDelegate(); 50 virtual ~InfoBarDelegate();
52 51
53 virtual InfoBarAutomationType GetInfoBarAutomationType() const; 52 virtual InfoBarAutomationType GetInfoBarAutomationType() const;
54 53
55 // Called to create the InfoBar. Implementation of this method is 54 // Called to create the InfoBar. Implementation of this method is
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 // opened for. Used to help expire on navigations. 128 // opened for. Used to help expire on navigations.
130 int contents_unique_id_; 129 int contents_unique_id_;
131 130
132 // TODO(pkasting): Remove. 131 // TODO(pkasting): Remove.
133 InfoBarService* owner_; 132 InfoBarService* owner_;
134 133
135 DISALLOW_COPY_AND_ASSIGN(InfoBarDelegate); 134 DISALLOW_COPY_AND_ASSIGN(InfoBarDelegate);
136 }; 135 };
137 136
138 #endif // CHROME_BROWSER_INFOBARS_INFOBAR_DELEGATE_H_ 137 #endif // CHROME_BROWSER_INFOBARS_INFOBAR_DELEGATE_H_
OLDNEW
« no previous file with comments | « chrome/browser/chrome_browser_field_trials_desktop.cc ('k') | chrome/browser/ui/sync/one_click_signin_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698