Chromium Code Reviews| 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 system pathes where devtools was granted access. | |
| 142 IPC_MESSAGE_ROUTED0(DevToolsHostMsg_RequestFileSystemPermissions) | |
|
pfeldman
2012/12/24 19:01:03
Again, these names do not sound clear.
| |
| 143 | |
| 144 // Shows select folder dialog and grants devtools file system access permissions | |
| 145 // to selected folder. | |
| 146 IPC_MESSAGE_ROUTED0(DevToolsHostMsg_SelectFolderAndGrantFileSystemPermission) | |
| 147 | |
| 148 // Revokes devtools file system access permissions by given |file_system_path|. | |
| 149 IPC_MESSAGE_ROUTED1(DevToolsHostMsg_RevokeFileSystemPermission, | |
| 150 std::string /* file_system_path */) | |
| 151 | |
| 141 // Updates agent runtime state stored in devtools manager in order to support | 152 // Updates agent runtime state stored in devtools manager in order to support |
| 142 // cross-navigation instrumentation. | 153 // cross-navigation instrumentation. |
| 143 IPC_MESSAGE_ROUTED1(DevToolsHostMsg_SaveAgentRuntimeState, | 154 IPC_MESSAGE_ROUTED1(DevToolsHostMsg_SaveAgentRuntimeState, |
| 144 std::string /* state */) | 155 std::string /* state */) |
| 145 | 156 |
| 146 // Clears browser cache. | 157 // Clears browser cache. |
| 147 IPC_MESSAGE_ROUTED0(DevToolsHostMsg_ClearBrowserCache) | 158 IPC_MESSAGE_ROUTED0(DevToolsHostMsg_ClearBrowserCache) |
| 148 | 159 |
| 149 // Clears browser cookies. | 160 // Clears browser cookies. |
| 150 IPC_MESSAGE_ROUTED0(DevToolsHostMsg_ClearBrowserCookies) | 161 IPC_MESSAGE_ROUTED0(DevToolsHostMsg_ClearBrowserCookies) |
| 151 | 162 |
| 152 | 163 |
| 153 //----------------------------------------------------------------------------- | 164 //----------------------------------------------------------------------------- |
| 154 // These are messages sent from the inspected page renderer to the worker | 165 // These are messages sent from the inspected page renderer to the worker |
| 155 // renderer. | 166 // renderer. |
| OLD | NEW |