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 <wtf/OwnPtr.h> | 10 #include <wtf/OwnPtr.h> |
11 #include <wtf/Vector.h> | 11 #include <wtf/Vector.h> |
12 | 12 |
| 13 #include "v8.h" |
13 #include "webkit/glue/devtools/devtools_rpc.h" | 14 #include "webkit/glue/devtools/devtools_rpc.h" |
14 #include "webkit/glue/devtools/dom_agent.h" | 15 #include "webkit/glue/devtools/dom_agent.h" |
15 #include "webkit/glue/devtools/net_agent.h" | 16 #include "webkit/glue/devtools/net_agent.h" |
16 #include "webkit/glue/devtools/tools_agent.h" | 17 #include "webkit/glue/devtools/tools_agent.h" |
17 #include "webkit/glue/webdevtoolsagent.h" | 18 #include "webkit/glue/webdevtoolsagent.h" |
18 | 19 |
19 namespace WebCore { | 20 namespace WebCore { |
20 class Document; | 21 class Document; |
21 class Node; | 22 class Node; |
22 class String; | 23 class String; |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 WebCore::Document* document_; | 104 WebCore::Document* document_; |
104 OwnPtr<DebuggerAgentDelegateStub> debugger_agent_delegate_stub_; | 105 OwnPtr<DebuggerAgentDelegateStub> debugger_agent_delegate_stub_; |
105 OwnPtr<DomAgentDelegateStub> dom_agent_delegate_stub_; | 106 OwnPtr<DomAgentDelegateStub> dom_agent_delegate_stub_; |
106 OwnPtr<NetAgentDelegateStub> net_agent_delegate_stub_; | 107 OwnPtr<NetAgentDelegateStub> net_agent_delegate_stub_; |
107 OwnPtr<ToolsAgentDelegateStub> tools_agent_delegate_stub_; | 108 OwnPtr<ToolsAgentDelegateStub> tools_agent_delegate_stub_; |
108 OwnPtr<DebuggerAgentImpl> debugger_agent_impl_; | 109 OwnPtr<DebuggerAgentImpl> debugger_agent_impl_; |
109 OwnPtr<DomAgentImpl> dom_agent_impl_; | 110 OwnPtr<DomAgentImpl> dom_agent_impl_; |
110 OwnPtr<NetAgentImpl> net_agent_impl_; | 111 OwnPtr<NetAgentImpl> net_agent_impl_; |
111 Vector<ConsoleMessage> console_log_; | 112 Vector<ConsoleMessage> console_log_; |
112 bool attached_; | 113 bool attached_; |
| 114 v8::Persistent<v8::Context> utility_context_; |
113 DISALLOW_COPY_AND_ASSIGN(WebDevToolsAgentImpl); | 115 DISALLOW_COPY_AND_ASSIGN(WebDevToolsAgentImpl); |
114 }; | 116 }; |
115 | 117 |
116 #endif // WEBKIT_GLUE_WEBDEVTOOLSAGENT_IMPL_H_ | 118 #endif // WEBKIT_GLUE_WEBDEVTOOLSAGENT_IMPL_H_ |
OLD | NEW |