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

Unified Diff: chrome/browser/ui/content_settings/media_setting_changed_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/content_settings/media_setting_changed_infobar_delegate.h
diff --git a/chrome/browser/ui/content_settings/media_setting_changed_infobar_delegate.h b/chrome/browser/ui/content_settings/media_setting_changed_infobar_delegate.h
index 073c21fd87e14923537e5599ee8ada201ec243b0..ddeece0670a835792ba8dc3728bdfbaaccca601b 100644
--- a/chrome/browser/ui/content_settings/media_setting_changed_infobar_delegate.h
+++ b/chrome/browser/ui/content_settings/media_setting_changed_infobar_delegate.h
@@ -5,20 +5,22 @@
#ifndef CHROME_BROWSER_UI_CONTENT_SETTINGS_MEDIA_SETTING_CHANGED_INFOBAR_DELEGATE_H_
#define CHROME_BROWSER_UI_CONTENT_SETTINGS_MEDIA_SETTING_CHANGED_INFOBAR_DELEGATE_H_
-#include "chrome/browser/infobars/confirm_infobar_delegate.h"
+#include "chrome/browser/infobars/content_confirm_infobar_delegate.h"
class InfoBarService;
// An infobar that tells the user a reload is required after changing media
// settings, and allows a reload via a button on the infobar.
-class MediaSettingChangedInfoBarDelegate : public ConfirmInfoBarDelegate {
+class MediaSettingChangedInfoBarDelegate
+ : public ContentConfirmInfoBarDelegate {
public:
// Creates a media setting changed infobar and delegate and adds the infobar
// to |infobar_service|.
static void Create(InfoBarService* infobar_service);
private:
- MediaSettingChangedInfoBarDelegate();
+ explicit MediaSettingChangedInfoBarDelegate(
+ content::WebContents* web_contents);
virtual ~MediaSettingChangedInfoBarDelegate();
// ConfirmInfoBarDelegate:

Powered by Google App Engine
This is Rietveld 408576698