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

Unified Diff: webkit/glue/devtools/tools_agent.h

Issue 54002: Make DevTools client survive 'refresh' of the inspectable tab. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/glue/devtools/js/inspector_controller_impl.js ('k') | webkit/glue/webdevtoolsagent_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/devtools/tools_agent.h
===================================================================
--- webkit/glue/devtools/tools_agent.h (revision 12351)
+++ webkit/glue/devtools/tools_agent.h (working copy)
@@ -10,12 +10,9 @@
// Tools agent provides API for enabling / disabling other agents as well as
// API for auxiliary UI functions such as dom elements highlighting.
#define TOOLS_AGENT_STRUCT(METHOD0, METHOD1, METHOD2, METHOD3) \
- /* Enables / disables Dom agent. */ \
- METHOD1(SetDomAgentEnabled, bool /* enabled */) \
+ /* Enables / disables the agent */ \
+ METHOD1(SetEnabled, bool /* enabled */) \
\
- /* Enables / disables Net agent */ \
- METHOD1(SetNetAgentEnabled, bool /* enabled */) \
- \
/* Highlights Dom node with given ID */ \
METHOD1(HighlightDOMNode, int /* node_id */) \
\
@@ -25,7 +22,11 @@
DEFINE_RPC_CLASS(ToolsAgent, TOOLS_AGENT_STRUCT)
#define TOOLS_AGENT_DELEGATE_STRUCT(METHOD0, METHOD1, METHOD2, METHOD3) \
+ /* Updates focused node on the client. */ \
METHOD1(UpdateFocusedNode, int /* node_id */) \
+ \
+ /* Updates focused node on the client. */ \
+ METHOD2(FrameNavigate, std::string /* url */, bool /* top_level */)
DEFINE_RPC_CLASS(ToolsAgentDelegate, TOOLS_AGENT_DELEGATE_STRUCT)
« no previous file with comments | « webkit/glue/devtools/js/inspector_controller_impl.js ('k') | webkit/glue/webdevtoolsagent_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698