diff options
author | yurys@chromium.org <yurys@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-07 12:36:59 +0000 |
---|---|---|
committer | yurys@chromium.org <yurys@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-07 12:36:59 +0000 |
commit | aebdd074d36cec14457d72889db06bf210d77909 (patch) | |
tree | 957139c9351048ed4e1a2f81d6c194c85b4bbde6 /chrome/browser/extensions/extensions_ui.cc | |
parent | b633e039eb90f3820ed00a347a7678b97dd2341b (diff) | |
download | chromium_src-aebdd074d36cec14457d72889db06bf210d77909.zip chromium_src-aebdd074d36cec14457d72889db06bf210d77909.tar.gz chromium_src-aebdd074d36cec14457d72889db06bf210d77909.tar.bz2 |
DevTools: devtools manager should know nothing about DevToolsWindow
All code specific to DevToolsWindow moved into that class. There is
no DevToolsClientHost::AsDevToolsWindow method anymore. To open
devtools window clients should invoke corresponding static methods on
DevToolsWindow which is the only way to create default devtools window.
BUG=None
TEST=Existing DevTools tests.
Review URL: http://codereview.chromium.org/7322004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91695 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/extensions_ui.cc')
-rw-r--r-- | chrome/browser/extensions/extensions_ui.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/chrome/browser/extensions/extensions_ui.cc b/chrome/browser/extensions/extensions_ui.cc index 371f977..3b7729a 100644 --- a/chrome/browser/extensions/extensions_ui.cc +++ b/chrome/browser/extensions/extensions_ui.cc @@ -35,8 +35,7 @@ #include "chrome/common/jstemplate_builder.h" #include "chrome/common/pref_names.h" #include "chrome/common/url_constants.h" -#include "content/browser/debugger/devtools_manager.h" -#include "content/browser/debugger/devtools_toggle_action.h" +#include "content/browser/debugger/devtools_window.h" #include "content/browser/renderer_host/render_process_host.h" #include "content/browser/renderer_host/render_view_host.h" #include "content/browser/renderer_host/render_widget_host.h" @@ -351,7 +350,7 @@ void ExtensionsDOMHandler::HandleInspectMessage(const ListValue* args) { return; } - DevToolsManager::GetInstance()->OpenDevToolsWindow(host); + DevToolsWindow::OpenDevToolsWindow(host); } void ExtensionsDOMHandler::HandleReloadMessage(const ListValue* args) { |