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

Unified Diff: Source/core/rendering/RenderInline.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/rendering/RenderBoxModelObject.cpp ('k') | Source/core/rendering/RenderInline.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/RenderInline.h
diff --git a/Source/core/rendering/RenderInline.h b/Source/core/rendering/RenderInline.h
index 9811f4a19d31264594686c6a26323635f7750ee7..ce53c440a72ba3f025c05fee6511cdc8f050804d 100644
--- a/Source/core/rendering/RenderInline.h
+++ b/Source/core/rendering/RenderInline.h
@@ -24,13 +24,13 @@
#define RenderInline_h
#include "core/editing/PositionWithAffinity.h"
+#include "core/layout/LayoutBoxModelObject.h"
#include "core/layout/line/InlineFlowBox.h"
-#include "core/rendering/RenderBoxModelObject.h"
#include "core/rendering/RenderLineBoxList.h"
namespace blink {
-class RenderInline : public RenderBoxModelObject {
+class RenderInline : public LayoutBoxModelObject {
public:
explicit RenderInline(Element*);
@@ -45,7 +45,7 @@ public:
virtual void addChild(LayoutObject* newChild, LayoutObject* beforeChild = 0) override;
- Element* node() const { return toElement(RenderBoxModelObject::node()); }
+ Element* node() const { return toElement(LayoutBoxModelObject::node()); }
virtual LayoutRectOutsets marginBoxOutsets() const override final;
virtual LayoutUnit marginLeft() const override final;
@@ -77,7 +77,7 @@ public:
InlineBox* firstLineBoxIncludingCulling() const { return alwaysCreateLineBoxes() ? firstLineBox() : culledInlineFirstLineBox(); }
InlineBox* lastLineBoxIncludingCulling() const { return alwaysCreateLineBoxes() ? lastLineBox() : culledInlineLastLineBox(); }
- virtual RenderBoxModelObject* virtualContinuation() const override final { return continuation(); }
+ virtual LayoutBoxModelObject* virtualContinuation() const override final { return continuation(); }
RenderInline* inlineElementContinuation() const;
virtual void updateDragState(bool dragOn) override final;
@@ -86,8 +86,8 @@ public:
virtual void addFocusRingRects(Vector<LayoutRect>&, const LayoutPoint& additionalOffset) const override final;
- using RenderBoxModelObject::continuation;
- using RenderBoxModelObject::setContinuation;
+ using LayoutBoxModelObject::continuation;
+ using LayoutBoxModelObject::setContinuation;
bool alwaysCreateLineBoxes() const { return alwaysCreateLineBoxesForRenderInline(); }
void setAlwaysCreateLineBoxes(bool alwaysCreateLineBoxes = true) { setAlwaysCreateLineBoxesForRenderInline(alwaysCreateLineBoxes); }
@@ -131,9 +131,9 @@ private:
void moveChildrenToIgnoringContinuation(RenderInline* to, LayoutObject* startChild);
void splitInlines(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);
virtual void layout() override final { ASSERT_NOT_REACHED(); } // Do nothing for layout()
@@ -186,7 +186,7 @@ private:
RenderInline* clone() const;
- RenderBoxModelObject* continuationBefore(LayoutObject* beforeChild);
+ LayoutBoxModelObject* continuationBefore(LayoutObject* beforeChild);
LayoutObjectChildList m_children;
RenderLineBoxList m_lineBoxes; // All of the line boxes created for this inline flow. For example, <i>Hello<br>world.</i> will have two <i> line boxes.
« no previous file with comments | « Source/core/rendering/RenderBoxModelObject.cpp ('k') | Source/core/rendering/RenderInline.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698