Index: chrome/browser/ui/views/external_tab_container_win.cc |
=================================================================== |
--- chrome/browser/ui/views/external_tab_container_win.cc (revision 175396) |
+++ chrome/browser/ui/views/external_tab_container_win.cc (working copy) |
@@ -25,6 +25,7 @@ |
#include "chrome/browser/file_select_helper.h" |
#include "chrome/browser/history/history_tab_helper.h" |
#include "chrome/browser/history/history_types.h" |
+#include "chrome/browser/intents/register_intent_handler_infobar_delegate.h" |
#include "chrome/browser/pepper_broker_infobar_delegate.h" |
#include "chrome/browser/profiles/profile.h" |
#include "chrome/browser/repost_form_warning_controller.h" |
@@ -34,6 +35,7 @@ |
#include "chrome/browser/ui/browser.h" |
#include "chrome/browser/ui/browser_tab_contents.h" |
#include "chrome/browser/ui/browser_window.h" |
+#include "chrome/browser/ui/media_stream_infobar_delegate.h" |
#include "chrome/browser/ui/tab_modal_confirm_dialog.h" |
#include "chrome/browser/ui/views/infobars/infobar_container_view.h" |
#include "chrome/browser/ui/views/tab_contents/render_view_context_menu_win.h" |
@@ -800,7 +802,7 @@ |
WebContents* tab, |
const webkit_glue::WebIntentServiceData& data, |
bool user_gesture) { |
- Browser::RegisterIntentHandlerHelper(tab, data, user_gesture); |
+ RegisterIntentHandlerInfoBarDelegate::Create(tab, data); |
} |
void ExternalTabContainerWin::WebIntentDispatch( |
@@ -825,7 +827,7 @@ |
content::WebContents* web_contents, |
const content::MediaStreamRequest& request, |
const content::MediaResponseCallback& callback) { |
- Browser::RequestMediaAccessPermissionHelper(web_contents, request, callback); |
+ MediaStreamInfoBarDelegate::Create(web_contents, request, callback); |
} |
bool ExternalTabContainerWin::RequestPpapiBrokerPermission( |
@@ -833,7 +835,7 @@ |
const GURL& url, |
const FilePath& plugin_path, |
const base::Callback<void(bool)>& callback) { |
- PepperBrokerInfoBarDelegate::Show(web_contents, url, plugin_path, callback); |
+ PepperBrokerInfoBarDelegate::Create(web_contents, url, plugin_path, callback); |
return true; |
} |