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

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

Issue 944923004: rendering/RenderBoxModelObject -> layout/LayoutBoxModelObject (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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/paint/LineBoxListPainter.cpp ('k') | Source/core/rendering/RenderBlock.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/RenderBlock.h
diff --git a/Source/core/rendering/RenderBlock.h b/Source/core/rendering/RenderBlock.h
index b17b587b2cec2f8a7c5e9c3b2f52a1630bcf89bc..c2f00791a55a993265aa5317e67504038522be3f 100644
--- a/Source/core/rendering/RenderBlock.h
+++ b/Source/core/rendering/RenderBlock.h
@@ -173,13 +173,13 @@ public:
void addContinuationWithOutline(RenderInline*);
- virtual RenderBoxModelObject* virtualContinuation() const override final { return continuation(); }
+ virtual LayoutBoxModelObject* virtualContinuation() const override final { return continuation(); }
bool isAnonymousBlockContinuation() const { return continuation() && isAnonymousBlock(); }
RenderInline* inlineElementContinuation() const;
RenderBlock* blockElementContinuation() const;
- using RenderBoxModelObject::continuation;
- using RenderBoxModelObject::setContinuation;
+ using LayoutBoxModelObject::continuation;
+ using LayoutBoxModelObject::setContinuation;
static RenderBlock* createAnonymousWithParentRendererAndDisplay(const LayoutObject*, EDisplay = BLOCK);
static RenderBlockFlow* createAnonymousColumnsWithParentRenderer(const LayoutObject*);
@@ -207,10 +207,10 @@ public:
LayoutUnit logicalHeightForChild(const RenderBox& child) const { return isHorizontalWritingMode() ? child.size().height() : child.size().width(); }
LayoutSize logicalSizeForChild(const RenderBox& child) const { return isHorizontalWritingMode() ? child.size() : child.size().transposedSize(); }
LayoutUnit logicalTopForChild(const RenderBox& child) const { return isHorizontalWritingMode() ? child.location().y() : child.location().x(); }
- LayoutUnit marginBeforeForChild(const RenderBoxModelObject& child) const { return child.marginBefore(style()); }
- LayoutUnit marginAfterForChild(const RenderBoxModelObject& child) const { return child.marginAfter(style()); }
- LayoutUnit marginStartForChild(const RenderBoxModelObject& child) const { return child.marginStart(style()); }
- LayoutUnit marginEndForChild(const RenderBoxModelObject& child) const { return child.marginEnd(style()); }
+ LayoutUnit marginBeforeForChild(const LayoutBoxModelObject& child) const { return child.marginBefore(style()); }
+ LayoutUnit marginAfterForChild(const LayoutBoxModelObject& child) const { return child.marginAfter(style()); }
+ LayoutUnit marginStartForChild(const LayoutBoxModelObject& child) const { return child.marginStart(style()); }
+ LayoutUnit marginEndForChild(const LayoutBoxModelObject& child) const { return child.marginEnd(style()); }
void setMarginStartForChild(RenderBox& child, LayoutUnit value) const { child.setMarginStart(value, style()); }
void setMarginEndForChild(RenderBox& child, LayoutUnit value) const { child.setMarginEnd(value, style()); }
void setMarginBeforeForChild(RenderBox& child, LayoutUnit value) const { child.setMarginBefore(value, style()); }
@@ -401,9 +401,9 @@ private:
void makeChildrenAnonymousColumnBlocks(LayoutObject* beforeChild, RenderBlockFlow* newBlockBox, LayoutObject* newChild);
void splitBlocks(RenderBlock* fromBlock, RenderBlock* toBlock, RenderBlock* middleBlock,
- LayoutObject* beforeChild, RenderBoxModelObject* oldCont);
+ LayoutObject* beforeChild, LayoutBoxModelObject* oldCont);
void splitFlow(LayoutObject* beforeChild, RenderBlock* newBlockBox,
- LayoutObject* newChild, RenderBoxModelObject* oldCont);
+ LayoutObject* newChild, LayoutBoxModelObject* oldCont);
RenderBlock* clone() const;
RenderBlock* continuationBefore(LayoutObject* beforeChild);
RenderBlockFlow* containingColumnsBlock(bool allowAnonymousColumnBlock = true);
« no previous file with comments | « Source/core/paint/LineBoxListPainter.cpp ('k') | Source/core/rendering/RenderBlock.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698