OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
118 m_agents.append(domStorageAgentPtr.release()); | 118 m_agents.append(domStorageAgentPtr.release()); |
119 m_agents.append(InspectorMemoryAgent::create(m_instrumentingAgents.get(), in
spectorClient, m_state.get(), m_page)); | 119 m_agents.append(InspectorMemoryAgent::create(m_instrumentingAgents.get(), in
spectorClient, m_state.get(), m_page)); |
120 m_agents.append(InspectorTimelineAgent::create(m_instrumentingAgents.get(),
pageAgent, m_state.get(), InspectorTimelineAgent::PageInspector, | 120 m_agents.append(InspectorTimelineAgent::create(m_instrumentingAgents.get(),
pageAgent, m_state.get(), InspectorTimelineAgent::PageInspector, |
121 inspectorClient)); | 121 inspectorClient)); |
122 m_agents.append(InspectorApplicationCacheAgent::create(m_instrumentingAgents
.get(), m_state.get(), pageAgent)); | 122 m_agents.append(InspectorApplicationCacheAgent::create(m_instrumentingAgents
.get(), m_state.get(), pageAgent)); |
123 | 123 |
124 OwnPtr<InspectorResourceAgent> resourceAgentPtr(InspectorResourceAgent::crea
te(m_instrumentingAgents.get(), pageAgent, inspectorClient, m_state.get())); | 124 OwnPtr<InspectorResourceAgent> resourceAgentPtr(InspectorResourceAgent::crea
te(m_instrumentingAgents.get(), pageAgent, inspectorClient, m_state.get())); |
125 m_resourceAgent = resourceAgentPtr.get(); | 125 m_resourceAgent = resourceAgentPtr.get(); |
126 m_agents.append(resourceAgentPtr.release()); | 126 m_agents.append(resourceAgentPtr.release()); |
127 | 127 |
128 OwnPtr<InspectorRuntimeAgent> runtimeAgentPtr(PageRuntimeAgent::create(m_ins
trumentingAgents.get(), m_state.get(), m_injectedScriptManager.get(), page, page
Agent, m_inspectorAgent)); | 128 OwnPtr<InspectorRuntimeAgent> runtimeAgentPtr(PageRuntimeAgent::create(m_ins
trumentingAgents.get(), m_state.get(), m_injectedScriptManager.get(), page, page
Agent)); |
129 InspectorRuntimeAgent* runtimeAgent = runtimeAgentPtr.get(); | 129 InspectorRuntimeAgent* runtimeAgent = runtimeAgentPtr.get(); |
130 m_agents.append(runtimeAgentPtr.release()); | 130 m_agents.append(runtimeAgentPtr.release()); |
131 | 131 |
132 OwnPtr<InspectorConsoleAgent> consoleAgentPtr(PageConsoleAgent::create(m_ins
trumentingAgents.get(), m_inspectorAgent, m_state.get(), m_injectedScriptManager
.get(), m_domAgent)); | 132 OwnPtr<InspectorConsoleAgent> consoleAgentPtr(PageConsoleAgent::create(m_ins
trumentingAgents.get(), m_inspectorAgent, m_state.get(), m_injectedScriptManager
.get(), m_domAgent)); |
133 InspectorConsoleAgent* consoleAgent = consoleAgentPtr.get(); | 133 InspectorConsoleAgent* consoleAgent = consoleAgentPtr.get(); |
134 m_agents.append(consoleAgentPtr.release()); | 134 m_agents.append(consoleAgentPtr.release()); |
135 | 135 |
136 #if ENABLE(JAVASCRIPT_DEBUGGER) | 136 #if ENABLE(JAVASCRIPT_DEBUGGER) |
137 OwnPtr<InspectorDebuggerAgent> debuggerAgentPtr(PageDebuggerAgent::create(m_
instrumentingAgents.get(), m_state.get(), page, m_injectedScriptManager.get(), m
_overlay.get())); | 137 OwnPtr<InspectorDebuggerAgent> debuggerAgentPtr(PageDebuggerAgent::create(m_
instrumentingAgents.get(), m_state.get(), page, m_injectedScriptManager.get(), m
_overlay.get())); |
138 m_debuggerAgent = debuggerAgentPtr.get(); | 138 m_debuggerAgent = debuggerAgentPtr.get(); |
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
404 info.addMember(m_inspectorFrontendClient); | 404 info.addMember(m_inspectorFrontendClient); |
405 info.addMember(m_inspectorFrontend); | 405 info.addMember(m_inspectorFrontend); |
406 info.addMember(m_page); | 406 info.addMember(m_page); |
407 info.addMember(m_inspectorClient); | 407 info.addMember(m_inspectorClient); |
408 info.addMember(m_agents); | 408 info.addMember(m_agents); |
409 } | 409 } |
410 | 410 |
411 } // namespace WebCore | 411 } // namespace WebCore |
412 | 412 |
413 #endif // ENABLE(INSPECTOR) | 413 #endif // ENABLE(INSPECTOR) |
OLD | NEW |