diff options
author | yurys@google.com <yurys@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-27 11:54:39 +0000 |
---|---|---|
committer | yurys@google.com <yurys@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-27 11:54:39 +0000 |
commit | 87b603ad919c43e94758d36fd0ba0d3eca2382d5 (patch) | |
tree | 7ae907cbe7bd215324ca8203f605e109aa6e124c /chrome/renderer/devtools_messages_internal.h | |
parent | c13fcbd8fa1d88271f31da179fe920bb08007c55 (diff) | |
download | chromium_src-87b603ad919c43e94758d36fd0ba0d3eca2382d5.zip chromium_src-87b603ad919c43e94758d36fd0ba0d3eca2382d5.tar.gz chromium_src-87b603ad919c43e94758d36fd0ba0d3eca2382d5.tar.bz2 |
1. Implemented an agent providing RPC interface to v8 debugger of the inspected page.
2. Introduce new devtools IPC message to distinguish debugger messages and process them on IO thread so that debugger commands can be processed when v8 is stopped on a breakpoint bloking the render thread.
3. Added RPC message to allow devtool client evaluating JS expressions in the context of the inspected page.
Review URL: http://codereview.chromium.org/42594
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12639 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/devtools_messages_internal.h')
-rw-r--r-- | chrome/renderer/devtools_messages_internal.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/chrome/renderer/devtools_messages_internal.h b/chrome/renderer/devtools_messages_internal.h index 685daa3..57af2ae 100644 --- a/chrome/renderer/devtools_messages_internal.h +++ b/chrome/renderer/devtools_messages_internal.h @@ -83,6 +83,13 @@ IPC_BEGIN_MESSAGES(DevToolsAgent) IPC_MESSAGE_CONTROL1(DevToolsAgentMsg_RpcMessage, std::string /* raw_msg */) + // Send debugger command to the debugger agent. Debugger commands should + // be handled on IO thread(while all other devtools messages are handled in + // the render thread) to allow executing the commands when v8 is on a + // breakpoint. + IPC_MESSAGE_CONTROL1(DevToolsAgentMsg_DebuggerCommand, + std::string /* command */) + // Inspect element with the given coordinates. IPC_MESSAGE_CONTROL2(DevToolsAgentMsg_InspectElement, int /* x */, |