| Index: chrome/browser/external_tab_container.cc
|
| diff --git a/chrome/browser/external_tab_container.cc b/chrome/browser/external_tab_container.cc
|
| index d7e483687b567afa5801909087360c9f1f4b6396..68fc66bb127c7ea102634160dfd5af1a7b4612ac 100644
|
| --- a/chrome/browser/external_tab_container.cc
|
| +++ b/chrome/browser/external_tab_container.cc
|
| @@ -10,13 +10,13 @@
|
| #include "base/win_util.h"
|
| #include "chrome/browser/automation/automation_provider.h"
|
| #include "chrome/browser/browser.h"
|
| -#include "chrome/browser/extensions/extension_function_dispatcher.h"
|
| #include "chrome/browser/load_notification_details.h"
|
| #include "chrome/browser/profile.h"
|
| #include "chrome/browser/tab_contents/provisional_load_details.h"
|
| #include "chrome/browser/views/tab_contents/render_view_context_menu_external_win.h"
|
| #include "chrome/browser/tab_contents/tab_contents.h"
|
| #include "chrome/browser/views/tab_contents/tab_contents_container.h"
|
| +#include "chrome/common/bindings_policy.h"
|
| #include "chrome/common/chrome_constants.h"
|
| #include "chrome/common/notification_service.h"
|
| #include "chrome/test/automation/automation_messages.h"
|
| @@ -66,7 +66,8 @@ bool ExternalTabContainer::Init(Profile* profile,
|
|
|
| tab_contents_ = new TabContents(profile, NULL, MSG_ROUTING_NONE, NULL);
|
| tab_contents_->set_delegate(this);
|
| - tab_contents_->render_view_host()->AllowExternalHostBindings();
|
| + tab_contents_->render_view_host()->AllowBindings(
|
| + BindingsPolicy::EXTERNAL_HOST);
|
|
|
| // Create a TabContentsContainer to handle focus cycling using Tab and
|
| // Shift-Tab.
|
| @@ -246,12 +247,6 @@ void ExternalTabContainer::ForwardMessageToExternalHost(
|
| }
|
| }
|
|
|
| -ExtensionFunctionDispatcher* ExternalTabContainer::
|
| - CreateExtensionFunctionDispatcher(RenderViewHost* render_view_host,
|
| - const std::string& extension_id) {
|
| - return new ExtensionFunctionDispatcher(render_view_host, NULL, extension_id);
|
| -}
|
| -
|
| bool ExternalTabContainer::TakeFocus(bool reverse) {
|
| if (automation_) {
|
| automation_->Send(new AutomationMsg_TabbedOut(0, tab_handle_,
|
|
|