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 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
104 content::ConsoleMessageLevel /* level */, | 104 content::ConsoleMessageLevel /* level */, |
105 std::string /* message */) | 105 std::string /* message */) |
106 | 106 |
107 //----------------------------------------------------------------------------- | 107 //----------------------------------------------------------------------------- |
108 // These are messages sent from the browser to the renderer. | 108 // These are messages sent from the browser to the renderer. |
109 | 109 |
110 // RenderViewHostDelegate::RenderViewCreated method sends this message to a | 110 // RenderViewHostDelegate::RenderViewCreated method sends this message to a |
111 // new renderer to notify it that it will host developer tools UI and should | 111 // new renderer to notify it that it will host developer tools UI and should |
112 // set up all neccessary bindings and create DevToolsClient instance that | 112 // set up all neccessary bindings and create DevToolsClient instance that |
113 // will handle communication with inspected page DevToolsAgent. | 113 // will handle communication with inspected page DevToolsAgent. |
114 IPC_MESSAGE_ROUTED0(DevToolsMsg_SetupDevToolsClient) | 114 IPC_MESSAGE_ROUTED1(DevToolsMsg_SetupDevToolsClient, |
115 std::string /* injected script */) | |
pfeldman
2015/06/01 15:47:51
compatibility_script
dgozman
2015/06/02 10:51:56
Done.
| |
115 | 116 |
116 | 117 |
117 //----------------------------------------------------------------------------- | 118 //----------------------------------------------------------------------------- |
118 // These are messages sent from the renderer to the browser. | 119 // These are messages sent from the renderer to the browser. |
119 | 120 |
120 // Transport from Inspector frontend to frontend host. | 121 // Transport from Inspector frontend to frontend host. |
121 IPC_MESSAGE_ROUTED1(DevToolsHostMsg_DispatchOnEmbedder, | 122 IPC_MESSAGE_ROUTED1(DevToolsHostMsg_DispatchOnEmbedder, |
122 std::string /* message */) | 123 std::string /* message */) |
OLD | NEW |