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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 IPC_MESSAGE_ROUTED3(DevToolsAgentMsg_InspectElement, | 87 IPC_MESSAGE_ROUTED3(DevToolsAgentMsg_InspectElement, |
88 std::string /* host_id */, | 88 std::string /* host_id */, |
89 int /* x */, | 89 int /* x */, |
90 int /* y */) | 90 int /* y */) |
91 | 91 |
92 // Add message to the devtools console. | 92 // Add message to the devtools console. |
93 IPC_MESSAGE_ROUTED2(DevToolsAgentMsg_AddMessageToConsole, | 93 IPC_MESSAGE_ROUTED2(DevToolsAgentMsg_AddMessageToConsole, |
94 content::ConsoleMessageLevel /* level */, | 94 content::ConsoleMessageLevel /* level */, |
95 std::string /* message */) | 95 std::string /* message */) |
96 | 96 |
97 // Worker DevTools agent should resume worker execution. | |
98 IPC_MESSAGE_ROUTED0(DevToolsAgentMsg_ResumeWorkerContext) | |
99 | |
100 //----------------------------------------------------------------------------- | 97 //----------------------------------------------------------------------------- |
101 // These are messages sent from the browser to the renderer. | 98 // These are messages sent from the browser to the renderer. |
102 | 99 |
103 // RenderViewHostDelegate::RenderViewCreated method sends this message to a | 100 // RenderViewHostDelegate::RenderViewCreated method sends this message to a |
104 // new renderer to notify it that it will host developer tools UI and should | 101 // new renderer to notify it that it will host developer tools UI and should |
105 // set up all neccessary bindings and create DevToolsClient instance that | 102 // set up all neccessary bindings and create DevToolsClient instance that |
106 // will handle communication with inspected page DevToolsAgent. | 103 // will handle communication with inspected page DevToolsAgent. |
107 IPC_MESSAGE_ROUTED0(DevToolsMsg_SetupDevToolsClient) | 104 IPC_MESSAGE_ROUTED0(DevToolsMsg_SetupDevToolsClient) |
108 | 105 |
109 | 106 |
(...skipping 20 matching lines...) Expand all Loading... |
130 IPC_STRUCT_MEMBER(uint64, gpu_memory_limit_bytes) | 127 IPC_STRUCT_MEMBER(uint64, gpu_memory_limit_bytes) |
131 IPC_STRUCT_END() | 128 IPC_STRUCT_END() |
132 | 129 |
133 // Recorded events are passed in chunks to the renderer process. | 130 // Recorded events are passed in chunks to the renderer process. |
134 IPC_MESSAGE_ROUTED1(DevToolsAgentMsg_GpuTasksChunk, | 131 IPC_MESSAGE_ROUTED1(DevToolsAgentMsg_GpuTasksChunk, |
135 std::vector<GpuTaskInfo> /* gpu_tasks */) | 132 std::vector<GpuTaskInfo> /* gpu_tasks */) |
136 | 133 |
137 //----------------------------------------------------------------------------- | 134 //----------------------------------------------------------------------------- |
138 // These are messages sent from the inspected page renderer to the worker | 135 // These are messages sent from the inspected page renderer to the worker |
139 // renderer. | 136 // renderer. |
OLD | NEW |