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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 | 58 |
59 IPC_END_MESSAGES(DevToolsClient) | 59 IPC_END_MESSAGES(DevToolsClient) |
60 | 60 |
61 | 61 |
62 //----------------------------------------------------------------------------- | 62 //----------------------------------------------------------------------------- |
63 // These are messages sent from DevToolsClient to DevToolsAgent through the | 63 // These are messages sent from DevToolsClient to DevToolsAgent through the |
64 // browser. | 64 // browser. |
65 IPC_BEGIN_MESSAGES(DevToolsAgent) | 65 IPC_BEGIN_MESSAGES(DevToolsAgent) |
66 | 66 |
67 // Tells agent that there is a client host connected to it. | 67 // Tells agent that there is a client host connected to it. |
68 IPC_MESSAGE_CONTROL0(DevToolsAgentMsg_Attach) | 68 IPC_MESSAGE_CONTROL1(DevToolsAgentMsg_Attach, |
| 69 std::vector<std::string> /* runtime_features */) |
69 | 70 |
70 // Tells agent that there is no longer a client host connected to it. | 71 // Tells agent that there is no longer a client host connected to it. |
71 IPC_MESSAGE_CONTROL0(DevToolsAgentMsg_Detach) | 72 IPC_MESSAGE_CONTROL0(DevToolsAgentMsg_Detach) |
72 | 73 |
73 // Sends glue-level Rpc message to the agent. | 74 // Sends glue-level Rpc message to the agent. |
74 IPC_MESSAGE_CONTROL5(DevToolsAgentMsg_RpcMessage, | 75 IPC_MESSAGE_CONTROL5(DevToolsAgentMsg_RpcMessage, |
75 std::string /* class_name */, | 76 std::string /* class_name */, |
76 std::string /* method_name */, | 77 std::string /* method_name */, |
77 std::string /* p1 */, | 78 std::string /* p1 */, |
78 std::string /* p2 */, | 79 std::string /* p2 */, |
79 std::string /* p3 */) | 80 std::string /* p3 */) |
80 | 81 |
81 // Send debugger command to the debugger agent. Debugger commands should | 82 // Send debugger command to the debugger agent. Debugger commands should |
82 // be handled on IO thread(while all other devtools messages are handled in | 83 // be handled on IO thread(while all other devtools messages are handled in |
83 // the render thread) to allow executing the commands when v8 is on a | 84 // the render thread) to allow executing the commands when v8 is on a |
84 // breakpoint. | 85 // breakpoint. |
85 IPC_MESSAGE_CONTROL1(DevToolsAgentMsg_DebuggerCommand, | 86 IPC_MESSAGE_CONTROL1(DevToolsAgentMsg_DebuggerCommand, |
86 std::string /* command */) | 87 std::string /* command */) |
87 | 88 |
88 // Inspect element with the given coordinates. | 89 // Inspect element with the given coordinates. |
89 IPC_MESSAGE_CONTROL2(DevToolsAgentMsg_InspectElement, | 90 IPC_MESSAGE_CONTROL2(DevToolsAgentMsg_InspectElement, |
90 int /* x */, | 91 int /* x */, |
91 int /* y */) | 92 int /* y */) |
92 | 93 |
93 // Enables/disables the apu agent. | 94 // Enables/disables the apu agent. |
94 IPC_MESSAGE_CONTROL1(DevToolsAgentMsg_SetApuAgentEnabled, bool /* enabled */) | 95 IPC_MESSAGE_CONTROL1(DevToolsAgentMsg_SetApuAgentEnabled, bool /* enabled */) |
95 | 96 |
96 IPC_END_MESSAGES(DevToolsAgent) | 97 IPC_END_MESSAGES(DevToolsAgent) |
OLD | NEW |