| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // This header is meant to be included in multiple passes, hence no traditional | 5 // This header is meant to be included in multiple passes, hence no traditional |
| 6 // header guard. | 6 // header guard. |
| 7 // See ipc_message_macros.h for explanation of the macros and passes. | 7 // See ipc_message_macros.h for explanation of the macros and passes. |
| 8 | 8 |
| 9 // Developer tools consist of the following parts: | 9 // Developer tools consist of the following parts: |
| 10 // | 10 // |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 // | 42 // |
| 43 // This file describes developer tools message types. | 43 // This file describes developer tools message types. |
| 44 | 44 |
| 45 #include "ipc/ipc_message_macros.h" | 45 #include "ipc/ipc_message_macros.h" |
| 46 | 46 |
| 47 // These are messages sent from DevToolsAgent to DevToolsClient through the | 47 // These are messages sent from DevToolsAgent to DevToolsClient through the |
| 48 // browser. | 48 // browser. |
| 49 IPC_BEGIN_MESSAGES(DevToolsClient) | 49 IPC_BEGIN_MESSAGES(DevToolsClient) |
| 50 | 50 |
| 51 // Sends glue-level Rpc message to the client. | 51 // Sends glue-level Rpc message to the client. |
| 52 IPC_MESSAGE_CONTROL3(DevToolsClientMsg_RpcMessage, | 52 IPC_MESSAGE_CONTROL5(DevToolsClientMsg_RpcMessage, |
| 53 std::string /* class_name */, | 53 std::string /* class_name */, |
| 54 std::string /* method_name */, | 54 std::string /* method_name */, |
| 55 std::string /* raw_msg */) | 55 std::string /* p1 */, |
| 56 std::string /* p2 */, |
| 57 std::string /* p3 */) |
| 56 | 58 |
| 57 IPC_END_MESSAGES(DevToolsClient) | 59 IPC_END_MESSAGES(DevToolsClient) |
| 58 | 60 |
| 59 | 61 |
| 60 //----------------------------------------------------------------------------- | 62 //----------------------------------------------------------------------------- |
| 61 // These are messages sent from DevToolsClient to DevToolsAgent through the | 63 // These are messages sent from DevToolsClient to DevToolsAgent through the |
| 62 // browser. | 64 // browser. |
| 63 IPC_BEGIN_MESSAGES(DevToolsAgent) | 65 IPC_BEGIN_MESSAGES(DevToolsAgent) |
| 64 | 66 |
| 65 // Tells agent that there is a client host connected to it. | 67 // Tells agent that there is a client host connected to it. |
| 66 IPC_MESSAGE_CONTROL0(DevToolsAgentMsg_Attach) | 68 IPC_MESSAGE_CONTROL0(DevToolsAgentMsg_Attach) |
| 67 | 69 |
| 68 // Tells agent that there is no longer a client host connected to it. | 70 // Tells agent that there is no longer a client host connected to it. |
| 69 IPC_MESSAGE_CONTROL0(DevToolsAgentMsg_Detach) | 71 IPC_MESSAGE_CONTROL0(DevToolsAgentMsg_Detach) |
| 70 | 72 |
| 71 // Sends glue-level Rpc message to the agent. | 73 // Sends glue-level Rpc message to the agent. |
| 72 IPC_MESSAGE_CONTROL3(DevToolsAgentMsg_RpcMessage, | 74 IPC_MESSAGE_CONTROL5(DevToolsAgentMsg_RpcMessage, |
| 73 std::string /* class_name */, | 75 std::string /* class_name */, |
| 74 std::string /* method_name */, | 76 std::string /* method_name */, |
| 75 std::string /* raw_msg */) | 77 std::string /* p1 */, |
| 78 std::string /* p2 */, |
| 79 std::string /* p3 */) |
| 76 | 80 |
| 77 // Send debugger command to the debugger agent. Debugger commands should | 81 // Send debugger command to the debugger agent. Debugger commands should |
| 78 // be handled on IO thread(while all other devtools messages are handled in | 82 // be handled on IO thread(while all other devtools messages are handled in |
| 79 // the render thread) to allow executing the commands when v8 is on a | 83 // the render thread) to allow executing the commands when v8 is on a |
| 80 // breakpoint. | 84 // breakpoint. |
| 81 IPC_MESSAGE_CONTROL1(DevToolsAgentMsg_DebuggerCommand, | 85 IPC_MESSAGE_CONTROL1(DevToolsAgentMsg_DebuggerCommand, |
| 82 std::string /* command */) | 86 std::string /* command */) |
| 83 | 87 |
| 84 // Inspect element with the given coordinates. | 88 // Inspect element with the given coordinates. |
| 85 IPC_MESSAGE_CONTROL2(DevToolsAgentMsg_InspectElement, | 89 IPC_MESSAGE_CONTROL2(DevToolsAgentMsg_InspectElement, |
| 86 int /* x */, | 90 int /* x */, |
| 87 int /* y */) | 91 int /* y */) |
| 88 | 92 |
| 89 IPC_END_MESSAGES(DevToolsAgent) | 93 IPC_END_MESSAGES(DevToolsAgent) |
| OLD | NEW |