Index: Source/core/paint/BoxPainter.h |
diff --git a/Source/core/paint/BoxPainter.h b/Source/core/paint/BoxPainter.h |
index b67912d3848d5424b8f6f09dd59bd3e5f9c0acfc..96cd3183d4f87697e177875d3d7231c99798c263 100644 |
--- a/Source/core/paint/BoxPainter.h |
+++ b/Source/core/paint/BoxPainter.h |
@@ -25,11 +25,23 @@ public: |
void paintFillLayers(const PaintInfo&, const Color&, const FillLayer&, const LayoutRect&, BackgroundBleedAvoidance = BackgroundBleedNone, CompositeOperator = CompositeSourceOver, RenderObject* backgroundObject = 0); |
void paintMaskImages(const PaintInfo&, const LayoutRect&); |
void paintBoxDecorationBackgroundWithRect(PaintInfo&, const LayoutPoint&, const LayoutRect&); |
+ void paintFillLayerExtended(const PaintInfo&, const Color&, const FillLayer&, const LayoutRect&, BackgroundBleedAvoidance, InlineFlowBox* = 0, const LayoutSize& = LayoutSize(), CompositeOperator = CompositeSourceOver, RenderObject* backgroundObject = 0, bool skipBaseColor = false); |
+ void calculateBackgroundImageGeometry(const RenderLayerModelObject* paintContainer, const FillLayer&, const LayoutRect& paintRect, BackgroundImageGeometry&, RenderObject* = 0) const; |
+ InterpolationQuality chooseInterpolationQuality(GraphicsContext*, Image*, const void*, const LayoutSize&); |
+ static void clipRoundedInnerRect(GraphicsContext*, const LayoutRect&, const RoundedRect& clipRect); |
private: |
void paintBackground(const PaintInfo&, const LayoutRect&, const Color& backgroundColor, BackgroundBleedAvoidance = BackgroundBleedNone); |
void paintRootBoxFillLayers(const PaintInfo&); |
void paintFillLayer(const PaintInfo&, const Color&, const FillLayer&, const LayoutRect&, BackgroundBleedAvoidance, CompositeOperator, RenderObject* backgroundObject, bool skipBaseColor = false); |
+ void paintRootBackgroundColor(const PaintInfo&, const LayoutRect&, const Color&); |
+ RoundedRect backgroundRoundedRectAdjustedForBleedAvoidance(GraphicsContext*, const LayoutRect&, BackgroundBleedAvoidance, InlineFlowBox*, const LayoutSize&, bool includeLogicalLeftEdge, bool includeLogicalRightEdge) const; |
+ RoundedRect getBackgroundRoundedRect(const LayoutRect&, InlineFlowBox*, LayoutUnit inlineBoxWidth, LayoutUnit inlineBoxHeight, |
+ bool includeLogicalLeftEdge, bool includeLogicalRightEdge) const; |
+ bool isDocumentElementWithOpaqueBackground() const; |
+ void applyBoxShadowForBackground(GraphicsContext*); |
+ bool fixedBackgroundPaintsInLocalCoordinates() const; |
+ IntSize calculateFillTileSize(const FillLayer&, const IntSize& scaledPositioningAreaSize) const; |
// FIXME: this should be const. |
RenderBox& m_renderBox; |