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

Unified Diff: webkit/glue/webdevtoolsagent_impl.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/tools_agent.h ('k') | webkit/glue/webdevtoolsagent_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/webdevtoolsagent_impl.h
===================================================================
--- webkit/glue/webdevtoolsagent_impl.h (revision 12355)
+++ webkit/glue/webdevtoolsagent_impl.h (working copy)
@@ -24,6 +24,8 @@
class NetAgentImpl;
class Value;
class WebDevToolsAgentDelegate;
+class WebFrame;
+class WebFrame;
class WebViewImpl;
class WebDevToolsAgentImpl
@@ -36,8 +38,7 @@
virtual ~WebDevToolsAgentImpl();
// ToolsAgent implementation.
- virtual void SetDomAgentEnabled(bool enabled);
- virtual void SetNetAgentEnabled(bool enabled);
+ virtual void SetEnabled(bool enabled);
virtual void HighlightDOMNode(int node_id);
virtual void HideDOMNodeHighlight();
@@ -50,6 +51,9 @@
// Methods called by the glue.
void SetMainFrameDocumentReady(bool ready);
+ void DidCommitLoadForFrame(WebViewImpl* webview,
+ WebFrame* frame,
+ bool is_new_navigation);
DomAgentImpl* dom_agent_impl() { return dom_agent_impl_.get(); }
NetAgentImpl* net_agent_impl() { return net_agent_impl_.get(); }
@@ -64,6 +68,7 @@
scoped_ptr<DomAgentDelegateStub> dom_agent_delegate_stub_;
scoped_ptr<NetAgentDelegateStub> net_agent_delegate_stub_;
scoped_ptr<ToolsAgentDelegateStub> tools_agent_delegate_stub_;
+ bool enabled_;
DISALLOW_COPY_AND_ASSIGN(WebDevToolsAgentImpl);
};
« no previous file with comments | « webkit/glue/devtools/tools_agent.h ('k') | webkit/glue/webdevtoolsagent_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698