OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 17 matching lines...) Expand all Loading... |
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
29 */ | 29 */ |
30 | 30 |
31 #ifndef WebDevToolsAgentImpl_h | 31 #ifndef WebDevToolsAgentImpl_h |
32 #define WebDevToolsAgentImpl_h | 32 #define WebDevToolsAgentImpl_h |
33 | 33 |
34 #include "core/inspector/InspectorPageAgent.h" | 34 #include "core/inspector/InspectorPageAgent.h" |
35 #include "core/inspector/InspectorRuntimeAgent.h" | 35 #include "core/inspector/InspectorRuntimeAgent.h" |
36 #include "core/inspector/InspectorSession.h" | 36 #include "core/inspector/InspectorSession.h" |
37 #include "core/inspector/InspectorTracingAgent.h" | 37 #include "core/inspector/InspectorTracingAgent.h" |
| 38 #include "core/inspector/InstrumentingSessions.h" |
38 #include "platform/heap/Handle.h" | 39 #include "platform/heap/Handle.h" |
39 #include "public/platform/WebSize.h" | 40 #include "public/platform/WebSize.h" |
40 #include "public/platform/WebThread.h" | 41 #include "public/platform/WebThread.h" |
41 #include "public/web/WebDevToolsAgent.h" | 42 #include "public/web/WebDevToolsAgent.h" |
42 #include "web/InspectorEmulationAgent.h" | 43 #include "web/InspectorEmulationAgent.h" |
43 #include "wtf/Forward.h" | 44 #include "wtf/Forward.h" |
44 #include "wtf/OwnPtr.h" | 45 #include "wtf/OwnPtr.h" |
45 #include "wtf/Vector.h" | 46 #include "wtf/Vector.h" |
46 | 47 |
47 namespace blink { | 48 namespace blink { |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
142 static void runDebuggerTask(int sessionId, PassOwnPtr<WebDevToolsAgent::Mess
ageDescriptor>); | 143 static void runDebuggerTask(int sessionId, PassOwnPtr<WebDevToolsAgent::Mess
ageDescriptor>); |
143 | 144 |
144 bool attached() const { return m_session.get(); } | 145 bool attached() const { return m_session.get(); } |
145 | 146 |
146 WebDevToolsAgentClient* m_client; | 147 WebDevToolsAgentClient* m_client; |
147 Member<WebLocalFrameImpl> m_webLocalFrameImpl; | 148 Member<WebLocalFrameImpl> m_webLocalFrameImpl; |
148 #if DCHECK_IS_ON() | 149 #if DCHECK_IS_ON() |
149 bool m_hasBeenDisposed; | 150 bool m_hasBeenDisposed; |
150 #endif | 151 #endif |
151 | 152 |
152 Member<InstrumentingAgents> m_instrumentingAgents; | 153 Member<InstrumentingSessions> m_instrumentingSessions; |
153 Member<InspectorResourceContentLoader> m_resourceContentLoader; | 154 Member<InspectorResourceContentLoader> m_resourceContentLoader; |
154 Member<InspectorOverlay> m_overlay; | 155 Member<InspectorOverlay> m_overlay; |
155 Member<InspectedFrames> m_inspectedFrames; | 156 Member<InspectedFrames> m_inspectedFrames; |
156 Member<InspectorResourceContainer> m_resourceContainer; | 157 Member<InspectorResourceContainer> m_resourceContainer; |
157 OwnPtr<V8InspectorSession> m_v8Session; | 158 OwnPtr<V8InspectorSession> m_v8Session; |
158 | 159 |
159 Member<InspectorDOMAgent> m_domAgent; | 160 Member<InspectorDOMAgent> m_domAgent; |
160 Member<InspectorPageAgent> m_pageAgent; | 161 Member<InspectorPageAgent> m_pageAgent; |
161 Member<InspectorResourceAgent> m_resourceAgent; | 162 Member<InspectorResourceAgent> m_resourceAgent; |
162 Member<InspectorLayerTreeAgent> m_layerTreeAgent; | 163 Member<InspectorLayerTreeAgent> m_layerTreeAgent; |
163 Member<InspectorTracingAgent> m_tracingAgent; | 164 Member<InspectorTracingAgent> m_tracingAgent; |
164 | 165 |
165 Member<InspectorSession> m_session; | 166 Member<InspectorSession> m_session; |
166 bool m_includeViewAgents; | 167 bool m_includeViewAgents; |
167 int m_layerTreeId; | 168 int m_layerTreeId; |
168 }; | 169 }; |
169 | 170 |
170 } // namespace blink | 171 } // namespace blink |
171 | 172 |
172 #endif | 173 #endif |
OLD | NEW |