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

Unified Diff: chrome/browser/media/media_stream_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/media/media_stream_infobar_delegate.h
diff --git a/chrome/browser/media/media_stream_infobar_delegate.h b/chrome/browser/media/media_stream_infobar_delegate.h
index bd1b0d68dfdb5413dc16d04be455e24ba69b090b..0137d0ab9790dbbe314ee2353efbd7c3846900b8 100644
--- a/chrome/browser/media/media_stream_infobar_delegate.h
+++ b/chrome/browser/media/media_stream_infobar_delegate.h
@@ -8,7 +8,7 @@
#include <string>
#include "base/compiler_specific.h"
-#include "chrome/browser/infobars/confirm_infobar_delegate.h"
+#include "chrome/browser/infobars/content_confirm_infobar_delegate.h"
#include "chrome/browser/media/media_stream_devices_controller.h"
@@ -17,7 +17,7 @@
// which audio and/or video devices he wishes to use with the current page, and
// buttons to give access to the selected devices to the page, or to deny access
// to them.
-class MediaStreamInfoBarDelegate : public ConfirmInfoBarDelegate {
+class MediaStreamInfoBarDelegate : public ContentConfirmInfoBarDelegate {
public:
virtual ~MediaStreamInfoBarDelegate();
@@ -34,6 +34,7 @@ class MediaStreamInfoBarDelegate : public ConfirmInfoBarDelegate {
friend class WebRtcTestBase;
explicit MediaStreamInfoBarDelegate(
+ content::WebContents* web_contents,
scoped_ptr<MediaStreamDevicesController> controller);
// ConfirmInfoBarDelegate:

Powered by Google App Engine
This is Rietveld 408576698