| 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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 #include "core/inspector/InspectorProfilerAgent.h" | 61 #include "core/inspector/InspectorProfilerAgent.h" |
| 62 #include "core/inspector/InspectorResourceAgent.h" | 62 #include "core/inspector/InspectorResourceAgent.h" |
| 63 #include "core/inspector/InspectorState.h" | 63 #include "core/inspector/InspectorState.h" |
| 64 #include "core/inspector/InspectorTimelineAgent.h" | 64 #include "core/inspector/InspectorTimelineAgent.h" |
| 65 #include "core/inspector/InspectorWorkerAgent.h" | 65 #include "core/inspector/InspectorWorkerAgent.h" |
| 66 #include "core/inspector/InstrumentingAgents.h" | 66 #include "core/inspector/InstrumentingAgents.h" |
| 67 #include "core/inspector/PageConsoleAgent.h" | 67 #include "core/inspector/PageConsoleAgent.h" |
| 68 #include "core/inspector/PageDebuggerAgent.h" | 68 #include "core/inspector/PageDebuggerAgent.h" |
| 69 #include "core/inspector/PageRuntimeAgent.h" | 69 #include "core/inspector/PageRuntimeAgent.h" |
| 70 #include "core/page/Page.h" | 70 #include "core/page/Page.h" |
| 71 #include "core/platform/PlatformMouseEvent.h" | 71 #include "platform/PlatformMouseEvent.h" |
| 72 | 72 |
| 73 namespace WebCore { | 73 namespace WebCore { |
| 74 | 74 |
| 75 InspectorController::InspectorController(Page* page, InspectorClient* inspectorC
lient) | 75 InspectorController::InspectorController(Page* page, InspectorClient* inspectorC
lient) |
| 76 : m_instrumentingAgents(InstrumentingAgents::create()) | 76 : m_instrumentingAgents(InstrumentingAgents::create()) |
| 77 , m_injectedScriptManager(InjectedScriptManager::createForPage()) | 77 , m_injectedScriptManager(InjectedScriptManager::createForPage()) |
| 78 , m_state(adoptPtr(new InspectorCompositeState(inspectorClient))) | 78 , m_state(adoptPtr(new InspectorCompositeState(inspectorClient))) |
| 79 , m_overlay(InspectorOverlay::create(page, inspectorClient)) | 79 , m_overlay(InspectorOverlay::create(page, inspectorClient)) |
| 80 , m_page(page) | 80 , m_page(page) |
| 81 , m_inspectorClient(inspectorClient) | 81 , m_inspectorClient(inspectorClient) |
| (...skipping 330 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 412 timelineAgent->willComposite(); | 412 timelineAgent->willComposite(); |
| 413 } | 413 } |
| 414 | 414 |
| 415 void InspectorController::didComposite() | 415 void InspectorController::didComposite() |
| 416 { | 416 { |
| 417 if (InspectorTimelineAgent* timelineAgent = m_instrumentingAgents->inspector
TimelineAgent()) | 417 if (InspectorTimelineAgent* timelineAgent = m_instrumentingAgents->inspector
TimelineAgent()) |
| 418 timelineAgent->didComposite(); | 418 timelineAgent->didComposite(); |
| 419 } | 419 } |
| 420 | 420 |
| 421 } // namespace WebCore | 421 } // namespace WebCore |
| OLD | NEW |