/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/ |
H A D | SVGTextLayoutEngine.cpp | 115 void SVGTextLayoutEngine::recordTextFragment(SVGInlineTextBox* textBox, const Vector<SVGTextMetrics>& textMetricsValues) argument 142 textBox->textFragments().append(m_currentTextFragment); 239 void SVGTextLayoutEngine::layoutInlineTextBox(SVGInlineTextBox* textBox) argument 241 ASSERT(textBox); 243 RenderSVGInlineText& text = toRenderSVGInlineText(textBox->renderer()); 251 textBox->clearTextFragments(); 253 layoutTextOnLineOrPath(textBox, text, *style); 256 m_pathLayoutBoxes.append(textBox); 260 m_lineLayoutBoxes.append(textBox); 270 SVGInlineTextBox* textBox local 296 SVGInlineTextBox* textBox = boxes.at(boxPosition); local 389 currentVisualCharacterMetrics(SVGInlineTextBox* textBox, const Vector<SVGTextMetrics>& visualMetricsValues, SVGTextMetrics& visualMetrics) argument 426 layoutTextOnLineOrPath(SVGInlineTextBox* textBox, const RenderSVGInlineText& text, const RenderStyle& style) argument [all...] |
H A D | RenderSVGInlineText.cpp | 113 InlineTextBox* textBox = toInlineTextBox(box); 114 if (static_cast<unsigned>(caretOffset) < textBox->start() || static_cast<unsigned>(caretOffset) > textBox->start() + textBox->len()) 118 if (static_cast<unsigned>(caretOffset) < textBox->start() + textBox->len()) { 119 LayoutRect rect = textBox->localSelectionRect(caretOffset, caretOffset + 1); 124 LayoutRect rect = textBox->localSelectionRect(caretOffset - 1, caretOffset); 182 SVGInlineTextBox* textBox = toSVGInlineTextBox(box); local 183 Vector<SVGTextFragment>& fragments = textBox [all...] |
H A D | SVGTextChunkBuilder.cpp | 34 AffineTransform SVGTextChunkBuilder::transformationForTextBox(SVGInlineTextBox* textBox) const 36 return m_textBoxTransformations.get(textBox); 49 SVGInlineTextBox* textBox = lineLayoutBoxes[boxPosition]; local 50 if (!textBox->startsNewTextChunk()) 85 SVGInlineTextBox* textBox = lineLayoutBoxes[boxStart]; local 86 ASSERT(textBox); 88 RenderSVGInlineText& textRenderer = toRenderSVGInlineText(textBox->renderer()); 90 const RenderStyle* style = toRenderSVGInlineText(textBox->renderer()).style(); 195 SVGInlineTextBox* textBox = boxes[boxPosition]; local 196 Vector<SVGTextFragment>& fragments = textBox [all...] |
H A D | SVGTextChunk.cpp | 41 SVGInlineTextBox* textBox = m_boxes.at(boxPosition); local 42 Vector<SVGTextFragment>& fragments = textBox->textFragments();
|
H A D | SVGTextQuery.cpp | 40 , textBox(0) 47 const SVGInlineTextBox* textBox; member in struct:blink::SVGTextQuery::Data 112 queryData->textBox = m_textBoxes.at(textBoxPosition); 113 queryData->textRenderer = &toRenderSVGInlineText(queryData->textBox->renderer()); 117 const Vector<SVGTextFragment>& fragments = queryData->textBox->textFragments(); 143 int fragmentStartInBox = fragment.characterOffset - queryData->textBox->start(); 154 if (!queryData->textBox->mapStartEndPositionsIntoFragmentCoordinates(fragment, startPosition, endPosition)) 170 int fragmentOffsetInBox = fragment.characterOffset - queryData->textBox->start(); 499 data->processedCharacters += characterOffset - data->textBox->start();
|
H A D | SVGRootInlineBox.cpp | 130 SVGInlineTextBox* textBox = toSVGInlineTextBox(child); local 131 boxRect = textBox->calculateBoundaries(); 132 textBox->setX(boxRect.x()); 133 textBox->setY(boxRect.y()); 134 textBox->setLogicalWidth(boxRect.width()); 135 textBox->setLogicalHeight(boxRect.height());
|
H A D | SVGRenderTreeAsText.cpp | 400 static inline void writeSVGInlineTextBox(TextStream& ts, SVGInlineTextBox* textBox, int indent) argument 402 Vector<SVGTextFragment>& fragments = textBox->textFragments(); 406 RenderSVGInlineText& textRenderer = toRenderSVGInlineText(textBox->renderer()); 409 String text = textBox->renderer().text(); 435 startOffset -= textBox->start(); 436 endOffset -= textBox->start(); 446 if (!textBox->isLeftToRightDirection() || textBox->dirOverride()) { 447 ts << (textBox->isLeftToRightDirection() ? " LTR" : " RTL"); 448 if (textBox [all...] |
H A D | SVGInlineTextBox.cpp | 676 SVGInlineTextBox* textBox = toSVGInlineTextBox(box); local 678 int markerStartPosition = std::max<int>(marker->startOffset() - textBox->start(), 0); 679 int markerEndPosition = std::min<int>(marker->endOffset() - textBox->start(), textBox->len()); 684 const Vector<SVGTextFragment>& fragments = textBox->textFragments(); 691 if (!textBox->mapStartEndPositionsIntoFragmentCoordinates(fragment, fragmentStartPosition, fragmentEndPosition)) 694 FloatRect fragmentRect = textBox->selectionRectForTextFragment(fragment, fragmentStartPosition, fragmentEndPosition, style);
|
/external/chromium_org/third_party/WebKit/Source/core/editing/ |
H A D | VisibleUnits.cpp | 207 static const InlineTextBox* logicallyPreviousBox(const VisiblePosition& visiblePosition, const InlineTextBox* textBox, argument 210 const InlineBox* startBox = textBox; 212 const InlineTextBox* previousBox = leafBoxes.previousTextBox(&startBox->root(), textBox); 248 static const InlineTextBox* logicallyNextBox(const VisiblePosition& visiblePosition, const InlineTextBox* textBox, argument 251 const InlineBox* startBox = textBox; 253 const InlineTextBox* nextBox = leafBoxes.nextTextBox(&startBox->root(), textBox); 288 static TextBreakIterator* wordBreakIteratorForMinOffsetBoundary(const VisiblePosition& visiblePosition, const InlineTextBox* textBox, argument 294 const InlineTextBox* previousBox = logicallyPreviousBox(visiblePosition, textBox, previousBoxInDifferentBlock, leafBoxes); 303 textBox->renderer().text().appendTo(string, textBox 309 wordBreakIteratorForMaxOffsetBoundary(const VisiblePosition& visiblePosition, const InlineTextBox* textBox, bool& nextBoxInDifferentBlock, Vector<UChar, 1024>& string, CachedLogicallyOrderedLeafBoxes& leafBoxes) argument 378 InlineTextBox* textBox = toInlineTextBox(box); local [all...] |
H A D | CompositeEditCommand.cpp | 739 for (InlineTextBox* textBox = textRenderer->firstTextBox(); textBox; textBox = textBox->nextTextBox()) 740 sortedTextBoxes.append(textBox);
|
H A D | TextIterator.cpp | 664 for (InlineTextBox* textBox = renderer->firstTextBox(); textBox; textBox = textBox->nextTextBox()) { 665 m_sortedTextBoxes.append(textBox);
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
H A D | RenderLineBoxList.cpp | 268 InlineTextBox* textBox = toRenderText(curr)->lastTextBox(); local 269 if (textBox) 270 box = &textBox->root();
|
H A D | RenderText.cpp | 317 for (InlineTextBox* textBox = firstTextBox(); textBox; textBox = textBox->nextTextBox()) { 318 String text = m_text.substring(textBox->start(), textBox->len()).simplifyWhiteSpace(WTF::DoNotStripWhiteSpace); 320 if (textBox->nextTextBox() && textBox->nextTextBox()->start() > textBox->end() && text.length() && !text.right(1).containsOnlyWhitespace()) 1446 InlineTextBox* textBox local [all...] |
H A D | InlineFlowBox.cpp | 860 inline void InlineFlowBox::addTextBoxVisualOverflow(InlineTextBox* textBox, GlyphOverflowAndFallbackFontsMap& textBoxDataMap, LayoutRect& logicalVisualOverflow) argument 862 if (textBox->knownToHaveNoOverflow()) 865 RenderStyle* style = textBox->renderer().style(isFirstLineStyle()); 867 GlyphOverflowAndFallbackFontsMap::iterator it = textBoxDataMap.find(textBox); 883 if (style->textEmphasisMark() != TextEmphasisMarkNone && textBox->getEmphasisMarkPosition(style, emphasisMarkPosition)) { 909 LayoutUnit logicalTopVisualOverflow = std::min(textBox->pixelSnappedLogicalTop() + childOverflowLogicalTop, logicalVisualOverflow.y()); 910 LayoutUnit logicalBottomVisualOverflow = std::max(textBox->pixelSnappedLogicalBottom() + childOverflowLogicalBottom, logicalVisualOverflow.maxY()); 911 LayoutUnit logicalLeftVisualOverflow = std::min(textBox->pixelSnappedLogicalLeft() + childOverflowLogicalLeft, logicalVisualOverflow.x()); 912 LayoutUnit logicalRightVisualOverflow = std::max(textBox->pixelSnappedLogicalRight() + childOverflowLogicalRight, logicalVisualOverflow.maxX()); 917 textBox [all...] |
H A D | RenderBlockLineLayout.cpp | 61 InlineTextBox* textBox = toRenderText(obj)->createInlineTextBox(); local 65 textBox->setIsText(isOnlyRun || obj->document().inNoQuirksMode()); 66 return textBox; 473 InlineTextBox* textBox = toInlineTextBox(r->m_box); local 475 textBox->setExpansion(expansion);
|
H A D | RenderBlock.cpp | 2591 InlineTextBox* textBox = toInlineTextBox(box); 2592 return createLegacyEditingPosition(box->renderer().nonPseudoNode(), start ? textBox->start() : textBox->start() + textBox->len());
|
/external/chromium_org/chrome/third_party/chromevox/ |
H A D | chromeVoxChromePageScript.js | 1525 b=document.createElement("DIV"),g=document.createElement("A");g.name="page"+a;b.style.position="relative";b.style.background="white";b.style.margin="auto";b.style.marginTop="20pt";b.style.marginBottom="20pt";b.style.height=d.height+"pt";b.style.width=d.width+"pt";b.style.boxShadow="0pt 0pt 10pt #333";for(var d=d.textBox,q=0;q<d.length;q++){var m=d[q],s=document.createElement("Span");s.style.position="absolute";s.style.left=m.left+"pt";s.style.top=m.top+"pt";s.style.fontSize=.8*m.height+"pt";for(var u=
|
H A D | chromeVoxChromeBackgroundScript.js | 1640 b=document.createElement("DIV"),g=document.createElement("A");g.name="page"+a;b.style.position="relative";b.style.background="white";b.style.margin="auto";b.style.marginTop="20pt";b.style.marginBottom="20pt";b.style.height=d.height+"pt";b.style.width=d.width+"pt";b.style.boxShadow="0pt 0pt 10pt #333";for(var d=d.textBox,q=0;q<d.length;q++){var m=d[q],s=document.createElement("Span");s.style.position="absolute";s.style.left=m.left+"pt";s.style.top=m.top+"pt";s.style.fontSize=.8*m.height+"pt";for(var u=
|