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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 #include "core/inspector/InspectorProfilerAgent.h" | 59 #include "core/inspector/InspectorProfilerAgent.h" |
60 #include "core/inspector/InspectorResourceAgent.h" | 60 #include "core/inspector/InspectorResourceAgent.h" |
61 #include "core/inspector/InspectorState.h" | 61 #include "core/inspector/InspectorState.h" |
62 #include "core/inspector/InspectorTimelineAgent.h" | 62 #include "core/inspector/InspectorTimelineAgent.h" |
63 #include "core/inspector/InspectorTracingAgent.h" | 63 #include "core/inspector/InspectorTracingAgent.h" |
64 #include "core/inspector/InspectorWorkerAgent.h" | 64 #include "core/inspector/InspectorWorkerAgent.h" |
65 #include "core/inspector/InstrumentingAgents.h" | 65 #include "core/inspector/InstrumentingAgents.h" |
66 #include "core/inspector/PageConsoleAgent.h" | 66 #include "core/inspector/PageConsoleAgent.h" |
67 #include "core/inspector/PageDebuggerAgent.h" | 67 #include "core/inspector/PageDebuggerAgent.h" |
68 #include "core/inspector/PageRuntimeAgent.h" | 68 #include "core/inspector/PageRuntimeAgent.h" |
| 69 #include "core/layout/Layer.h" |
69 #include "core/page/Page.h" | 70 #include "core/page/Page.h" |
70 #include "core/rendering/RenderLayer.h" | |
71 #include "platform/PlatformMouseEvent.h" | 71 #include "platform/PlatformMouseEvent.h" |
72 | 72 |
73 namespace blink { | 73 namespace blink { |
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(adoptPtrWillBeNoop(new InspectorCompositeState(inspectorClient))) | 78 , m_state(adoptPtrWillBeNoop(new InspectorCompositeState(inspectorClient))) |
79 , m_overlay(InspectorOverlay::create(page, inspectorClient)) | 79 , m_overlay(InspectorOverlay::create(page, inspectorClient)) |
80 , m_cssAgent(nullptr) | 80 , m_cssAgent(nullptr) |
(...skipping 409 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
490 m_layerTreeAgent->willAddPageOverlay(layer); | 490 m_layerTreeAgent->willAddPageOverlay(layer); |
491 } | 491 } |
492 | 492 |
493 void InspectorController::didRemovePageOverlay(const GraphicsLayer* layer) | 493 void InspectorController::didRemovePageOverlay(const GraphicsLayer* layer) |
494 { | 494 { |
495 if (m_layerTreeAgent) | 495 if (m_layerTreeAgent) |
496 m_layerTreeAgent->didRemovePageOverlay(layer); | 496 m_layerTreeAgent->didRemovePageOverlay(layer); |
497 } | 497 } |
498 | 498 |
499 } // namespace blink | 499 } // namespace blink |
OLD | NEW |