OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
139 IPC_MESSAGE_ROUTED2(DevToolsHostMsg_SaveAs, | 139 IPC_MESSAGE_ROUTED2(DevToolsHostMsg_SaveAs, |
140 std::string /* file_name */, | 140 std::string /* file_name */, |
141 std::string /* content */) | 141 std::string /* content */) |
142 | 142 |
143 // Updates runtime features store in devtools manager in order to support | 143 // Updates runtime features store in devtools manager in order to support |
144 // cross-navigation instrumentation. | 144 // cross-navigation instrumentation. |
145 IPC_MESSAGE_ROUTED2(DevToolsHostMsg_RuntimePropertyChanged, | 145 IPC_MESSAGE_ROUTED2(DevToolsHostMsg_RuntimePropertyChanged, |
146 std::string /* name */, | 146 std::string /* name */, |
147 std::string /* value */) | 147 std::string /* value */) |
148 | 148 |
| 149 // Clears browser cache. |
| 150 IPC_MESSAGE_ROUTED0(DevToolsHostMsg_ClearBrowserCache) |
| 151 |
| 152 // Clears browser cookies. |
| 153 IPC_MESSAGE_ROUTED0(DevToolsHostMsg_ClearBrowserCookies) |
| 154 |
149 | 155 |
150 //----------------------------------------------------------------------------- | 156 //----------------------------------------------------------------------------- |
151 // These are messages sent from the inspected page renderer to the worker | 157 // These are messages sent from the inspected page renderer to the worker |
152 // renderer. | 158 // renderer. |
153 | 159 |
154 IPC_MESSAGE_ROUTED0(WorkerDevToolsAgentMsg_Attach) | 160 IPC_MESSAGE_ROUTED0(WorkerDevToolsAgentMsg_Attach) |
155 IPC_MESSAGE_ROUTED0(WorkerDevToolsAgentMsg_Detach) | 161 IPC_MESSAGE_ROUTED0(WorkerDevToolsAgentMsg_Detach) |
156 IPC_MESSAGE_ROUTED1(WorkerDevToolsAgentMsg_DispatchOnInspectorBackend, | 162 IPC_MESSAGE_ROUTED1(WorkerDevToolsAgentMsg_DispatchOnInspectorBackend, |
157 std::string /* message */) | 163 std::string /* message */) |
OLD | NEW |