| OLD | NEW |
| 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_WEBDEVTOOLSAGENT_IMPL_H_ | 5 #ifndef WEBKIT_GLUE_WEBDEVTOOLSAGENT_IMPL_H_ |
| 6 #define WEBKIT_GLUE_WEBDEVTOOLSAGENT_IMPL_H_ | 6 #define WEBKIT_GLUE_WEBDEVTOOLSAGENT_IMPL_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/scoped_ptr.h" | 10 #include <wtf/OwnPtr.h> |
| 11 |
| 11 #include "webkit/glue/devtools/devtools_rpc.h" | 12 #include "webkit/glue/devtools/devtools_rpc.h" |
| 12 #include "webkit/glue/devtools/dom_agent.h" | 13 #include "webkit/glue/devtools/dom_agent.h" |
| 13 #include "webkit/glue/devtools/net_agent.h" | 14 #include "webkit/glue/devtools/net_agent.h" |
| 14 #include "webkit/glue/devtools/tools_agent.h" | 15 #include "webkit/glue/devtools/tools_agent.h" |
| 15 #include "webkit/glue/webdevtoolsagent.h" | 16 #include "webkit/glue/webdevtoolsagent.h" |
| 16 | 17 |
| 17 namespace WebCore { | 18 namespace WebCore { |
| 18 class Document; | 19 class Document; |
| 19 class Node; | 20 class Node; |
| 20 class String; | 21 class String; |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 void DidCommitLoadForFrame(WebViewImpl* webview, | 64 void DidCommitLoadForFrame(WebViewImpl* webview, |
| 64 WebFrame* frame, | 65 WebFrame* frame, |
| 65 bool is_new_navigation); | 66 bool is_new_navigation); |
| 66 | 67 |
| 67 NetAgentImpl* net_agent_impl() { return net_agent_impl_.get(); } | 68 NetAgentImpl* net_agent_impl() { return net_agent_impl_.get(); } |
| 68 | 69 |
| 69 private: | 70 private: |
| 70 WebDevToolsAgentDelegate* delegate_; | 71 WebDevToolsAgentDelegate* delegate_; |
| 71 WebViewImpl* web_view_impl_; | 72 WebViewImpl* web_view_impl_; |
| 72 WebCore::Document* document_; | 73 WebCore::Document* document_; |
| 73 scoped_ptr<DebuggerAgentDelegateStub> debugger_agent_delegate_stub_; | 74 OwnPtr<DebuggerAgentDelegateStub> debugger_agent_delegate_stub_; |
| 74 scoped_ptr<DomAgentDelegateStub> dom_agent_delegate_stub_; | 75 OwnPtr<DomAgentDelegateStub> dom_agent_delegate_stub_; |
| 75 scoped_ptr<NetAgentDelegateStub> net_agent_delegate_stub_; | 76 OwnPtr<NetAgentDelegateStub> net_agent_delegate_stub_; |
| 76 scoped_ptr<ToolsAgentDelegateStub> tools_agent_delegate_stub_; | 77 OwnPtr<ToolsAgentDelegateStub> tools_agent_delegate_stub_; |
| 77 scoped_ptr<DebuggerAgentImpl> debugger_agent_impl_; | 78 OwnPtr<DebuggerAgentImpl> debugger_agent_impl_; |
| 78 scoped_ptr<DomAgentImpl> dom_agent_impl_; | 79 OwnPtr<DomAgentImpl> dom_agent_impl_; |
| 79 scoped_ptr<NetAgentImpl> net_agent_impl_; | 80 OwnPtr<NetAgentImpl> net_agent_impl_; |
| 80 bool attached_; | 81 bool attached_; |
| 81 DISALLOW_COPY_AND_ASSIGN(WebDevToolsAgentImpl); | 82 DISALLOW_COPY_AND_ASSIGN(WebDevToolsAgentImpl); |
| 82 }; | 83 }; |
| 83 | 84 |
| 84 #endif // WEBKIT_GLUE_WEBDEVTOOLSAGENT_IMPL_H_ | 85 #endif // WEBKIT_GLUE_WEBDEVTOOLSAGENT_IMPL_H_ |
| OLD | NEW |