diff options
Diffstat (limited to 'chromium/third_party/blink/renderer/core/paint/paint_layer_painter.h')
-rw-r--r-- | chromium/third_party/blink/renderer/core/paint/paint_layer_painter.h | 22 |
1 files changed, 8 insertions, 14 deletions
diff --git a/chromium/third_party/blink/renderer/core/paint/paint_layer_painter.h b/chromium/third_party/blink/renderer/core/paint/paint_layer_painter.h index fd6326d4a86..f92faa661fa 100644 --- a/chromium/third_party/blink/renderer/core/paint/paint_layer_painter.h +++ b/chromium/third_party/blink/renderer/core/paint/paint_layer_painter.h @@ -15,7 +15,6 @@ namespace blink { class CullRect; -class ClipRect; class ComputedStyle; class GraphicsContext; struct PhysicalOffset; @@ -56,6 +55,8 @@ class CORE_EXPORT PaintLayerPainter { // invisible and therefore can't impact painted output. static bool PaintedOutputInvisible(const ComputedStyle&); + bool ShouldUseInfiniteCullRect(GlobalPaintFlags); + private: friend class PaintLayerPainterTest; @@ -71,13 +72,14 @@ class CORE_EXPORT PaintLayerPainter { void PaintFragmentWithPhase(PaintPhase, const PaintLayerFragment&, GraphicsContext&, - const ClipRect&, + const CullRect&, const PaintLayerPaintingInfo&, PaintLayerFlags); - void PaintBackgroundForFragments(const PaintLayerFragments&, - GraphicsContext&, - const PaintLayerPaintingInfo&, - PaintLayerFlags); + void PaintBackgroundForFragmentsWithPhase(PaintPhase, + const PaintLayerFragments&, + GraphicsContext&, + const PaintLayerPaintingInfo&, + PaintLayerFlags); void PaintForegroundForFragments(const PaintLayerFragments&, GraphicsContext&, const PaintLayerPaintingInfo&, @@ -87,18 +89,10 @@ class CORE_EXPORT PaintLayerPainter { GraphicsContext&, const PaintLayerPaintingInfo&, PaintLayerFlags); - void PaintSelfOutlineForFragments(const PaintLayerFragments&, - GraphicsContext&, - const PaintLayerPaintingInfo&, - PaintLayerFlags); void PaintOverlayOverflowControlsForFragments(const PaintLayerFragments&, GraphicsContext&, const PaintLayerPaintingInfo&, PaintLayerFlags); - void PaintMaskForFragments(const PaintLayerFragments&, - GraphicsContext&, - const PaintLayerPaintingInfo&, - PaintLayerFlags); void AdjustForPaintProperties(const GraphicsContext&, PaintLayerPaintingInfo&, |