| 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 | |
| 446 void WebDevToolsAgentImpl::initializeDeferredAgents() | 441 void WebDevToolsAgentImpl::initializeDeferredAgents() |
| 447 { | 442 { |
| 448 if (m_deferredAgentsInitialized) | 443 if (m_deferredAgentsInitialized) |
| 449 return; | 444 return; |
| 450 m_deferredAgentsInitialized = true; | 445 m_deferredAgentsInitialized = true; |
| 451 | 446 |
| 452 InjectedScriptManager* injectedScriptManager = m_injectedScriptManager.get()
; | 447 InjectedScriptManager* injectedScriptManager = m_injectedScriptManager.get()
; |
| 453 | 448 |
| 454 OwnPtrWillBeRawPtr<InspectorResourceAgent> resourceAgentPtr(InspectorResourc
eAgent::create(m_inspectedFrames.get())); | 449 OwnPtrWillBeRawPtr<InspectorResourceAgent> resourceAgentPtr(InspectorResourc
eAgent::create(m_inspectedFrames.get())); |
| 455 m_resourceAgent = resourceAgentPtr.get(); | 450 m_resourceAgent = resourceAgentPtr.get(); |
| (...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 724 if (!InspectorBackendDispatcher::getCommandName(message, &commandName)) | 719 if (!InspectorBackendDispatcher::getCommandName(message, &commandName)) |
| 725 return false; | 720 return false; |
| 726 return commandName == InspectorBackendDispatcher::commandName(InspectorBacke
ndDispatcher::kDebugger_pauseCmd) | 721 return commandName == InspectorBackendDispatcher::commandName(InspectorBacke
ndDispatcher::kDebugger_pauseCmd) |
| 727 || commandName == InspectorBackendDispatcher::commandName(InspectorBacke
ndDispatcher::kDebugger_setBreakpointCmd) | 722 || commandName == InspectorBackendDispatcher::commandName(InspectorBacke
ndDispatcher::kDebugger_setBreakpointCmd) |
| 728 || commandName == InspectorBackendDispatcher::commandName(InspectorBacke
ndDispatcher::kDebugger_setBreakpointByUrlCmd) | 723 || commandName == InspectorBackendDispatcher::commandName(InspectorBacke
ndDispatcher::kDebugger_setBreakpointByUrlCmd) |
| 729 || commandName == InspectorBackendDispatcher::commandName(InspectorBacke
ndDispatcher::kDebugger_removeBreakpointCmd) | 724 || commandName == InspectorBackendDispatcher::commandName(InspectorBacke
ndDispatcher::kDebugger_removeBreakpointCmd) |
| 730 || commandName == InspectorBackendDispatcher::commandName(InspectorBacke
ndDispatcher::kDebugger_setBreakpointsActiveCmd); | 725 || commandName == InspectorBackendDispatcher::commandName(InspectorBacke
ndDispatcher::kDebugger_setBreakpointsActiveCmd); |
| 731 } | 726 } |
| 732 | 727 |
| 733 } // namespace blink | 728 } // namespace blink |
| OLD | NEW |