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

Unified Diff: Source/core/paint/BlockPainter.h

Issue 596583002: Move paint code from RenderFlexibleBox to BlockPainter. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Merged. 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 | « no previous file | Source/core/paint/BlockPainter.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/paint/BlockPainter.h
diff --git a/Source/core/paint/BlockPainter.h b/Source/core/paint/BlockPainter.h
index 51083782a8c998253f877445c3647997816001af..b43d01bfbdec147d7b4782d478d8fab32737bc9c 100644
--- a/Source/core/paint/BlockPainter.h
+++ b/Source/core/paint/BlockPainter.h
@@ -11,6 +11,7 @@ struct PaintInfo;
class InlineBox;
class LayoutPoint;
class LayoutRect;
+class RenderFlexibleBox;
class RenderBlock;
class RenderBox;
class RenderObject;
@@ -28,6 +29,7 @@ public:
// (grid items, flex items) require this behavior as well, and this function exists as a helper for them.
// It is expected that the caller will call this function independent of the value of paintInfo.phase.
static void paintAsInlineBlock(RenderObject*, PaintInfo&, const LayoutPoint&);
+ static void paintChildrenOfFlexibleBox(RenderFlexibleBox&, PaintInfo&, const LayoutPoint& paintOffset);
static void paintInlineBox(InlineBox&, PaintInfo&, const LayoutPoint& paintOffset);
private:
« no previous file with comments | « no previous file | Source/core/paint/BlockPainter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698