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

Side by Side Diff: webkit/glue/devtools/tools_agent.h

Issue 264077: Convert devtools interfaces over to using WebString.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 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 | « webkit/glue/devtools/devtools_rpc_js.h ('k') | webkit/glue/webdevtoolsagent.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 #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 12 matching lines...) Expand all
23 String /* function_name */, String /* json_args */) \ 23 String /* function_name */, String /* json_args */) \
24 \ 24 \
25 /* Requests that the agent sends content of the resource with given id to the 25 /* Requests that the agent sends content of the resource with given id to the
26 delegate. */ \ 26 delegate. */ \
27 METHOD2(GetResourceContent, int /* call_id */, int /* identifier */) 27 METHOD2(GetResourceContent, int /* call_id */, int /* identifier */)
28 28
29 DEFINE_RPC_CLASS(ToolsAgent, TOOLS_AGENT_STRUCT) 29 DEFINE_RPC_CLASS(ToolsAgent, TOOLS_AGENT_STRUCT)
30 30
31 #define TOOLS_AGENT_DELEGATE_STRUCT(METHOD0, METHOD1, METHOD2, METHOD3) \ 31 #define TOOLS_AGENT_DELEGATE_STRUCT(METHOD0, METHOD1, METHOD2, METHOD3) \
32 /* Updates focused node on the client. */ \ 32 /* Updates focused node on the client. */ \
33 METHOD1(FrameNavigate, std::string /* url */) \ 33 METHOD1(FrameNavigate, String /* url */) \
34 \ 34 \
35 /* Response to the DispatchOn*. */ \ 35 /* Response to the DispatchOn*. */ \
36 METHOD3(DidDispatchOn, int /* call_id */, String /* result */, \ 36 METHOD3(DidDispatchOn, int /* call_id */, String /* result */, \
37 String /* exception */) \ 37 String /* exception */) \
38 \ 38 \
39 /* Sends InspectorFrontend message to be dispatched on client. */ \ 39 /* Sends InspectorFrontend message to be dispatched on client. */ \
40 METHOD1(DispatchOnClient, String /* data */) 40 METHOD1(DispatchOnClient, String /* data */)
41 41
42 DEFINE_RPC_CLASS(ToolsAgentDelegate, TOOLS_AGENT_DELEGATE_STRUCT) 42 DEFINE_RPC_CLASS(ToolsAgentDelegate, TOOLS_AGENT_DELEGATE_STRUCT)
43 43
44 #define TOOLS_AGENT_NATIVE_DELEGATE_STRUCT(METHOD0, METHOD1, METHOD2, METHOD3) \ 44 #define TOOLS_AGENT_NATIVE_DELEGATE_STRUCT(METHOD0, METHOD1, METHOD2, METHOD3) \
45 /* Response to the async call. */ \ 45 /* Response to the async call. */ \
46 METHOD2(DidGetResourceContent, int /* call_id */, String /* content */) \ 46 METHOD2(DidGetResourceContent, int /* call_id */, String /* content */) \
47 47
48 DEFINE_RPC_CLASS(ToolsAgentNativeDelegate, TOOLS_AGENT_NATIVE_DELEGATE_STRUCT) 48 DEFINE_RPC_CLASS(ToolsAgentNativeDelegate, TOOLS_AGENT_NATIVE_DELEGATE_STRUCT)
49 49
50 #endif // WEBKIT_GLUE_DEVTOOLS_TOOLS_AGENT_H_ 50 #endif // WEBKIT_GLUE_DEVTOOLS_TOOLS_AGENT_H_
OLDNEW
« no previous file with comments | « webkit/glue/devtools/devtools_rpc_js.h ('k') | webkit/glue/webdevtoolsagent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698