| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010-2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2010-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 423 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 434 if (m_deferredAgentsInitialized) | 434 if (m_deferredAgentsInitialized) |
| 435 return; | 435 return; |
| 436 m_deferredAgentsInitialized = true; | 436 m_deferredAgentsInitialized = true; |
| 437 | 437 |
| 438 InjectedScriptManager* injectedScriptManager = m_injectedScriptManager.get()
; | 438 InjectedScriptManager* injectedScriptManager = m_injectedScriptManager.get()
; |
| 439 | 439 |
| 440 OwnPtrWillBeRawPtr<InspectorResourceAgent> resourceAgentPtr(InspectorResourc
eAgent::create(m_pageAgent)); | 440 OwnPtrWillBeRawPtr<InspectorResourceAgent> resourceAgentPtr(InspectorResourc
eAgent::create(m_pageAgent)); |
| 441 m_resourceAgent = resourceAgentPtr.get(); | 441 m_resourceAgent = resourceAgentPtr.get(); |
| 442 m_agents.append(resourceAgentPtr.release()); | 442 m_agents.append(resourceAgentPtr.release()); |
| 443 | 443 |
| 444 OwnPtrWillBeRawPtr<InspectorCSSAgent> cssAgentPtr(InspectorCSSAgent::create(
m_domAgent, m_pageAgent, m_resourceAgent)); | 444 OwnPtrWillBeRawPtr<InspectorCSSAgent> cssAgentPtr(InspectorCSSAgent::create(
m_domAgent, m_pageAgent, m_resourceAgent, m_overlay)); |
| 445 m_cssAgent = cssAgentPtr.get(); | 445 m_cssAgent = cssAgentPtr.get(); |
| 446 m_agents.append(cssAgentPtr.release()); | 446 m_agents.append(cssAgentPtr.release()); |
| 447 | 447 |
| 448 m_agents.append(InspectorAnimationAgent::create(m_pageAgent, m_domAgent)); | 448 m_agents.append(InspectorAnimationAgent::create(m_pageAgent, m_domAgent)); |
| 449 | 449 |
| 450 m_agents.append(InspectorMemoryAgent::create()); | 450 m_agents.append(InspectorMemoryAgent::create()); |
| 451 | 451 |
| 452 m_agents.append(InspectorApplicationCacheAgent::create(m_pageAgent)); | 452 m_agents.append(InspectorApplicationCacheAgent::create(m_pageAgent)); |
| 453 | 453 |
| 454 OwnPtrWillBeRawPtr<InspectorDebuggerAgent> debuggerAgentPtr(PageDebuggerAgen
t::create(MainThreadDebugger::instance(), m_pageAgent, injectedScriptManager, m_
overlay, m_pageRuntimeAgent->debuggerId())); | 454 OwnPtrWillBeRawPtr<InspectorDebuggerAgent> debuggerAgentPtr(PageDebuggerAgen
t::create(MainThreadDebugger::instance(), m_pageAgent, injectedScriptManager, m_
overlay, m_pageRuntimeAgent->debuggerId())); |
| (...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 740 if (!InspectorBackendDispatcher::getCommandName(message, &commandName)) | 740 if (!InspectorBackendDispatcher::getCommandName(message, &commandName)) |
| 741 return false; | 741 return false; |
| 742 return commandName == InspectorBackendDispatcher::commandName(InspectorBacke
ndDispatcher::kDebugger_pauseCmd) | 742 return commandName == InspectorBackendDispatcher::commandName(InspectorBacke
ndDispatcher::kDebugger_pauseCmd) |
| 743 || commandName == InspectorBackendDispatcher::commandName(InspectorBacke
ndDispatcher::kDebugger_setBreakpointCmd) | 743 || commandName == InspectorBackendDispatcher::commandName(InspectorBacke
ndDispatcher::kDebugger_setBreakpointCmd) |
| 744 || commandName == InspectorBackendDispatcher::commandName(InspectorBacke
ndDispatcher::kDebugger_setBreakpointByUrlCmd) | 744 || commandName == InspectorBackendDispatcher::commandName(InspectorBacke
ndDispatcher::kDebugger_setBreakpointByUrlCmd) |
| 745 || commandName == InspectorBackendDispatcher::commandName(InspectorBacke
ndDispatcher::kDebugger_removeBreakpointCmd) | 745 || commandName == InspectorBackendDispatcher::commandName(InspectorBacke
ndDispatcher::kDebugger_removeBreakpointCmd) |
| 746 || commandName == InspectorBackendDispatcher::commandName(InspectorBacke
ndDispatcher::kDebugger_setBreakpointsActiveCmd); | 746 || commandName == InspectorBackendDispatcher::commandName(InspectorBacke
ndDispatcher::kDebugger_setBreakpointsActiveCmd); |
| 747 } | 747 } |
| 748 | 748 |
| 749 } // namespace blink | 749 } // namespace blink |
| OLD | NEW |