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

Unified Diff: chrome/browser/infobars/simple_alert_infobar_delegate.h

Issue 22694006: Infobar system refactor. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years 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/infobars/simple_alert_infobar_delegate.h
===================================================================
--- chrome/browser/infobars/simple_alert_infobar_delegate.h (revision 238220)
+++ chrome/browser/infobars/simple_alert_infobar_delegate.h (working copy)
@@ -12,7 +12,8 @@
class SimpleAlertInfoBarDelegate : public ConfirmInfoBarDelegate {
public:
- // Creates a simple alert infobar delegate and adds it to |infobar_service|.
+ // Creates a simple alert infobar and delegate and adds the infobar to
+ // |infobar_service|.
static void Create(InfoBarService* infobar_service,
int icon_id, // May be |kNoIconID| if no icon is shown.
const string16& message,
@@ -19,8 +20,7 @@
bool auto_expire);
private:
- SimpleAlertInfoBarDelegate(InfoBarService* infobar_service,
- int icon_id,
+ SimpleAlertInfoBarDelegate(int icon_id,
const string16& message,
bool auto_expire);
virtual ~SimpleAlertInfoBarDelegate();
« no previous file with comments | « chrome/browser/infobars/insecure_content_infobar_delegate.cc ('k') | chrome/browser/infobars/simple_alert_infobar_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698