Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1548)

Unified Diff: Source/core/rendering/RenderBoxModelObject.h

Issue 550363004: Factor painting code out of RenderBox into a new class called BoxPainter. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/rendering/RenderBoxModelObject.h
diff --git a/Source/core/rendering/RenderBoxModelObject.h b/Source/core/rendering/RenderBoxModelObject.h
index 9bd701a61fb85b6e052b849acdb4d495d63b2660..e9377ce4ed71fb785406137905de2e6c4210ac76 100644
--- a/Source/core/rendering/RenderBoxModelObject.h
+++ b/Source/core/rendering/RenderBoxModelObject.h
@@ -245,9 +245,6 @@ protected:
bool calculateHasBoxDecorations() const;
void calculateBackgroundImageGeometry(const RenderLayerModelObject* paintContainer, const FillLayer&, const LayoutRect& paintRect, BackgroundImageGeometry&, RenderObject* = 0) const;
- void getBorderEdgeInfo(class BorderEdge[], const RenderStyle*, bool includeLogicalLeftEdge = true, bool includeLogicalRightEdge = true) const;
- bool borderObscuresBackgroundEdge(const FloatSize& contextScale) const;
- bool borderObscuresBackground() const;
RoundedRect backgroundRoundedRectAdjustedForBleedAvoidance(GraphicsContext*, const LayoutRect&, BackgroundBleedAvoidance, InlineFlowBox*, const LayoutSize&, bool includeLogicalLeftEdge, bool includeLogicalRightEdge) const;
LayoutRect borderInnerRectAdjustedForBleedAvoidance(GraphicsContext*, const LayoutRect&, BackgroundBleedAvoidance) const;
@@ -262,11 +259,10 @@ protected:
bool hasAutoHeightOrContainingBlockWithAutoHeight() const;
- bool isDocumentElementWithOpaqueBackground() const;
-
+public:
Stephen Chennney 2014/09/09 16:14:37 You're making a whole lot of stuff public now. It
chrishtr 2014/09/09 16:55:45 isDocumentElementWithOpaqueBackground() is called
void paintRootBackgroundColor(const PaintInfo&, const LayoutRect&, const Color&);
+ bool isDocumentElementWithOpaqueBackground() const;
-public:
static bool shouldAntialiasLines(GraphicsContext*);
// For RenderBlocks and RenderInlines with m_style->styleType() == FIRST_LETTER, this tracks their remaining text fragments

Powered by Google App Engine
This is Rietveld 408576698