| Index: chrome/browser/ui/browser.cc
|
| ===================================================================
|
| --- chrome/browser/ui/browser.cc (revision 98890)
|
| +++ chrome/browser/ui/browser.cc (working copy)
|
| @@ -91,7 +91,6 @@
|
| #include "chrome/browser/ui/find_bar/find_bar.h"
|
| #include "chrome/browser/ui/find_bar/find_bar_controller.h"
|
| #include "chrome/browser/ui/find_bar/find_tab_helper.h"
|
| -#include "chrome/browser/ui/intents/web_intent_picker_controller.h"
|
| #include "chrome/browser/ui/omnibox/location_bar.h"
|
| #include "chrome/browser/ui/panels/panel.h"
|
| #include "chrome/browser/ui/panels/panel_manager.h"
|
| @@ -2505,16 +2504,11 @@
|
| if (!CommandLine::ForCurrentProcess()->HasSwitch(switches::kEnableWebIntents))
|
| return;
|
|
|
| - TabContentsWrapper* tcw = TabContentsWrapper::GetCurrentWrapperForContents(
|
| - tab);
|
| -
|
| DLOG(INFO) << "Browser tab contents received intent:"
|
| << "\naction=" << UTF16ToASCII(action)
|
| << "\ntype=" << UTF16ToASCII(type)
|
| << "\nrenderer_id=" << routing_id
|
| << "\nid=" << intent_id;
|
| -
|
| - tcw->web_intent_picker_controller()->ShowDialog(action, type);
|
| }
|
|
|
| void Browser::ExecuteCommandWithDisposition(
|
|
|