summaryrefslogtreecommitdiffstats
path: root/chrome/browser/external_tab_container_win.cc
diff options
context:
space:
mode:
authorjoi@chromium.org <joi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-06 15:18:04 +0000
committerjoi@chromium.org <joi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-06 15:18:04 +0000
commit7419d4b42d6be9b4b0f93c3fc4a85ca104e24821 (patch)
tree93896973bafb635a55e3595bb772356b21b405d0 /chrome/browser/external_tab_container_win.cc
parente608d5644b2b4c76ffad9a7d443f338746256e8b (diff)
downloadchromium_src-7419d4b42d6be9b4b0f93c3fc4a85ca104e24821.zip
chromium_src-7419d4b42d6be9b4b0f93c3fc4a85ca104e24821.tar.gz
chromium_src-7419d4b42d6be9b4b0f93c3fc4a85ca104e24821.tar.bz2
Remove extension automation support that was used only by CEEE.
BUG=none TEST=all automated tests pass Review URL: http://codereview.chromium.org/6756044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80626 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/external_tab_container_win.cc')
-rw-r--r--chrome/browser/external_tab_container_win.cc23
1 files changed, 0 insertions, 23 deletions
diff --git a/chrome/browser/external_tab_container_win.cc b/chrome/browser/external_tab_container_win.cc
index b2f3ade..a2c9b04 100644
--- a/chrome/browser/external_tab_container_win.cc
+++ b/chrome/browser/external_tab_container_win.cc
@@ -13,7 +13,6 @@
#include "base/win/win_util.h"
#include "chrome/app/chrome_command_ids.h"
#include "chrome/app/chrome_dll_resource.h"
-#include "chrome/browser/automation/automation_extension_function.h"
#include "chrome/browser/automation/automation_provider.h"
#include "chrome/browser/browser_window.h"
#include "chrome/browser/debugger/devtools_manager.h"
@@ -95,7 +94,6 @@ ExternalTabContainer::ExternalTabContainer(
load_requests_via_automation_(false),
handle_top_level_requests_(false),
external_method_factory_(this),
- enabled_extension_automation_(false),
pending_(false),
infobars_enabled_(true),
focus_manager_(NULL),
@@ -211,10 +209,6 @@ bool ExternalTabContainer::Init(Profile* profile,
}
void ExternalTabContainer::Uninitialize() {
- if (enabled_extension_automation_) {
- AutomationExtensionFunction::Disable();
- }
-
registrar_.RemoveAll();
if (tab_contents_.get()) {
UnregisterRenderViewHost(tab_contents_->render_view_host());
@@ -922,23 +916,6 @@ scoped_refptr<ExternalTabContainer> ExternalTabContainer::RemovePendingTab(
return NULL;
}
-void ExternalTabContainer::SetEnableExtensionAutomation(
- const std::vector<std::string>& functions_enabled) {
- if (!functions_enabled.empty()) {
- if (!tab_contents_.get()) {
- NOTREACHED() << "Being invoked via tab so should have TabContents";
- return;
- }
-
- AutomationExtensionFunction::Enable(tab_contents_->tab_contents(),
- functions_enabled);
- enabled_extension_automation_ = true;
- } else {
- AutomationExtensionFunction::Disable();
- enabled_extension_automation_ = false;
- }
-}
-
void ExternalTabContainer::InfoBarContainerHeightChanged(bool is_animating) {
if (external_tab_view_)
external_tab_view_->Layout();