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

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

Issue 115862: DevTools: pass class and method name as arguments to RPC messages (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 6 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
« no previous file with comments | « chrome/browser/debugger/inspectable_tab_proxy.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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 // 42 //
43 // This file describes developer tools message types. 43 // This file describes developer tools message types.
44 44
45 #include "chrome/common/ipc_message_macros.h" 45 #include "chrome/common/ipc_message_macros.h"
46 46
47 // These are messages sent from DevToolsAgent to DevToolsClient through the 47 // These are messages sent from DevToolsAgent to DevToolsClient through the
48 // browser. 48 // browser.
49 IPC_BEGIN_MESSAGES(DevToolsClient) 49 IPC_BEGIN_MESSAGES(DevToolsClient)
50 50
51 // Sends glue-level Rpc message to the client. 51 // Sends glue-level Rpc message to the client.
52 IPC_MESSAGE_CONTROL1(DevToolsClientMsg_RpcMessage, 52 IPC_MESSAGE_CONTROL3(DevToolsClientMsg_RpcMessage,
53 std::string /* raw_msg */) 53 std::string /* class_name */,
54 std::string /* method_name */,
55 std::string /* raw_msg */)
54 56
55 IPC_END_MESSAGES(DevToolsClient) 57 IPC_END_MESSAGES(DevToolsClient)
56 58
57 59
58 //----------------------------------------------------------------------------- 60 //-----------------------------------------------------------------------------
59 // These are messages sent from DevToolsClient to DevToolsAgent through the 61 // These are messages sent from DevToolsClient to DevToolsAgent through the
60 // browser. 62 // browser.
61 IPC_BEGIN_MESSAGES(DevToolsAgent) 63 IPC_BEGIN_MESSAGES(DevToolsAgent)
62 64
63 // Tells agent that there is a client host connected to it. 65 // Tells agent that there is a client host connected to it.
64 IPC_MESSAGE_CONTROL0(DevToolsAgentMsg_Attach) 66 IPC_MESSAGE_CONTROL0(DevToolsAgentMsg_Attach)
65 67
66 // Tells agent that there is no longer a client host connected to it. 68 // Tells agent that there is no longer a client host connected to it.
67 IPC_MESSAGE_CONTROL0(DevToolsAgentMsg_Detach) 69 IPC_MESSAGE_CONTROL0(DevToolsAgentMsg_Detach)
68 70
69 // Sends glue-level Rpc message to the agent. 71 // Sends glue-level Rpc message to the agent.
70 IPC_MESSAGE_CONTROL1(DevToolsAgentMsg_RpcMessage, 72 IPC_MESSAGE_CONTROL3(DevToolsAgentMsg_RpcMessage,
71 std::string /* raw_msg */) 73 std::string /* class_name */,
74 std::string /* method_name */,
75 std::string /* raw_msg */)
72 76
73 // Send debugger command to the debugger agent. Debugger commands should 77 // Send debugger command to the debugger agent. Debugger commands should
74 // be handled on IO thread(while all other devtools messages are handled in 78 // be handled on IO thread(while all other devtools messages are handled in
75 // the render thread) to allow executing the commands when v8 is on a 79 // the render thread) to allow executing the commands when v8 is on a
76 // breakpoint. 80 // breakpoint.
77 IPC_MESSAGE_CONTROL1(DevToolsAgentMsg_DebuggerCommand, 81 IPC_MESSAGE_CONTROL1(DevToolsAgentMsg_DebuggerCommand,
78 std::string /* command */) 82 std::string /* command */)
79 83
80 // Inspect element with the given coordinates. 84 // Inspect element with the given coordinates.
81 IPC_MESSAGE_CONTROL2(DevToolsAgentMsg_InspectElement, 85 IPC_MESSAGE_CONTROL2(DevToolsAgentMsg_InspectElement,
82 int /* x */, 86 int /* x */,
83 int /* y */) 87 int /* y */)
84 88
85 IPC_END_MESSAGES(DevToolsAgent) 89 IPC_END_MESSAGES(DevToolsAgent)
OLDNEW
« no previous file with comments | « chrome/browser/debugger/inspectable_tab_proxy.cc ('k') | chrome/renderer/devtools_agent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698