| 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 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 131 std::string /* url */, | 131 std::string /* url */, |
| 132 std::string /* content */, | 132 std::string /* content */, |
| 133 bool /* save_as */) | 133 bool /* save_as */) |
| 134 | 134 |
| 135 // Appends given |content| to the file that has been associated with the | 135 // Appends given |content| to the file that has been associated with the |
| 136 // given |url| by Save message handler. | 136 // given |url| by Save message handler. |
| 137 IPC_MESSAGE_ROUTED2(DevToolsHostMsg_Append, | 137 IPC_MESSAGE_ROUTED2(DevToolsHostMsg_Append, |
| 138 std::string /* url */, | 138 std::string /* url */, |
| 139 std::string /* content */) | 139 std::string /* content */) |
| 140 | 140 |
| 141 // Requests the list of file systems added for devtools previously. |
| 142 IPC_MESSAGE_ROUTED0(DevToolsHostMsg_RequestFilesystems) |
| 143 |
| 144 // Shows a dialog to select a folder to add an isolated file system for. |
| 145 IPC_MESSAGE_ROUTED0(DevToolsHostMsg_AddFilesystem) |
| 146 |
| 147 // Removes previously added devtools file system by given |file_system_path|. |
| 148 IPC_MESSAGE_ROUTED1(DevToolsHostMsg_RemoveFilesystem, |
| 149 std::string /* file_system_path */) |
| 150 |
| 141 // Updates agent runtime state stored in devtools manager in order to support | 151 // Updates agent runtime state stored in devtools manager in order to support |
| 142 // cross-navigation instrumentation. | 152 // cross-navigation instrumentation. |
| 143 IPC_MESSAGE_ROUTED1(DevToolsHostMsg_SaveAgentRuntimeState, | 153 IPC_MESSAGE_ROUTED1(DevToolsHostMsg_SaveAgentRuntimeState, |
| 144 std::string /* state */) | 154 std::string /* state */) |
| 145 | 155 |
| 146 // Clears browser cache. | 156 // Clears browser cache. |
| 147 IPC_MESSAGE_ROUTED0(DevToolsHostMsg_ClearBrowserCache) | 157 IPC_MESSAGE_ROUTED0(DevToolsHostMsg_ClearBrowserCache) |
| 148 | 158 |
| 149 // Clears browser cookies. | 159 // Clears browser cookies. |
| 150 IPC_MESSAGE_ROUTED0(DevToolsHostMsg_ClearBrowserCookies) | 160 IPC_MESSAGE_ROUTED0(DevToolsHostMsg_ClearBrowserCookies) |
| 151 | 161 |
| 152 | 162 |
| 153 //----------------------------------------------------------------------------- | 163 //----------------------------------------------------------------------------- |
| 154 // These are messages sent from the inspected page renderer to the worker | 164 // These are messages sent from the inspected page renderer to the worker |
| 155 // renderer. | 165 // renderer. |
| OLD | NEW |