Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(307)

Unified Diff: chrome/browser/automation/testing_automation_provider.cc

Issue 7322004: DevTools: devtools manager should know nothing about DevToolsWindow (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/automation/testing_automation_provider.cc
diff --git a/chrome/browser/automation/testing_automation_provider.cc b/chrome/browser/automation/testing_automation_provider.cc
index f29dc9441531866b8bcde8f23c0b93887f4a729a..9d98e525d98d729553d161d72c41425a6e084782 100644
--- a/chrome/browser/automation/testing_automation_provider.cc
+++ b/chrome/browser/automation/testing_automation_provider.cc
@@ -97,7 +97,7 @@
#include "chrome/common/pref_names.h"
#include "chrome/common/render_messages.h"
#include "chrome/common/url_constants.h"
-#include "content/browser/debugger/devtools_manager.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/tab_contents/interstitial_page.h"
@@ -1306,8 +1306,7 @@ void TestingAutomationProvider::HandleInspectElementRequest(
DCHECK(!reply_message_);
reply_message_ = reply_message;
- DevToolsManager::GetInstance()->InspectElement(
- tab_contents->render_view_host(), x, y);
+ DevToolsWindow::InspectElement(tab_contents->render_view_host(), x, y);
} else {
AutomationMsg_InspectElement::WriteReplyParams(reply_message, -1);
Send(reply_message);
« no previous file with comments | « no previous file | chrome/browser/extensions/extensions_ui.cc » ('j') | content/browser/debugger/devtools_handler.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698