summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/devtools_agent.h
diff options
context:
space:
mode:
authorpfeldman@chromium.org <pfeldman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-27 12:36:21 +0000
committerpfeldman@chromium.org <pfeldman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-27 12:36:21 +0000
commit2573a236ea484dd5c07a6871470475a0681722b3 (patch)
tree7c6cb20775086ec74c197b014c0f33f08fd214c8 /chrome/renderer/devtools_agent.h
parent87b603ad919c43e94758d36fd0ba0d3eca2382d5 (diff)
downloadchromium_src-2573a236ea484dd5c07a6871470475a0681722b3.zip
chromium_src-2573a236ea484dd5c07a6871470475a0681722b3.tar.gz
chromium_src-2573a236ea484dd5c07a6871470475a0681722b3.tar.bz2
DevTools: add support for navigating to other tab while inspecting.
Review URL: http://codereview.chromium.org/53098 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12640 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/devtools_agent.h')
-rw-r--r--chrome/renderer/devtools_agent.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/chrome/renderer/devtools_agent.h b/chrome/renderer/devtools_agent.h
index 0e22e5e..c5866e5 100644
--- a/chrome/renderer/devtools_agent.h
+++ b/chrome/renderer/devtools_agent.h
@@ -17,6 +17,7 @@
class MessageLoop;
class RenderView;
+class WebDevToolsAgent;
// Inspected page end of communication channel between the render process of
// the page being inspected and tools UI renderer process. All messages will
@@ -54,15 +55,19 @@ class DevToolsAgent : public IPC::ChannelProxy::MessageFilter,
// Debugger::Delegate callback method to handle debugger output.
void DebuggerOutput(const std::wstring& out);
+ void Attach();
+ void Detach();
void DispatchRpcMessage(const std::string& raw_msg);
-
void InspectElement(int x, int y);
+ WebDevToolsAgent* GetWebAgent();
// Evaluate javascript URL in the renderer
void EvaluateScript(const std::wstring& script);
// All these OnXXX methods will be executed in IO thread so that we can
// handle debug messages even when v8 is stopped.
+ void OnAttach();
+ void OnDetach();
void OnDebugAttach();
void OnDebugDetach();
void OnDebugBreak(bool force);