Lines Matching defs:InlineFlowBox
21 #include "core/rendering/InlineFlowBox.h"
50 COMPILE_ASSERT(sizeof(InlineFlowBox) == sizeof(SameSizeAsInlineFlowBox), InlineFlowBox_should_stay_small);
54 InlineFlowBox::~InlineFlowBox()
63 LayoutUnit InlineFlowBox::getFlowSpacingLogicalWidth()
73 IntRect InlineFlowBox::roundedFrameRect() const
85 static void setHasTextDescendantsOnAncestors(InlineFlowBox* box)
93 void InlineFlowBox::addToLine(InlineBox* child)
142 InlineFlowBox* childFlowBox = toInlineFlowBox(child);
178 void InlineFlowBox::removeChild(InlineBox* child)
201 void InlineFlowBox::deleteLine()
223 void InlineFlowBox::removeLineBoxFromRenderObject()
228 void InlineFlowBox::extractLine()
236 void InlineFlowBox::extractLineBoxFromRenderObject()
241 void InlineFlowBox::attachLine()
249 void InlineFlowBox::attachLineBoxToRenderObject()
254 void InlineFlowBox::adjustPosition(float dx, float dy)
263 RenderLineBoxList* InlineFlowBox::rendererLineBoxes() const
302 void InlineFlowBox::determineSpacingForFlowBoxes(bool lastLine, bool isLogicallyLastRunWrapped, RenderObject* logicallyLastRunRenderer)
353 InlineFlowBox* currFlow = toInlineFlowBox(currChild);
359 float InlineFlowBox::placeBoxesInInlineDirection(float logicalLeft, bool& needsWordSpacing, GlyphOverflowAndFallbackFontsMap& textBoxDataMap)
377 float InlineFlowBox::placeBoxRangeInInlineDirection(InlineBox* firstChild, InlineBox* lastChild, float& logicalLeft, float& minLogicalLeft, float& maxLogicalRight, bool& needsWordSpacing, GlyphOverflowAndFallbackFontsMap& textBoxDataMap)
406 InlineFlowBox* flow = toInlineFlowBox(curr);
436 bool InlineFlowBox::requiresIdeographicBaseline(const GlyphOverflowAndFallbackFontsMap& textBoxDataMap) const
474 void InlineFlowBox::adjustMaxAscentAndDescent(int& maxAscent, int& maxDescent, int maxPositionTop, int maxPositionBottom)
501 void InlineFlowBox::computeLogicalBoxHeights(RootInlineBox* rootBox, LayoutUnit& maxPositionTop, LayoutUnit& maxPositionBottom,
549 InlineFlowBox* inlineFlowBox = curr->isInlineFlowBox() ? toInlineFlowBox(curr) : 0;
570 } else if (!inlineFlowBox || strictMode || inlineFlowBox->hasTextChildren() || (inlineFlowBox->descendantsHaveSameLineHeightAndBaseline() && inlineFlowBox->hasTextDescendants())
571 || inlineFlowBox->boxModelObject()->hasInlineDirectionBordersOrPadding()) {
591 if (inlineFlowBox)
592 inlineFlowBox->computeLogicalBoxHeights(rootBox, maxPositionTop, maxPositionBottom, maxAscent, maxDescent,
598 void InlineFlowBox::placeBoxesInBlockDirection(LayoutUnit top, LayoutUnit maxHeight, int maxAscent, bool strictMode, LayoutUnit& lineTop, LayoutUnit& lineBottom, bool& setLineTop,
625 InlineFlowBox* inlineFlowBox = curr->isInlineFlowBox() ? toInlineFlowBox(curr) : 0;
632 if (!strictMode && inlineFlowBox && !inlineFlowBox->hasTextChildren() && !curr->boxModelObject()->hasInlineDirectionBordersOrPadding()
633 && !(inlineFlowBox->descendantsHaveSameLineHeightAndBaseline() && inlineFlowBox->hasTextDescendants()))
707 if (inlineFlowBox)
708 inlineFlowBox->placeBoxesInBlockDirection(top, maxHeight, maxAscent, strictMode, lineTop, lineBottom, setLineTop,
732 void InlineFlowBox::computeMaxLogicalTop(float& maxLogicalTop) const
750 void InlineFlowBox::flipLinesInBlockDirection(LayoutUnit lineTop, LayoutUnit lineBottom)
766 inline void InlineFlowBox::addBoxShadowVisualOverflow(LayoutRect& logicalVisualOverflow)
799 inline void InlineFlowBox::addBorderOutsetVisualOverflow(LayoutRect& logicalVisualOverflow)
834 inline void InlineFlowBox::addTextBoxVisualOverflow(InlineTextBox* textBox, GlyphOverflowAndFallbackFontsMap& textBoxDataMap, LayoutRect& logicalVisualOverflow)
894 inline void InlineFlowBox::addReplacedChildOverflow(const InlineBox* inlineBox, LayoutRect& logicalLayoutOverflow, LayoutRect& logicalVisualOverflow)
915 void InlineFlowBox::computeOverflow(LayoutUnit lineTop, LayoutUnit lineBottom, GlyphOverflowAndFallbackFontsMap& textBoxDataMap)
943 InlineFlowBox* flow = toInlineFlowBox(curr);
957 void InlineFlowBox::setLayoutOverflow(const LayoutRect& rect, LayoutUnit lineTop, LayoutUnit lineBottom)
969 void InlineFlowBox::setVisualOverflow(const LayoutRect& rect, LayoutUnit lineTop, LayoutUnit lineBottom)
981 void InlineFlowBox::setOverflowFromLogicalRects(const LayoutRect& logicalLayoutOverflow, const LayoutRect& logicalVisualOverflow, LayoutUnit lineTop, LayoutUnit lineBottom)
990 bool InlineFlowBox::nodeAtPoint(const HitTestRequest& request, HitTestResult& result, const HitTestLocation& locationInContainer, const LayoutPoint& accumulatedOffset, LayoutUnit lineTop, LayoutUnit lineBottom)
1067 void InlineFlowBox::paint(PaintInfo& paintInfo, const LayoutPoint& paintOffset, LayoutUnit lineTop, LayoutUnit lineBottom)
1137 void InlineFlowBox::paintFillLayers(const PaintInfo& paintInfo, const Color& c, const FillLayer* fillLayer, const LayoutRect& rect, CompositeOperator op)
1145 bool InlineFlowBox::boxShadowCanBeAppliedToBackground(const FillLayer& lastBackgroundLayer) const
1154 void InlineFlowBox::paintFillLayer(const PaintInfo& paintInfo, const Color& c, const FillLayer* fillLayer, const LayoutRect& rect, CompositeOperator op)
1174 for (InlineFlowBox* curr = prevLineBox(); curr; curr = curr->prevLineBox())
1177 for (InlineFlowBox* curr = this; curr; curr = curr->nextLineBox())
1180 for (InlineFlowBox* curr = nextLineBox(); curr; curr = curr->nextLineBox())
1183 for (InlineFlowBox* curr = this; curr; curr = curr->prevLineBox())
1197 void InlineFlowBox::paintBoxShadow(const PaintInfo& info, RenderStyle* s, ShadowStyle shadowStyle, const LayoutRect& paintRect)
1208 void InlineFlowBox::constrainToLineTopAndBottomIfNeeded(LayoutRect& rect) const
1228 static LayoutRect clipRectForNinePieceImageStrip(InlineFlowBox* box, const NinePieceImage& image, const LayoutRect& paintRect)
1255 void InlineFlowBox::paintBoxDecorations(PaintInfo& paintInfo, const LayoutPoint& paintOffset)
1308 for (InlineFlowBox* curr = prevLineBox(); curr; curr = curr->prevLineBox())
1311 for (InlineFlowBox* curr = this; curr; curr = curr->nextLineBox())
1327 void InlineFlowBox::paintMask(PaintInfo& paintInfo, const LayoutPoint& paintOffset)
1380 for (InlineFlowBox* curr = prevLineBox(); curr; curr = curr->prevLineBox())
1383 for (InlineFlowBox* curr = this; curr; curr = curr->nextLineBox())
1400 InlineBox* InlineFlowBox::firstLeafChild() const
1408 InlineBox* InlineFlowBox::lastLeafChild() const
1416 RenderObject::SelectionState InlineFlowBox::selectionState()
1421 bool InlineFlowBox::canAccommodateEllipsis(bool ltr, int blockEdge, int ellipsisWidth) const
1430 float InlineFlowBox::placeEllipsisBox(bool ltr, float blockLeftEdge, float blockRightEdge, float ellipsisWidth, float &truncatedWidth, bool& foundBox)
1460 void InlineFlowBox::clearTruncation()
1466 LayoutUnit InlineFlowBox::computeOverAnnotationAdjustment(LayoutUnit allowedPosition) const
1514 LayoutUnit InlineFlowBox::computeUnderAnnotationAdjustment(LayoutUnit allowedPosition) const
1561 void InlineFlowBox::collectLeafBoxesInLogicalOrder(Vector<InlineBox*>& leafBoxesInLogicalOrder, CustomInlineBoxRangeReverse customReverseImplementation, void* userData) const
1616 const char* InlineFlowBox::boxName() const
1618 return "InlineFlowBox";
1621 void InlineFlowBox::showLineTreeAndMark(const InlineBox* markedBox1, const char* markedLabel1, const InlineBox* markedBox2, const char* markedLabel2, const RenderObject* obj, int depth) const
1628 void InlineFlowBox::checkConsistency() const