| Index: chrome/browser/ui/blocked_content/popup_blocker_tab_helper.cc
|
| diff --git a/chrome/browser/ui/blocked_content/popup_blocker_tab_helper.cc b/chrome/browser/ui/blocked_content/popup_blocker_tab_helper.cc
|
| index 0d27929e56b6780ae2ffa1312fe7f78aeb8b8ba1..551d8317db2b6b05dbb01e0db96d3a70ee035589 100644
|
| --- a/chrome/browser/ui/blocked_content/popup_blocker_tab_helper.cc
|
| +++ b/chrome/browser/ui/blocked_content/popup_blocker_tab_helper.cc
|
| @@ -20,6 +20,10 @@
|
| #include "content/public/browser/web_contents_view.h"
|
| #include "third_party/WebKit/public/web/WebWindowFeatures.h"
|
|
|
| +#if defined(OS_ANDROID)
|
| +#include "chrome/browser/ui/android/tab_model/tab_model_list.h"
|
| +#endif
|
| +
|
| using WebKit::WebWindowFeatures;
|
|
|
| DEFINE_WEB_CONTENTS_USER_DATA_KEY(PopupBlockerTabHelper);
|
| @@ -139,7 +143,11 @@ void PopupBlockerTabHelper::ShowBlockedPopup(int32 id) {
|
| BlockedRequest* popup = blocked_popups_.Lookup(id);
|
| if (!popup)
|
| return;
|
| +#if defined(OS_ANDROID)
|
| + TabModelList::HandlePopupNavigation(&popup->params);
|
| +#else
|
| chrome::Navigate(&popup->params);
|
| +#endif
|
| if (popup->params.target_contents) {
|
| popup->params.target_contents->Send(new ChromeViewMsg_SetWindowFeatures(
|
| popup->params.target_contents->GetRoutingID(), popup->window_features));
|
|
|