summaryrefslogtreecommitdiffstats
path: root/chrome/common
diff options
context:
space:
mode:
authoryurys@google.com <yurys@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-16 14:12:53 +0000
committeryurys@google.com <yurys@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-16 14:12:53 +0000
commit48764c72b775bdc62aa43eedaea00ca01597e9ff (patch)
treee3f2e20b62de4fbd071b803d3590d9da765b7023 /chrome/common
parentc855113f01088a707fb7538f6c54e284635cc779 (diff)
downloadchromium_src-48764c72b775bdc62aa43eedaea00ca01597e9ff.zip
chromium_src-48764c72b775bdc62aa43eedaea00ca01597e9ff.tar.gz
chromium_src-48764c72b775bdc62aa43eedaea00ca01597e9ff.tar.bz2
Review URL: http://codereview.chromium.org/20405
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9855 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r--chrome/common/render_messages_internal.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/chrome/common/render_messages_internal.h b/chrome/common/render_messages_internal.h
index 915f8c7..ecff1ab 100644
--- a/chrome/common/render_messages_internal.h
+++ b/chrome/common/render_messages_internal.h
@@ -238,6 +238,24 @@ IPC_BEGIN_MESSAGES(View)
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::RendererCreated 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)
+
// Change the zoom level in the renderer.
IPC_MESSAGE_ROUTED1(ViewMsg_Zoom,
int /* One of PageZoom::Function */)
@@ -966,6 +984,18 @@ IPC_BEGIN_MESSAGES(ViewHost)
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 */)
+
+ // Message addressed to ToolsAgent sent by ToolsClient to browser so that the
+ // latter can forward it.
+ IPC_MESSAGE_ROUTED2(ViewHostMsg_ToolsAgentMsg,
+ int, /* tools msg type */
+ std::wstring /* body */)
+
// Send back a string to be recorded by UserMetrics.
IPC_MESSAGE_ROUTED1(ViewHostMsg_UserMetricsRecordAction,
std::wstring /* action */)