| 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 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 121 | 121 |
| 122 // Clears browser cookies. | 122 // Clears browser cookies. |
| 123 IPC_MESSAGE_ROUTED0(DevToolsHostMsg_ClearBrowserCookies) | 123 IPC_MESSAGE_ROUTED0(DevToolsHostMsg_ClearBrowserCookies) |
| 124 | 124 |
| 125 //----------------------------------------------------------------------------- | 125 //----------------------------------------------------------------------------- |
| 126 // These are messages sent from the GPU process to the inspected renderer. | 126 // These are messages sent from the GPU process to the inspected renderer. |
| 127 | 127 |
| 128 IPC_STRUCT_BEGIN(GpuTaskInfo) | 128 IPC_STRUCT_BEGIN(GpuTaskInfo) |
| 129 IPC_STRUCT_MEMBER(double, timestamp) | 129 IPC_STRUCT_MEMBER(double, timestamp) |
| 130 IPC_STRUCT_MEMBER(int, phase) | 130 IPC_STRUCT_MEMBER(int, phase) |
| 131 IPC_STRUCT_MEMBER(unsigned, owner_pid) | 131 IPC_STRUCT_MEMBER(bool, foreign) |
| 132 IPC_STRUCT_END() | 132 IPC_STRUCT_END() |
| 133 | 133 |
| 134 // Recorded events are passed in chunks to the renderer process. | 134 // Recorded events are passed in chunks to the renderer process. |
| 135 IPC_MESSAGE_ROUTED1(DevToolsAgentMsg_GpuTasksChunk, | 135 IPC_MESSAGE_ROUTED1(DevToolsAgentMsg_GpuTasksChunk, |
| 136 std::vector<GpuTaskInfo> /* gpu_tasks */) | 136 std::vector<GpuTaskInfo> /* gpu_tasks */) |
| 137 | 137 |
| 138 //----------------------------------------------------------------------------- | 138 //----------------------------------------------------------------------------- |
| 139 // These are messages sent from the inspected page renderer to the worker | 139 // These are messages sent from the inspected page renderer to the worker |
| 140 // renderer. | 140 // renderer. |
| OLD | NEW |