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

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

Issue 190063006: Infobar Componentization Proof of Concept (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: minor fixes Created 6 years, 9 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/infobars/simple_alert_infobar_delegate.h
diff --git a/chrome/browser/infobars/simple_alert_infobar_delegate.h b/chrome/browser/infobars/simple_alert_infobar_delegate.h
index 7bd125afaccc5243c33d056de00e163a111e6902..303c43a4ceacbe36e354b231621e818e2042a95c 100644
--- a/chrome/browser/infobars/simple_alert_infobar_delegate.h
+++ b/chrome/browser/infobars/simple_alert_infobar_delegate.h
@@ -10,6 +10,8 @@
#include "base/strings/string16.h"
#include "chrome/browser/infobars/confirm_infobar_delegate.h"
+class InfoBarService;
+
class SimpleAlertInfoBarDelegate : public ConfirmInfoBarDelegate {
public:
// Creates a simple alert infobar and delegate and adds the infobar to
@@ -29,8 +31,8 @@ class SimpleAlertInfoBarDelegate : public ConfirmInfoBarDelegate {
virtual int GetIconID() const OVERRIDE;
virtual base::string16 GetMessageText() const OVERRIDE;
virtual int GetButtons() const OVERRIDE;
- virtual bool ShouldExpireInternal(
- const content::LoadCommittedDetails& details) const OVERRIDE;
+ virtual bool ShouldExpireInternal(const NavigationDetails& details) const
+ OVERRIDE;
const int icon_id_;
base::string16 message_;

Powered by Google App Engine
This is Rietveld 408576698