Index: chrome/common/render_messages_internal.h |
=================================================================== |
--- chrome/common/render_messages_internal.h (revision 10454) |
+++ chrome/common/render_messages_internal.h (working copy) |
@@ -240,23 +240,11 @@ |
IPC_MESSAGE_ROUTED1(ViewMsg_DebugCommand, |
std::wstring /* cmd */) |
- // Message addressed to ToolsClient. It results from forwarding |
- // ViewHostMsg_ToolsClientMsg by the browser. |
- IPC_MESSAGE_ROUTED2(ViewMsg_ToolsClientMsg, |
- int, /* tools msg type */ |
- std::wstring /* body */) |
- |
- // Message addressed to ToolsAgent. It results from forwarding |
- // ViewHostMsg_ToolsAgentMsg by the browser. |
- IPC_MESSAGE_ROUTED2(ViewMsg_ToolsAgentMsg, |
- int, /* tools msg type */ |
- std::wstring /* body */) |
- |
- // RenderViewHostDelegate::RendererViewCreated method sends this message to a |
+ // RenderViewHostDelegate::RenderViewCreated method sends this message to a |
// new renderer to notify it that it will host developer tools UI and should |
- // set up all neccessary bindings and create ToolsClient instance that will |
- // handle communication with inspected page ToolsAgent. |
- IPC_MESSAGE_ROUTED0(ViewMsg_SetUpToolsClient) |
+ // set up all neccessary bindings and create DevToolsClient instance that |
+ // will handle communication with inspected page DevToolsAgent. |
+ IPC_MESSAGE_ROUTED0(ViewMsg_SetupDevToolsClient) |
// Change the zoom level in the renderer. |
IPC_MESSAGE_ROUTED1(ViewMsg_Zoom, |
@@ -1012,14 +1000,16 @@ |
IPC_MESSAGE_ROUTED1(ViewHostMsg_DebuggerOutput, |
std::wstring /* msg */) |
- // Message addressed to ToolsClient sent by ToolsAgent to browser so that the |
- // latter can forward it. |
- IPC_MESSAGE_ROUTED2(ViewHostMsg_ToolsClientMsg, |
- int, /* tools msg type */ |
- std::wstring /* body */) |
+ // Wraps an IPC message that's destined to the DevToolsClient on |
+ // DevToolsAgent->browser hop. |
+ IPC_MESSAGE_ROUTED1(ViewHostMsg_ForwardToDevToolsClient, |
+ IPC::Message /* one of DevToolsClientMsg_XXX types */) |
- // Message addressed to ToolsAgent sent by ToolsClient to browser so that the |
- // latter can forward it. |
+ // Wraps an IPC message that's destined to the DevToolsAgent on |
+ // DevToolsClient->browser hop. |
+ IPC_MESSAGE_ROUTED1(ViewHostMsg_ForwardToDevToolsAgent, |
+ IPC::Message /* one of DevToolsAgentMsg_XXX types */) |
+ |
IPC_MESSAGE_ROUTED2(ViewHostMsg_ToolsAgentMsg, |
int, /* tools msg type */ |
std::wstring /* body */) |