/external/chromium_org/third_party/WebKit/Source/core/rendering/line/ |
H A D | LineWidth.cpp | 38 LineWidth::LineWidth(RenderBlockFlow& block, bool isFirstLine, IndentTextOrNot shouldIndentText) argument 48 , m_shouldIndentText(shouldIndentText) 57 m_left = m_block.logicalLeftOffsetForLine(height, shouldIndentText(), logicalHeight).toFloat(); 58 m_right = m_block.logicalRightOffsetForLine(height, shouldIndentText(), logicalHeight).toFloat(); 83 if (shouldIndentText() && m_block.style()->isLeftToRightDirection()) 94 if (shouldIndentText() && !m_block.style()->isLeftToRightDirection()) 122 inline static float availableWidthAtOffset(const RenderBlockFlow& block, const LayoutUnit& offset, bool shouldIndentText, float& newLineLeft, float& newLineRight) argument 124 newLineLeft = block.logicalLeftOffsetForLine(offset, shouldIndentText).toFloat(); 125 newLineRight = block.logicalRightOffsetForLine(offset, shouldIndentText).toFloat(); 129 inline static float availableWidthAtOffset(const RenderBlockFlow& block, const LayoutUnit& offset, bool shouldIndentText) argument 147 isWholeLineFit(const RenderBlockFlow& block, const LayoutUnit& lineTop, LayoutUnit lineHeight, float uncommittedWidth, bool shouldIndentText) argument [all...] |
H A D | LineWidth.h | 47 LineWidth(RenderBlockFlow&, bool isFirstLine, IndentTextOrNot shouldIndentText); 71 bool shouldIndentText() const { return m_shouldIndentText == IndentText; } function in class:blink::LineWidth
|
H A D | BreakingContextInlineHeaders.h | 905 IndentTextOrNot shouldIndentText = DoNotIndentText; local 907 shouldIndentText = IndentText; 910 shouldIndentText = shouldIndentText == IndentText ? DoNotIndentText : IndentText; 912 return shouldIndentText;
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
H A D | RenderBlockFlow.h | 67 LayoutUnit availableLogicalWidthForLine(LayoutUnit position, bool shouldIndentText, LayoutUnit logicalHeight = 0) const argument 69 return max<LayoutUnit>(0, logicalRightOffsetForLine(position, shouldIndentText, logicalHeight) - logicalLeftOffsetForLine(position, shouldIndentText, logicalHeight)); 71 LayoutUnit logicalRightOffsetForLine(LayoutUnit position, bool shouldIndentText, LayoutUnit logicalHeight = 0) const argument 73 return logicalRightOffsetForLine(position, logicalRightOffsetForContent(), shouldIndentText, logicalHeight); 75 LayoutUnit logicalLeftOffsetForLine(LayoutUnit position, bool shouldIndentText, LayoutUnit logicalHeight = 0) const argument 77 return logicalLeftOffsetForLine(position, logicalLeftOffsetForContent(), shouldIndentText, logicalHeight); 79 LayoutUnit startOffsetForLine(LayoutUnit position, bool shouldIndentText, LayoutUnit logicalHeight = 0) const argument 81 return style()->isLeftToRightDirection() ? logicalLeftOffsetForLine(position, shouldIndentText, logicalHeight) 82 : logicalWidth() - logicalRightOffsetForLine(position, shouldIndentText, logicalHeigh 84 endOffsetForLine(LayoutUnit position, bool shouldIndentText, LayoutUnit logicalHeight = 0) const argument [all...] |
H A D | RenderBlockLineLayout.cpp | 537 static void updateLogicalInlinePositions(RenderBlockFlow* block, float& lineLogicalLeft, float& lineLogicalRight, float& availableLogicalWidth, bool firstLine, IndentTextOrNot shouldIndentText, LayoutUnit boxLogicalHeight) argument 540 lineLogicalLeft = block->logicalLeftOffsetForLine(block->logicalHeight(), shouldIndentText == IndentText, lineLogicalHeight).toFloat(); 541 lineLogicalRight = block->logicalRightOffsetForLine(block->logicalHeight(), shouldIndentText == IndentText, lineLogicalHeight).toFloat(); 556 IndentTextOrNot shouldIndentText = requiresIndent(isFirstLine, isAfterHardLineBreak, style()); local 560 updateLogicalInlinePositions(this, lineLogicalLeft, lineLogicalRight, availableLogicalWidth, isFirstLine, shouldIndentText, 0); 565 updateLogicalInlinePositions(this, lineLogicalLeft, lineLogicalRight, availableLogicalWidth, isFirstLine, shouldIndentText, renderBox->logicalHeight());
|