Lines Matching refs:RenderBox
27 #include "RenderBox.h"
54 class RenderBlock : public RenderBox {
82 void insertPositionedObject(RenderBox*);
83 void removePositionedObject(RenderBox*);
86 typedef ListHashSet<RenderBox*, 4> PositionedObjectsListHashSet;
89 void addPercentHeightDescendant(RenderBox*);
90 static void removePercentHeightDescendant(RenderBox*);
91 HashSet<RenderBox*>* percentHeightDescendants() const;
97 void markAllDescendantsWithFloatsForLayout(RenderBox* floatToRemove = 0, bool inLayout = true);
103 bool containsFloat(RenderBox*);
178 int logicalWidthForChild(RenderBox* child) { return isHorizontalWritingMode() ? child->width() : child->height(); }
179 int logicalHeightForChild(RenderBox* child) { return isHorizontalWritingMode() ? child->height() : child->width(); }
180 int logicalTopForChild(RenderBox* child) { return isHorizontalWritingMode() ? child->y() : child->x(); }
181 void setLogicalLeftForChild(RenderBox* child, int logicalLeft, ApplyLayoutDeltaMode = DoNotApplyLayoutDelta);
182 void setLogicalTopForChild(RenderBox* child, int logicalTop, ApplyLayoutDeltaMode = DoNotApplyLayoutDelta);
187 void setMarginStartForChild(RenderBox* child, int);
188 void setMarginEndForChild(RenderBox* child, int);
189 void setMarginBeforeForChild(RenderBox* child, int);
190 void setMarginAfterForChild(RenderBox* child, int);
191 int collapsedMarginBeforeForChild(RenderBox* child) const;
192 int collapsedMarginAfterForChild(RenderBox* child) const;
221 MarginValues marginValuesForChild(RenderBox* child);
368 FloatWithRect(RenderBox* f)
375 RenderBox* object;
410 RenderBox* renderer() const { return m_renderer; }
430 RenderBox* m_renderer;
506 EClear*, FloatingObject* lastFloatFromPreviousLine, Vector<RenderBox*>& positionedObjects);
531 FloatingObject* insertFloatingObject(RenderBox*);
532 void removeFloatingObject(RenderBox*);
540 int getClearDelta(RenderBox* child, int yPos);
545 bool hasOverhangingFloat(RenderBox*);
691 void layoutBlockChild(RenderBox* child, MarginInfo&, int& previousFloatLogicalBottom, int& maxFloatLogicalBottom);
692 void adjustPositionedBlock(RenderBox* child, const MarginInfo&);
694 bool handleSpecialChild(RenderBox* child, const MarginInfo&);
695 bool handleFloatingChild(RenderBox* child, const MarginInfo&);
696 bool handlePositionedChild(RenderBox* child, const MarginInfo&);
697 bool handleRunInChild(RenderBox* child);
698 int collapseMargins(RenderBox* child, MarginInfo&);
699 int clearFloatsIfNeeded(RenderBox* child, MarginInfo&, int oldTopPosMargin, int oldTopNegMargin, int yPos);
700 int estimateLogicalTopPosition(RenderBox* child, const MarginInfo&);
701 void determineLogicalLeftPositionForChild(RenderBox* child);
708 int applyBeforeBreak(RenderBox* child, int logicalOffset); // If the child has a before break, then return a new yPos that shifts to the top of the next page/column.
709 int applyAfterBreak(RenderBox* child, int logicalOffset, MarginInfo& marginInfo); // If the child has an after break, then return a new offset that shifts to the top of the next page/column.
710 int adjustForUnsplittableChild(RenderBox* child, int logicalOffset, bool includeMargins = false); // If the child is unsplittable and can't fit on the current page, return the top of the next page/column.
714 static unsigned hash(FloatingObject* key) { return DefaultHash<RenderBox*>::Hash::hash(key->m_renderer); }
719 static unsigned hash(RenderBox* key) { return DefaultHash<RenderBox*>::Hash::hash(key); }
720 static bool equal(FloatingObject* a, RenderBox* b) { return a->m_renderer == b; }