Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(260)

Side by Side Diff: chrome/common/devtools_messages.h

Issue 6990059: DevTools: devtools message plumbing between worker and page processes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 // Tells agent that there is no longer a client host connected to it. 75 // Tells agent that there is no longer a client host connected to it.
76 IPC_MESSAGE_CONTROL0(DevToolsAgentMsg_Detach) 76 IPC_MESSAGE_CONTROL0(DevToolsAgentMsg_Detach)
77 77
78 // Tells agent that the front-end has been loaded 78 // Tells agent that the front-end has been loaded
79 IPC_MESSAGE_CONTROL0(DevToolsAgentMsg_FrontendLoaded) 79 IPC_MESSAGE_CONTROL0(DevToolsAgentMsg_FrontendLoaded)
80 80
81 // WebKit-level transport. 81 // WebKit-level transport.
82 IPC_MESSAGE_CONTROL1(DevToolsAgentMsg_DispatchOnInspectorBackend, 82 IPC_MESSAGE_CONTROL1(DevToolsAgentMsg_DispatchOnInspectorBackend,
83 std::string /* message */) 83 std::string /* message */)
84 84
85 // WebKit-level transport for messages from WorkerInspectorController to
86 // InspectorController.
87 IPC_MESSAGE_ROUTED1(DevToolsAgentMsg_DispatchMessageFromWorker,
88 std::string /* message */)
89
85 // Send debugger command to the debugger agent. Debugger commands should 90 // Send debugger command to the debugger agent. Debugger commands should
86 // be handled on IO thread(while all other devtools messages are handled in 91 // be handled on IO thread(while all other devtools messages are handled in
87 // the render thread) to allow executing the commands when v8 is on a 92 // the render thread) to allow executing the commands when v8 is on a
88 // breakpoint. 93 // breakpoint.
89 IPC_MESSAGE_CONTROL1(DevToolsAgentMsg_DebuggerCommand, 94 IPC_MESSAGE_CONTROL1(DevToolsAgentMsg_DebuggerCommand,
90 std::string /* command */) 95 std::string /* command */)
91 96
92 // Inspect element with the given coordinates. 97 // Inspect element with the given coordinates.
93 IPC_MESSAGE_CONTROL2(DevToolsAgentMsg_InspectElement, 98 IPC_MESSAGE_CONTROL2(DevToolsAgentMsg_InspectElement,
94 int /* x */, 99 int /* x */,
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 // Shows Save As dialog for content. 138 // Shows Save As dialog for content.
134 IPC_MESSAGE_ROUTED2(DevToolsHostMsg_SaveAs, 139 IPC_MESSAGE_ROUTED2(DevToolsHostMsg_SaveAs,
135 std::string /* file_name */, 140 std::string /* file_name */,
136 std::string /* content */) 141 std::string /* content */)
137 142
138 // Updates runtime features store in devtools manager in order to support 143 // Updates runtime features store in devtools manager in order to support
139 // cross-navigation instrumentation. 144 // cross-navigation instrumentation.
140 IPC_MESSAGE_ROUTED2(DevToolsHostMsg_RuntimePropertyChanged, 145 IPC_MESSAGE_ROUTED2(DevToolsHostMsg_RuntimePropertyChanged,
141 std::string /* name */, 146 std::string /* name */,
142 std::string /* value */) 147 std::string /* value */)
148
149
150 //-----------------------------------------------------------------------------
151 // These are messages sent from the inspected page renderer to the worker
152 // renderer.
153
154 IPC_MESSAGE_ROUTED0(WorkerDevToolsAgentMsg_Attach)
155 IPC_MESSAGE_ROUTED0(WorkerDevToolsAgentMsg_Detach)
156 IPC_MESSAGE_ROUTED1(WorkerDevToolsAgentMsg_DispatchOnInspectorBackend,
157 std::string /* message */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698