OLD | NEW |
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 #ifndef WEBKIT_GLUE_DEVTOOLS_TOOLS_AGENT_H_ | 5 #ifndef WEBKIT_GLUE_DEVTOOLS_TOOLS_AGENT_H_ |
6 #define WEBKIT_GLUE_DEVTOOLS_TOOLS_AGENT_H_ | 6 #define WEBKIT_GLUE_DEVTOOLS_TOOLS_AGENT_H_ |
7 | 7 |
8 #include "webkit/glue/devtools/devtools_rpc.h" | 8 #include "webkit/glue/devtools/devtools_rpc.h" |
9 | 9 |
10 // Tools agent provides API for enabling / disabling other agents as well as | 10 // Tools agent provides API for enabling / disabling other agents as well as |
(...skipping 26 matching lines...) Expand all Loading... |
37 /* Response message to EvaluateJavaScript. */ \ | 37 /* Response message to EvaluateJavaScript. */ \ |
38 METHOD2(DidEvaluateJavaScript, int /* call_id */, String /* result */) \ | 38 METHOD2(DidEvaluateJavaScript, int /* call_id */, String /* result */) \ |
39 \ | 39 \ |
40 /* Updates focused node on the client. */ \ | 40 /* Updates focused node on the client. */ \ |
41 METHOD2(FrameNavigate, std::string /* url */, bool /* top_level */) \ | 41 METHOD2(FrameNavigate, std::string /* url */, bool /* top_level */) \ |
42 \ | 42 \ |
43 /* Response to the GetNodeProperties. */ \ | 43 /* Response to the GetNodeProperties. */ \ |
44 METHOD2(DidExecuteUtilityFunction, int /* call_id */, String /* json */) \ | 44 METHOD2(DidExecuteUtilityFunction, int /* call_id */, String /* json */) \ |
45 \ | 45 \ |
46 /* Adds message to console. */ \ | 46 /* Adds message to console. */ \ |
47 METHOD3(AddMessageToConsole, String /* message */, \ | 47 METHOD1(AddMessageToConsole, Value /* message */) |
48 String /* source_id */, int /* line_no */) | |
49 | 48 |
50 DEFINE_RPC_CLASS(ToolsAgentDelegate, TOOLS_AGENT_DELEGATE_STRUCT) | 49 DEFINE_RPC_CLASS(ToolsAgentDelegate, TOOLS_AGENT_DELEGATE_STRUCT) |
51 | 50 |
52 #endif // WEBKIT_GLUE_DEVTOOLS_TOOLS_AGENT_H_ | 51 #endif // WEBKIT_GLUE_DEVTOOLS_TOOLS_AGENT_H_ |
OLD | NEW |