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

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

Issue 3020063: DevTools: get rid of delayed command dispatching on front-end side. (Closed)
Patch Set: Created 10 years, 4 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
« no previous file with comments | « chrome/browser/debugger/devtools_manager.cc ('k') | chrome/renderer/devtools_agent.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 // This header is meant to be included in multiple passes, hence no traditional 5 // This header is meant to be included in multiple passes, hence no traditional
6 // header guard. 6 // header guard.
7 // See ipc_message_macros.h for explanation of the macros and passes. 7 // See ipc_message_macros.h for explanation of the macros and passes.
8 8
9 // Developer tools consist of the following parts: 9 // Developer tools consist of the following parts:
10 // 10 //
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 // browser. 68 // browser.
69 IPC_BEGIN_MESSAGES(DevToolsAgent) 69 IPC_BEGIN_MESSAGES(DevToolsAgent)
70 70
71 // Tells agent that there is a client host connected to it. 71 // Tells agent that there is a client host connected to it.
72 IPC_MESSAGE_CONTROL1(DevToolsAgentMsg_Attach, 72 IPC_MESSAGE_CONTROL1(DevToolsAgentMsg_Attach,
73 std::vector<std::string> /* runtime_features */) 73 std::vector<std::string> /* runtime_features */)
74 74
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
79 IPC_MESSAGE_CONTROL0(DevToolsAgentMsg_FrontendLoaded)
80
78 // WebKit-level transport. 81 // WebKit-level transport.
79 IPC_MESSAGE_CONTROL1(DevToolsAgentMsg_DispatchOnInspectorBackend, 82 IPC_MESSAGE_CONTROL1(DevToolsAgentMsg_DispatchOnInspectorBackend,
80 std::string /* message */) 83 std::string /* message */)
81 84
82 // Send debugger command to the debugger agent. Debugger commands should 85 // Send debugger command to the debugger agent. Debugger commands should
83 // be handled on IO thread(while all other devtools messages are handled in 86 // be handled on IO thread(while all other devtools messages are handled in
84 // the render thread) to allow executing the commands when v8 is on a 87 // the render thread) to allow executing the commands when v8 is on a
85 // breakpoint. 88 // breakpoint.
86 IPC_MESSAGE_CONTROL1(DevToolsAgentMsg_DebuggerCommand, 89 IPC_MESSAGE_CONTROL1(DevToolsAgentMsg_DebuggerCommand,
87 std::string /* command */) 90 std::string /* command */)
88 91
89 // This command is sent to debugger when user wants to pause script execution 92 // This command is sent to debugger when user wants to pause script execution
90 // immediately. This message should be processed on the IO thread so that it 93 // immediately. This message should be processed on the IO thread so that it
91 // can have effect even if the Renderer thread is busy with JavaScript 94 // can have effect even if the Renderer thread is busy with JavaScript
92 // execution. 95 // execution.
93 IPC_MESSAGE_CONTROL0(DevToolsAgentMsg_DebuggerPauseScript) 96 IPC_MESSAGE_CONTROL0(DevToolsAgentMsg_DebuggerPauseScript)
94 97
95 // Inspect element with the given coordinates. 98 // Inspect element with the given coordinates.
96 IPC_MESSAGE_CONTROL2(DevToolsAgentMsg_InspectElement, 99 IPC_MESSAGE_CONTROL2(DevToolsAgentMsg_InspectElement,
97 int /* x */, 100 int /* x */,
98 int /* y */) 101 int /* y */)
99 102
100 // Enables/disables the apu agent. 103 // Enables/disables the apu agent.
101 IPC_MESSAGE_CONTROL1(DevToolsAgentMsg_SetApuAgentEnabled, bool /* enabled */) 104 IPC_MESSAGE_CONTROL1(DevToolsAgentMsg_SetApuAgentEnabled, bool /* enabled */)
102 105
103 IPC_END_MESSAGES(DevToolsAgent) 106 IPC_END_MESSAGES(DevToolsAgent)
OLDNEW
« no previous file with comments | « chrome/browser/debugger/devtools_manager.cc ('k') | chrome/renderer/devtools_agent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698