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

Unified Diff: chrome/browser/ui/website_settings/website_settings_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/ui/website_settings/website_settings_infobar_delegate.h
diff --git a/chrome/browser/ui/website_settings/website_settings_infobar_delegate.h b/chrome/browser/ui/website_settings/website_settings_infobar_delegate.h
index a4dd224665817ea1045fcd4e2ee9718663e2cc61..429a3abc826b408f18cfbab0f97403d622a3a9bd 100644
--- a/chrome/browser/ui/website_settings/website_settings_infobar_delegate.h
+++ b/chrome/browser/ui/website_settings/website_settings_infobar_delegate.h
@@ -5,7 +5,7 @@
#ifndef CHROME_BROWSER_UI_WEBSITE_SETTINGS_WEBSITE_SETTINGS_INFOBAR_DELEGATE_H_
#define CHROME_BROWSER_UI_WEBSITE_SETTINGS_WEBSITE_SETTINGS_INFOBAR_DELEGATE_H_
-#include "chrome/browser/infobars/confirm_infobar_delegate.h"
+#include "chrome/browser/infobars/content_confirm_infobar_delegate.h"
class InfoBarService;
@@ -14,14 +14,14 @@ class InfoBarService;
// changed. The user is shown a message indicating that a reload of the page is
// required for the changes to take effect, and presented a button to perform
// the reload right from the infobar.
-class WebsiteSettingsInfoBarDelegate : public ConfirmInfoBarDelegate {
+class WebsiteSettingsInfoBarDelegate : public ContentConfirmInfoBarDelegate {
public:
// Creates a website settings infobar and delegate and adds the infobar to
// |infobar_service|.
static void Create(InfoBarService* infobar_service);
private:
- WebsiteSettingsInfoBarDelegate();
+ explicit WebsiteSettingsInfoBarDelegate(content::WebContents* web_contents);
virtual ~WebsiteSettingsInfoBarDelegate();
// ConfirmInfoBarDelegate:

Powered by Google App Engine
This is Rietveld 408576698