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

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

Issue 591613003: Move painting code from RenderObject into a new ObjectPainter class. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Merge again. 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
« no previous file with comments | « Source/core/rendering/RenderMultiColumnSet.cpp ('k') | Source/core/rendering/RenderObject.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/RenderObject.h
diff --git a/Source/core/rendering/RenderObject.h b/Source/core/rendering/RenderObject.h
index 5d8996597160da42581a8109721eb9fd1bc389cf..892b35af129943eeaa46c1d8ef3d073e334608b9 100644
--- a/Source/core/rendering/RenderObject.h
+++ b/Source/core/rendering/RenderObject.h
@@ -91,14 +91,6 @@ enum HitTestAction {
HitTestForeground
};
-// Sides used when drawing borders and outlines. The values should run clockwise from top.
-enum BoxSide {
- BSTop,
- BSRight,
- BSBottom,
- BSLeft
-};
-
enum MarkingBehavior {
MarkOnlyThis,
MarkContainingBlockChain,
@@ -1083,9 +1075,6 @@ public:
virtual LayoutRect viewRect() const;
- // FIXME: make this not public.
- void drawLineForBoxSide(GraphicsContext*, int x1, int y1, int x2, int y2, BoxSide, Color, EBorderStyle, int adjbw1, int adjbw2, bool antialias = false);
-
protected:
inline bool layerCreationAllowedForSubtree() const;
@@ -1098,16 +1087,6 @@ protected:
void propagateStyleToAnonymousChildren(bool blockChildrenOnly = false);
virtual void updateAnonymousChildStyle(const RenderObject* child, RenderStyle* style) const { }
- void drawDashedOrDottedBoxSide(GraphicsContext*, int x1, int y1, int x2, int y2,
- BoxSide, Color, int thickness, EBorderStyle, bool antialias);
- void drawDoubleBoxSide(GraphicsContext*, int x1, int y1, int x2, int y2,
- int length, BoxSide, Color, int thickness, int adjacentWidth1, int adjacentWidth2, bool antialias);
- void drawRidgeOrGrooveBoxSide(GraphicsContext*, int x1, int y1, int x2, int y2,
- BoxSide, Color, EBorderStyle, int adjacentWidth1, int adjacentWidth2, bool antialias);
- void drawSolidBoxSide(GraphicsContext*, int x1, int y1, int x2, int y2,
- BoxSide, Color, int adjacentWidth1, int adjacentWidth2, bool antialias);
-
- void paintFocusRing(PaintInfo&, const LayoutPoint&, RenderStyle*);
public:
void paintOutline(PaintInfo&, const LayoutRect&);
protected:
« no previous file with comments | « Source/core/rendering/RenderMultiColumnSet.cpp ('k') | Source/core/rendering/RenderObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698