diff options
author | yurys@google.com <yurys@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-18 14:53:27 +0000 |
---|---|---|
committer | yurys@google.com <yurys@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-18 14:53:27 +0000 |
commit | daeb1b6db0ddff328b2ed4bc839a9f15936c3496 (patch) | |
tree | 01f282a4c5a98fd625154bcda6759efd13d84c8b /chrome | |
parent | dc514fa1a418fc28c847c52544165ba88bdd0c67 (diff) | |
download | chromium_src-daeb1b6db0ddff328b2ed4bc839a9f15936c3496.zip chromium_src-daeb1b6db0ddff328b2ed4bc839a9f15936c3496.tar.gz chromium_src-daeb1b6db0ddff328b2ed4bc839a9f15936c3496.tar.bz2 |
Add IPC messages to send data between inspected page and developer tools.
Although there is no sematic changes I'd like to commit render_messages_internal.h changes in its own CL since trying to combine this change with other(even unrelated) changes lead to mysterious test failures on linux:
http://build.chromium.org/buildbot/try-server/builders/linux/builds/2878
http://build.chromium.org/buildbot/try-server/builders/linux/builds/2877
http://build.chromium.org/buildbot/try-server/builders/linux/builds/2876
Review URL: http://codereview.chromium.org/21451
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9943 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r-- | chrome/common/render_messages_internal.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/chrome/common/render_messages_internal.h b/chrome/common/render_messages_internal.h index 4310f3f..3a63487 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 */) |