diff options
author | pfeldman@chromium.org <pfeldman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-24 13:17:12 +0000 |
---|---|---|
committer | pfeldman@chromium.org <pfeldman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-24 13:17:12 +0000 |
commit | d9f9b79f3dcdf43bdedb0447b0d5c37f411b6f36 (patch) | |
tree | 27e1dcf61d00586b8b6f6d7435d8bb0edba5bb0d /chrome/browser/automation | |
parent | 936c937ac987d88f2898132a924ef45d329c8af2 (diff) | |
download | chromium_src-d9f9b79f3dcdf43bdedb0447b0d5c37f411b6f36.zip chromium_src-d9f9b79f3dcdf43bdedb0447b0d5c37f411b6f36.tar.gz chromium_src-d9f9b79f3dcdf43bdedb0447b0d5c37f411b6f36.tar.bz2 |
DevTools: remove ShowJavaScriptConsole / InspectElementAt methods from render_view_host API.
Review URL: http://codereview.chromium.org/146080
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19112 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/automation')
-rwxr-xr-x | chrome/browser/automation/automation_provider.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/browser/automation/automation_provider.cc b/chrome/browser/automation/automation_provider.cc index 5db7a8a..ce26d28 100755 --- a/chrome/browser/automation/automation_provider.cc +++ b/chrome/browser/automation/automation_provider.cc @@ -28,6 +28,7 @@ #include "chrome/browser/browser_process.h" #include "chrome/browser/browser_window.h" #include "chrome/browser/dom_operation_notification_details.h" +#include "chrome/browser/debugger/devtools_manager.h" #include "chrome/browser/download/download_manager.h" #include "chrome/browser/download/download_shelf.h" #include "chrome/browser/extensions/extension_message_service.h" @@ -2072,7 +2073,8 @@ void AutomationProvider::HandleInspectElementRequest( DCHECK(reply_message_ == NULL); reply_message_ = reply_message; - tab_contents->render_view_host()->InspectElementAt(x, y); + DevToolsManager::GetInstance()->InspectElement( + tab_contents->render_view_host(), x, y); } else { AutomationMsg_InspectElement::WriteReplyParams(reply_message, -1); Send(reply_message); |