| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 // Developer tools consist of the following parts: | 5 // Developer tools consist of the following parts: |
| 6 // | 6 // |
| 7 // DevToolsAgent lives in the renderer of an inspected page and provides access | 7 // DevToolsAgent lives in the renderer of an inspected page and provides access |
| 8 // to the pages resources, DOM, v8 etc. by means of IPC messages. | 8 // to the pages resources, DOM, v8 etc. by means of IPC messages. |
| 9 // | 9 // |
| 10 // DevToolsClient is a thin delegate that lives in the tools front-end | 10 // DevToolsClient is a thin delegate that lives in the tools front-end |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 int /* session_id */) | 83 int /* session_id */) |
| 84 | 84 |
| 85 // Tells agent that a client host was disconnected from another agent and | 85 // Tells agent that a client host was disconnected from another agent and |
| 86 // connected to this one. | 86 // connected to this one. |
| 87 IPC_MESSAGE_ROUTED3(DevToolsAgentMsg_Reattach, | 87 IPC_MESSAGE_ROUTED3(DevToolsAgentMsg_Reattach, |
| 88 std::string /* host_id */, | 88 std::string /* host_id */, |
| 89 int /* session_id */, | 89 int /* session_id */, |
| 90 std::string /* agent_state */) | 90 std::string /* agent_state */) |
| 91 | 91 |
| 92 // Tells agent that there is no longer a client host connected to it. | 92 // Tells agent that there is no longer a client host connected to it. |
| 93 IPC_MESSAGE_ROUTED0(DevToolsAgentMsg_Detach) | 93 IPC_MESSAGE_ROUTED1(DevToolsAgentMsg_Detach, int /* session_id */) |
| 94 | 94 |
| 95 // WebKit-level transport. | 95 // WebKit-level transport. |
| 96 IPC_MESSAGE_ROUTED4(DevToolsAgentMsg_DispatchOnInspectorBackend, | 96 IPC_MESSAGE_ROUTED4(DevToolsAgentMsg_DispatchOnInspectorBackend, |
| 97 int /* session_id */, | 97 int /* session_id */, |
| 98 int /* call_id */, | 98 int /* call_id */, |
| 99 std::string /* method */, | 99 std::string /* method */, |
| 100 std::string /* message */) | 100 std::string /* message */) |
| 101 | 101 |
| 102 // Inspect element with the given coordinates. | 102 // Inspect element with the given coordinates. |
| 103 IPC_MESSAGE_ROUTED3(DevToolsAgentMsg_InspectElement, | 103 IPC_MESSAGE_ROUTED3(DevToolsAgentMsg_InspectElement, |
| (...skipping 24 matching lines...) Expand all Loading... |
| 128 IPC_MESSAGE_ROUTED1(DevToolsMsg_SetupDevToolsClient, | 128 IPC_MESSAGE_ROUTED1(DevToolsMsg_SetupDevToolsClient, |
| 129 std::string /* compatibility script */) | 129 std::string /* compatibility script */) |
| 130 | 130 |
| 131 | 131 |
| 132 //----------------------------------------------------------------------------- | 132 //----------------------------------------------------------------------------- |
| 133 // These are messages sent from the renderer to the browser. | 133 // These are messages sent from the renderer to the browser. |
| 134 | 134 |
| 135 // Transport from Inspector frontend to frontend host. | 135 // Transport from Inspector frontend to frontend host. |
| 136 IPC_MESSAGE_ROUTED1(DevToolsHostMsg_DispatchOnEmbedder, | 136 IPC_MESSAGE_ROUTED1(DevToolsHostMsg_DispatchOnEmbedder, |
| 137 std::string /* message */) | 137 std::string /* message */) |
| OLD | NEW |