summaryrefslogtreecommitdiffstats
path: root/webkit/glue/devtools/tools_agent.h
diff options
context:
space:
mode:
authorpfeldman@chromium.org <pfeldman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-03 12:40:35 +0000
committerpfeldman@chromium.org <pfeldman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-03 12:40:35 +0000
commit0a8cf879c528a02205301365fb0934e2983182f3 (patch)
treeb3c9bcfe5fbf0860e491566f34b5c334da3dc297 /webkit/glue/devtools/tools_agent.h
parent0df3012fff2579aa4c09378fec0873f5c4589aab (diff)
downloadchromium_src-0a8cf879c528a02205301365fb0934e2983182f3.zip
chromium_src-0a8cf879c528a02205301365fb0934e2983182f3.tar.gz
chromium_src-0a8cf879c528a02205301365fb0934e2983182f3.tar.bz2
DevTools: Catch up with InspectorController changes.
Review URL: http://codereview.chromium.org/119077 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17474 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/devtools/tools_agent.h')
-rw-r--r--webkit/glue/devtools/tools_agent.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/webkit/glue/devtools/tools_agent.h b/webkit/glue/devtools/tools_agent.h
index 83e4fe7..dd6bdf7 100644
--- a/webkit/glue/devtools/tools_agent.h
+++ b/webkit/glue/devtools/tools_agent.h
@@ -26,9 +26,13 @@
\
/* Clears cached console messages. */ \
METHOD0(ClearConsoleMessages) \
+ \
/* Requests that the agent sends content of the resource with given id to the
delegate. */ \
- METHOD2(GetResourceContent, int /* call_id */, int /* identifier */)
+ METHOD2(GetResourceContent, int /* call_id */, int /* identifier */) \
+ \
+ /* Turns resource tracking on / off. */ \
+ METHOD2(SetResourceTrackingEnabled, bool /* enabled */, bool /* always */)
DEFINE_RPC_CLASS(ToolsAgent, TOOLS_AGENT_STRUCT)
@@ -51,7 +55,10 @@ DEFINE_RPC_CLASS(ToolsAgent, TOOLS_AGENT_STRUCT)
METHOD1(DispatchOnClient, String /* data */) \
\
/* Response to the async call. */ \
- METHOD2(DidGetResourceContent, int /* call_id */, String /* content */)
+ METHOD2(DidGetResourceContent, int /* call_id */, String /* content */) \
+ \
+ /* Tells frontend if resources panel should be enabled in the UI. */ \
+ METHOD1(SetResourcesPanelEnabled, bool /* enabled. */)
DEFINE_RPC_CLASS(ToolsAgentDelegate, TOOLS_AGENT_DELEGATE_STRUCT)