OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2012 Apple Inc. All rights reserved. | 2 * Copyright (C) 2012 Apple Inc. All rights reserved. |
3 * Copyright (C) 2013 Google Inc. All rights reserved. | 3 * Copyright (C) 2013 Google Inc. All rights reserved. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions are | 6 * modification, are permitted provided that the following conditions are |
7 * met: | 7 * met: |
8 * | 8 * |
9 * * Redistributions of source code must retain the above copyright | 9 * * Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 15 matching lines...) Expand all Loading... |
26 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | 26 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
27 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 27 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
29 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 29 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
30 */ | 30 */ |
31 | 31 |
32 #include "config.h" | 32 #include "config.h" |
33 | 33 |
34 #include "core/inspector/InspectorLayerTreeAgent.h" | 34 #include "core/inspector/InspectorLayerTreeAgent.h" |
35 | 35 |
| 36 #include "core/dom/Document.h" |
36 #include "core/frame/LocalFrame.h" | 37 #include "core/frame/LocalFrame.h" |
37 #include "core/inspector/IdentifiersFactory.h" | 38 #include "core/inspector/IdentifiersFactory.h" |
38 #include "core/inspector/InspectorNodeIds.h" | 39 #include "core/inspector/InspectorNodeIds.h" |
39 #include "core/inspector/InspectorState.h" | 40 #include "core/inspector/InspectorState.h" |
40 #include "core/inspector/InstrumentingAgents.h" | 41 #include "core/inspector/InstrumentingAgents.h" |
41 #include "core/loader/DocumentLoader.h" | 42 #include "core/loader/DocumentLoader.h" |
42 #include "core/page/Page.h" | 43 #include "core/page/Page.h" |
43 #include "core/rendering/RenderView.h" | 44 #include "core/rendering/RenderView.h" |
| 45 #include "core/rendering/RenderWidget.h" |
44 #include "core/rendering/compositing/CompositedLayerMapping.h" | 46 #include "core/rendering/compositing/CompositedLayerMapping.h" |
45 #include "core/rendering/compositing/RenderLayerCompositor.h" | 47 #include "core/rendering/compositing/RenderLayerCompositor.h" |
46 #include "platform/geometry/IntRect.h" | 48 #include "platform/geometry/IntRect.h" |
47 #include "platform/graphics/CompositingReasons.h" | 49 #include "platform/graphics/CompositingReasons.h" |
48 #include "platform/graphics/GraphicsContextRecorder.h" | 50 #include "platform/graphics/GraphicsContextRecorder.h" |
49 #include "platform/transforms/TransformationMatrix.h" | 51 #include "platform/transforms/TransformationMatrix.h" |
50 #include "public/platform/WebFloatPoint.h" | 52 #include "public/platform/WebFloatPoint.h" |
51 #include "public/platform/WebLayer.h" | 53 #include "public/platform/WebLayer.h" |
52 #include "wtf/text/Base64.h" | 54 #include "wtf/text/Base64.h" |
53 | 55 |
(...skipping 351 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
405 void InspectorLayerTreeAgent::didRemovePageOverlay(const GraphicsLayer* layer) | 407 void InspectorLayerTreeAgent::didRemovePageOverlay(const GraphicsLayer* layer) |
406 { | 408 { |
407 size_t index = m_pageOverlayLayerIds.find(layer->platformLayer()->id()); | 409 size_t index = m_pageOverlayLayerIds.find(layer->platformLayer()->id()); |
408 if (index == WTF::kNotFound) | 410 if (index == WTF::kNotFound) |
409 return; | 411 return; |
410 m_pageOverlayLayerIds.remove(index); | 412 m_pageOverlayLayerIds.remove(index); |
411 } | 413 } |
412 | 414 |
413 | 415 |
414 } // namespace WebCore | 416 } // namespace WebCore |
OLD | NEW |