OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "core/paint/PaintLayerPainter.h" | 5 #include "core/paint/PaintLayerPainter.h" |
6 | 6 |
7 #include "core/frame/FrameView.h" | 7 #include "core/frame/FrameView.h" |
8 #include "core/frame/Settings.h" | 8 #include "core/frame/Settings.h" |
9 #include "core/layout/ClipPathOperation.h" | |
10 #include "core/layout/LayoutBlock.h" | 9 #include "core/layout/LayoutBlock.h" |
11 #include "core/layout/LayoutView.h" | 10 #include "core/layout/LayoutView.h" |
12 #include "core/layout/svg/LayoutSVGResourceClipper.h" | 11 #include "core/layout/svg/LayoutSVGResourceClipper.h" |
13 #include "core/page/Page.h" | 12 #include "core/page/Page.h" |
14 #include "core/paint/FilterPainter.h" | 13 #include "core/paint/FilterPainter.h" |
15 #include "core/paint/LayerClipRecorder.h" | 14 #include "core/paint/LayerClipRecorder.h" |
16 #include "core/paint/ObjectPaintProperties.h" | 15 #include "core/paint/ObjectPaintProperties.h" |
17 #include "core/paint/PaintInfo.h" | 16 #include "core/paint/PaintInfo.h" |
18 #include "core/paint/PaintLayer.h" | 17 #include "core/paint/PaintLayer.h" |
19 #include "core/paint/SVGClipPainter.h" | 18 #include "core/paint/SVGClipPainter.h" |
20 #include "core/paint/ScrollRecorder.h" | 19 #include "core/paint/ScrollRecorder.h" |
21 #include "core/paint/ScrollableAreaPainter.h" | 20 #include "core/paint/ScrollableAreaPainter.h" |
22 #include "core/paint/Transform3DRecorder.h" | 21 #include "core/paint/Transform3DRecorder.h" |
| 22 #include "core/style/ClipPathOperation.h" |
23 #include "platform/RuntimeEnabledFeatures.h" | 23 #include "platform/RuntimeEnabledFeatures.h" |
24 #include "platform/geometry/FloatPoint3D.h" | 24 #include "platform/geometry/FloatPoint3D.h" |
25 #include "platform/graphics/GraphicsLayer.h" | 25 #include "platform/graphics/GraphicsLayer.h" |
26 #include "platform/graphics/paint/ClipPathRecorder.h" | 26 #include "platform/graphics/paint/ClipPathRecorder.h" |
27 #include "platform/graphics/paint/ClipRecorder.h" | 27 #include "platform/graphics/paint/ClipRecorder.h" |
28 #include "platform/graphics/paint/CompositingRecorder.h" | 28 #include "platform/graphics/paint/CompositingRecorder.h" |
29 #include "platform/graphics/paint/DisplayItemCacheSkipper.h" | 29 #include "platform/graphics/paint/DisplayItemCacheSkipper.h" |
30 #include "platform/graphics/paint/PaintChunkProperties.h" | 30 #include "platform/graphics/paint/PaintChunkProperties.h" |
31 #include "platform/graphics/paint/ScopedPaintChunkProperties.h" | 31 #include "platform/graphics/paint/ScopedPaintChunkProperties.h" |
32 #include "platform/graphics/paint/SubsequenceRecorder.h" | 32 #include "platform/graphics/paint/SubsequenceRecorder.h" |
(...skipping 776 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
809 if (!m_paintLayer.containsDirtyOverlayScrollbars()) | 809 if (!m_paintLayer.containsDirtyOverlayScrollbars()) |
810 return; | 810 return; |
811 | 811 |
812 PaintLayerPaintingInfo paintingInfo(&m_paintLayer, LayoutRect(enclosingIntRe
ct(damageRect)), paintFlags, LayoutSize()); | 812 PaintLayerPaintingInfo paintingInfo(&m_paintLayer, LayoutRect(enclosingIntRe
ct(damageRect)), paintFlags, LayoutSize()); |
813 paintLayer(context, paintingInfo, PaintLayerPaintingOverlayScrollbars); | 813 paintLayer(context, paintingInfo, PaintLayerPaintingOverlayScrollbars); |
814 | 814 |
815 m_paintLayer.setContainsDirtyOverlayScrollbars(false); | 815 m_paintLayer.setContainsDirtyOverlayScrollbars(false); |
816 } | 816 } |
817 | 817 |
818 } // namespace blink | 818 } // namespace blink |
OLD | NEW |