Index: Source/core/paint/LayerPainter.h |
diff --git a/Source/core/paint/LayerPainter.h b/Source/core/paint/LayerPainter.h |
index 03a2e356a22ba16942187ec60b6e3ffc17e7c352..1b3677b6e52c7806eb96a3a270a54f29ba159e62 100644 |
--- a/Source/core/paint/LayerPainter.h |
+++ b/Source/core/paint/LayerPainter.h |
@@ -29,6 +29,9 @@ public: |
void paintOverlayScrollbars(GraphicsContext*, const LayoutRect& damageRect, PaintBehavior, RenderObject* paintingRoot = 0); |
+ enum BorderRadiusClippingRule { IncludeSelfForBorderRadius, DoNotIncludeSelfForBorderRadius }; |
+ static void applyRoundedRectClips(RenderLayer&, const LayerPaintingInfo&, GraphicsContext*, PaintLayerFlags, ClipRecorder&, BorderRadiusClippingRule = IncludeSelfForBorderRadius); |
+ |
private: |
enum ClipState { HasNotClipped, HasClipped }; |
@@ -53,9 +56,6 @@ private: |
void paintTransformedLayerIntoFragments(GraphicsContext*, const LayerPaintingInfo&, PaintLayerFlags); |
void beginTransparencyLayers(GraphicsContext*, const RenderLayer* rootLayer, const LayoutRect& paintDirtyRect, const LayoutSize& subPixelAccumulation, PaintBehavior); |
- enum BorderRadiusClippingRule { IncludeSelfForBorderRadius, DoNotIncludeSelfForBorderRadius }; |
- |
- void applyRoundedRectClips(const LayerPaintingInfo&, GraphicsContext*, PaintLayerFlags, ClipRecorder&, BorderRadiusClippingRule = IncludeSelfForBorderRadius); |
static bool needsToClip(const LayerPaintingInfo& localPaintingInfo, const ClipRect&); |
// Returns whether this layer should be painted during sofware painting (i.e., not via calls from CompositedLayerMapping to draw into composited |