From 2573a236ea484dd5c07a6871470475a0681722b3 Mon Sep 17 00:00:00 2001 From: "pfeldman@chromium.org" Date: Fri, 27 Mar 2009 12:36:21 +0000 Subject: DevTools: add support for navigating to other tab while inspecting. Review URL: http://codereview.chromium.org/53098 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12640 0039d316-1c4b-4281-b951-d872f2087c98 --- webkit/glue/webdevtoolsagent_impl.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'webkit/glue/webdevtoolsagent_impl.h') diff --git a/webkit/glue/webdevtoolsagent_impl.h b/webkit/glue/webdevtoolsagent_impl.h index 500299b..15df64c 100644 --- a/webkit/glue/webdevtoolsagent_impl.h +++ b/webkit/glue/webdevtoolsagent_impl.h @@ -40,12 +40,13 @@ class WebDevToolsAgentImpl virtual ~WebDevToolsAgentImpl(); // ToolsAgent implementation. - virtual void SetEnabled(bool enabled); virtual void HighlightDOMNode(int node_id); virtual void HideDOMNodeHighlight(); virtual void EvaluateJavaSctipt(int call_id, const String& js); // WebDevToolsAgent implementation. + virtual void Attach(); + virtual void Detach(); virtual void DispatchMessageFromClient(const std::string& raw_msg); virtual void InspectElement(int x, int y); @@ -71,7 +72,7 @@ class WebDevToolsAgentImpl scoped_ptr debugger_agent_impl_; scoped_ptr dom_agent_impl_; scoped_ptr net_agent_impl_; - bool enabled_; + bool attached_; DISALLOW_COPY_AND_ASSIGN(WebDevToolsAgentImpl); }; -- cgit v1.1