| 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 23 matching lines...) Expand all Loading... |
| 34 /* Updates focused node on the client. */ \ | 34 /* Updates focused node on the client. */ \ |
| 35 METHOD1(UpdateFocusedNode, int /* node_id */) \ | 35 METHOD1(UpdateFocusedNode, int /* node_id */) \ |
| 36 \ | 36 \ |
| 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 METHOD3(DidExecuteUtilityFunction, int /* call_id */, String /* result */, \ |
| 45 String /* exception */) \ |
| 45 \ | 46 \ |
| 46 /* Adds message to console. */ \ | 47 /* Adds message to console. */ \ |
| 47 METHOD1(AddMessageToConsole, Value /* message */) | 48 METHOD1(AddMessageToConsole, Value /* message */) |
| 48 | 49 |
| 49 DEFINE_RPC_CLASS(ToolsAgentDelegate, TOOLS_AGENT_DELEGATE_STRUCT) | 50 DEFINE_RPC_CLASS(ToolsAgentDelegate, TOOLS_AGENT_DELEGATE_STRUCT) |
| 50 | 51 |
| 51 #endif // WEBKIT_GLUE_DEVTOOLS_TOOLS_AGENT_H_ | 52 #endif // WEBKIT_GLUE_DEVTOOLS_TOOLS_AGENT_H_ |
| OLD | NEW |