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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 #include "core/layout/compositing/CompositedLayerMapping.h" | 44 #include "core/layout/compositing/CompositedLayerMapping.h" |
45 #include "core/layout/compositing/PaintLayerCompositor.h" | 45 #include "core/layout/compositing/PaintLayerCompositor.h" |
46 #include "core/loader/DocumentLoader.h" | 46 #include "core/loader/DocumentLoader.h" |
47 #include "core/page/ChromeClient.h" | 47 #include "core/page/ChromeClient.h" |
48 #include "platform/geometry/IntRect.h" | 48 #include "platform/geometry/IntRect.h" |
49 #include "platform/graphics/CompositingReasons.h" | 49 #include "platform/graphics/CompositingReasons.h" |
50 #include "platform/graphics/GraphicsLayer.h" | 50 #include "platform/graphics/GraphicsLayer.h" |
51 #include "platform/graphics/PictureSnapshot.h" | 51 #include "platform/graphics/PictureSnapshot.h" |
52 #include "platform/graphics/paint/SkPictureBuilder.h" | 52 #include "platform/graphics/paint/SkPictureBuilder.h" |
53 #include "platform/image-encoders/PNGImageEncoder.h" | 53 #include "platform/image-encoders/PNGImageEncoder.h" |
54 #include "platform/inspector_protocol/Parser.h" | |
55 #include "platform/transforms/TransformationMatrix.h" | 54 #include "platform/transforms/TransformationMatrix.h" |
56 #include "public/platform/WebFloatPoint.h" | 55 #include "public/platform/WebFloatPoint.h" |
57 #include "public/platform/WebLayer.h" | 56 #include "public/platform/WebLayer.h" |
58 #include "wtf/text/Base64.h" | 57 #include "wtf/text/Base64.h" |
59 #include "wtf/text/StringBuilder.h" | 58 #include "wtf/text/StringBuilder.h" |
60 #include <memory> | 59 #include <memory> |
61 | 60 |
62 namespace blink { | 61 namespace blink { |
63 | 62 |
64 using protocol::Array; | 63 using protocol::Array; |
(...skipping 388 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
453 void InspectorLayerTreeAgent::didRemovePageOverlay(const GraphicsLayer* layer) | 452 void InspectorLayerTreeAgent::didRemovePageOverlay(const GraphicsLayer* layer) |
454 { | 453 { |
455 size_t index = m_pageOverlayLayerIds.find(layer->platformLayer()->id()); | 454 size_t index = m_pageOverlayLayerIds.find(layer->platformLayer()->id()); |
456 if (index == WTF::kNotFound) | 455 if (index == WTF::kNotFound) |
457 return; | 456 return; |
458 m_pageOverlayLayerIds.remove(index); | 457 m_pageOverlayLayerIds.remove(index); |
459 } | 458 } |
460 | 459 |
461 | 460 |
462 } // namespace blink | 461 } // namespace blink |
OLD | NEW |