| 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 420 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 431 ASSERT(m_webLocalFrameImpl->frame()); | 431 ASSERT(m_webLocalFrameImpl->frame()); |
| 432 ASSERT(m_inspectedFrames->root()->view()); | 432 ASSERT(m_inspectedFrames->root()->view()); |
| 433 | 433 |
| 434 detach(); | 434 detach(); |
| 435 m_injectedScriptManager->disconnect(); | 435 m_injectedScriptManager->disconnect(); |
| 436 m_resourceContentLoader->dispose(); | 436 m_resourceContentLoader->dispose(); |
| 437 m_agents.discardAgents(); | 437 m_agents.discardAgents(); |
| 438 m_instrumentingAgents->reset(); | 438 m_instrumentingAgents->reset(); |
| 439 } | 439 } |
| 440 | 440 |
| 441 InspectorOverlay* WebDevToolsAgentImpl::overlay() const |
| 442 { |
| 443 return m_overlay.get(); |
| 444 } |
| 445 |
| 441 void WebDevToolsAgentImpl::initializeDeferredAgents() | 446 void WebDevToolsAgentImpl::initializeDeferredAgents() |
| 442 { | 447 { |
| 443 if (m_deferredAgentsInitialized) | 448 if (m_deferredAgentsInitialized) |
| 444 return; | 449 return; |
| 445 m_deferredAgentsInitialized = true; | 450 m_deferredAgentsInitialized = true; |
| 446 | 451 |
| 447 InjectedScriptManager* injectedScriptManager = m_injectedScriptManager.get()
; | 452 InjectedScriptManager* injectedScriptManager = m_injectedScriptManager.get()
; |
| 448 | 453 |
| 449 OwnPtrWillBeRawPtr<InspectorResourceAgent> resourceAgentPtr(InspectorResourc
eAgent::create(m_inspectedFrames.get())); | 454 OwnPtrWillBeRawPtr<InspectorResourceAgent> resourceAgentPtr(InspectorResourc
eAgent::create(m_inspectedFrames.get())); |
| 450 m_resourceAgent = resourceAgentPtr.get(); | 455 m_resourceAgent = resourceAgentPtr.get(); |
| (...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 719 if (!InspectorBackendDispatcher::getCommandName(message, &commandName)) | 724 if (!InspectorBackendDispatcher::getCommandName(message, &commandName)) |
| 720 return false; | 725 return false; |
| 721 return commandName == InspectorBackendDispatcher::commandName(InspectorBacke
ndDispatcher::kDebugger_pauseCmd) | 726 return commandName == InspectorBackendDispatcher::commandName(InspectorBacke
ndDispatcher::kDebugger_pauseCmd) |
| 722 || commandName == InspectorBackendDispatcher::commandName(InspectorBacke
ndDispatcher::kDebugger_setBreakpointCmd) | 727 || commandName == InspectorBackendDispatcher::commandName(InspectorBacke
ndDispatcher::kDebugger_setBreakpointCmd) |
| 723 || commandName == InspectorBackendDispatcher::commandName(InspectorBacke
ndDispatcher::kDebugger_setBreakpointByUrlCmd) | 728 || commandName == InspectorBackendDispatcher::commandName(InspectorBacke
ndDispatcher::kDebugger_setBreakpointByUrlCmd) |
| 724 || commandName == InspectorBackendDispatcher::commandName(InspectorBacke
ndDispatcher::kDebugger_removeBreakpointCmd) | 729 || commandName == InspectorBackendDispatcher::commandName(InspectorBacke
ndDispatcher::kDebugger_removeBreakpointCmd) |
| 725 || commandName == InspectorBackendDispatcher::commandName(InspectorBacke
ndDispatcher::kDebugger_setBreakpointsActiveCmd); | 730 || commandName == InspectorBackendDispatcher::commandName(InspectorBacke
ndDispatcher::kDebugger_setBreakpointsActiveCmd); |
| 726 } | 731 } |
| 727 | 732 |
| 728 } // namespace blink | 733 } // namespace blink |
| OLD | NEW |