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

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: 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') | Source/core/rendering/RenderFlexibleBox.cpp » ('J')
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 0364e7250e70013fc79280f04f9fef70d855615b..710f1a809e223ee50b3f882af8385b96b88aee81 100644
--- a/Source/core/paint/BlockPainter.h
+++ b/Source/core/paint/BlockPainter.h
@@ -11,6 +11,7 @@ namespace blink {
struct PaintInfo;
class LayoutPoint;
+class RenderFlexibleBox;
class BlockPainter {
public:
@@ -25,6 +26,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);
private:
LayoutRect overflowRectForPaintRejection() const;
« no previous file with comments | « no previous file | Source/core/paint/BlockPainter.cpp » ('j') | Source/core/rendering/RenderFlexibleBox.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698