Home
last modified time | relevance | path

Searched refs:InlineBox (Results 1 – 25 of 59) sorted by relevance

123

/external/chromium_org/third_party/WebKit/Source/core/rendering/
DInlineBox.cpp49 COMPILE_ASSERT(sizeof(InlineBox) == sizeof(SameSizeAsInlineBox), InlineBox_size_guard);
53 InlineBox::~InlineBox() in ~InlineBox()
61 void InlineBox::remove(MarkLineBoxes markLineBoxes) in remove()
67 void* InlineBox::operator new(size_t sz) in operator new()
72 void InlineBox::operator delete(void* ptr) in operator delete()
78 const char* InlineBox::boxName() const in boxName()
83 void InlineBox::showTreeForThis() const in showTreeForThis()
88 void InlineBox::showLineTreeForThis() const in showLineTreeForThis()
93 void InlineBox::showLineTreeAndMark(const InlineBox* markedBox1, const char* markedLabel1, const In… in showLineTreeAndMark()
108 void InlineBox::showBox(int printedCharacters) const in showBox()
[all …]
DRootInlineBox.h94 using InlineBox::endsWithBreak;
95 using InlineBox::setEndsWithBreak;
97 void childRemoved(InlineBox* box);
101 …ool ltr, float blockLeftEdge, float blockRightEdge, float ellipsisWidth, InlineBox* markupBox = 0);
105 using InlineBox::hasEllipsisBox;
118 using InlineBox::hasSelectedChildren;
119 using InlineBox::setHasSelectedChildren;
122 InlineBox* firstSelectedBox() const;
123 InlineBox* lastSelectedBox() const;
129 InlineBox* closestLeafChildForPoint(const IntPoint&, bool onlyEditableLeaves);
[all …]
DInlineBox.h38 class InlineBox {
39 WTF_MAKE_NONCOPYABLE(InlineBox);
41 InlineBox(RenderObject& obj) in InlineBox() function
53InlineBox(RenderObject& obj, FloatPoint topLeft, float logicalWidth, bool firstLine, bool construc… in InlineBox() function
54 …bool dirty, bool extracted, bool isHorizontal, InlineBox* next, InlineBox* prev, InlineFlowBox* pa… in InlineBox()
68 virtual ~InlineBox();
113 …virtual void showLineTreeAndMark(const InlineBox* = 0, const char* = 0, const InlineBox* = 0, cons…
155 InlineBox* nextOnLine() const { return m_next; } in nextOnLine()
156 InlineBox* prevOnLine() const { return m_prev; } in prevOnLine()
157 void setNextOnLine(InlineBox* next) in setNextOnLine()
[all …]
DInlineFlowBox.h42 class InlineFlowBox : public InlineBox {
45 : InlineBox(obj) in InlineFlowBox()
77 …virtual void showLineTreeAndMark(const InlineBox* = 0, const char* = 0, const InlineBox* = 0, cons…
86 InlineBox* firstChild() const { checkConsistency(); return m_firstChild; } in firstChild()
87 InlineBox* lastChild() const { checkConsistency(); return m_lastChild; } in lastChild()
91 InlineBox* firstLeafChild() const;
92 InlineBox* lastLeafChild() const;
94 …(*CustomInlineBoxRangeReverse)(void* userData, Vector<InlineBox*>::iterator first, Vector<InlineBo…
95 …void collectLeafBoxesInLogicalOrder(Vector<InlineBox*>&, CustomInlineBoxRangeReverse customReverse…
99 InlineBox::setConstructed(); in setConstructed()
[all …]
DInlineFlowBox.cpp46 struct SameSizeAsInlineFlowBox : public InlineBox {
58 for (InlineBox* child = firstChild(); child; child = child->nextOnLine()) in ~InlineFlowBox()
67 for (InlineBox* curr = firstChild(); curr; curr = curr->nextOnLine()) { in getFlowSpacingLogicalWidth()
94 void InlineFlowBox::addToLine(InlineBox* child) in addToLine()
181 void InlineFlowBox::removeChild(InlineBox* child, MarkLineBoxes markDirty) in removeChild()
206 InlineBox* child = firstChild(); in deleteLine()
207 InlineBox* next = 0; in deleteLine()
235 for (InlineBox* child = firstChild(); child; child = child->nextOnLine()) in extractLine()
248 for (InlineBox* child = firstChild(); child; child = child->nextOnLine()) in attachLine()
259 InlineBox::adjustPosition(dx, dy); in adjustPosition()
[all …]
DRootInlineBox.cpp116 InlineBox* markupBox) in placeEllipsis()
191 void RootInlineBox::childRemoved(InlineBox* box) in childRemoved()
305 InlineBox* firstBox = firstSelectedBox(); in lineSelectionGap()
306 InlineBox* lastBox = lastSelectedBox(); in lineSelectionGap()
327 for (InlineBox* box = firstBox->nextLeafChild(); box; box = box->nextLeafChild()) { in lineSelectionGap()
353 for (InlineBox* box = firstLeafChild(); box; box = box->nextLeafChild()) { in selectionState()
373 InlineBox* RootInlineBox::firstSelectedBox() const in firstSelectedBox()
375 for (InlineBox* box = firstLeafChild(); box; box = box->nextLeafChild()) { in firstSelectedBox()
383 InlineBox* RootInlineBox::lastSelectedBox() const in lastSelectedBox()
385 for (InlineBox* box = lastLeafChild(); box; box = box->prevLeafChild()) { in lastSelectedBox()
[all …]
DInlineTextBox.h41 class InlineTextBox : public InlineBox {
44 : InlineBox(obj) in InlineTextBox()
53 RenderText& renderer() const { return toRenderText(InlineBox::renderer()); } in renderer()
76 using InlineBox::hasHyphen;
77 using InlineBox::setHasHyphen;
78 using InlineBox::canHaveLeadingExpansion;
79 using InlineBox::setCanHaveLeadingExpansion;
139 InlineBox::setExpansion(newExpansion); in setExpansion()
DEllipsisBox.h30 class EllipsisBox FINAL : public InlineBox {
33 int width, int height, int x, int y, bool firstLine, bool isVertical, InlineBox* markupBox) in EllipsisBox()
34 … : InlineBox(obj, FloatPoint(x, y), width, firstLine, true, false, false, isVertical, 0, 0, parent) in EllipsisBox()
54 InlineBox* markupBox() const;
DBidiRun.h34 class InlineBox; variable
51 InlineBox* m_box;
DRenderInline.h78InlineBox* firstLineBoxIncludingCulling() const { return alwaysCreateLineBoxes() ? firstLineBox() … in firstLineBoxIncludingCulling()
79InlineBox* lastLineBoxIncludingCulling() const { return alwaysCreateLineBoxes() ? lastLineBox() : … in lastLineBoxIncludingCulling()
97 …virtual LayoutRect localCaretRect(InlineBox*, int, LayoutUnit* extraWidthToEndOfLine) OVERRIDE FIN…
119 InlineBox* culledInlineFirstLineBox() const;
120 InlineBox* culledInlineLastLineBox() const;
DEllipsisBox.cpp71 InlineBox* EllipsisBox::markupBox() const in markupBox()
83 InlineBox* anchorBox = lastLine->lastChild(); in markupBox()
92 InlineBox* markupBox = this->markupBox(); in paintMarkupBox()
137 if (InlineBox* markupBox = this->markupBox()) { in nodeAtPoint()
DRenderLineBoxList.cpp237InlineBox* firstBox = inlineContainer ? inlineContainer->firstLineBoxIncludingCulling() : firstLin… in dirtyLinesFromChangedChild()
264 InlineBox* wrapper = toRenderBox(curr)->inlineBoxWrapper(); in dirtyLinesFromChangedChild()
272 InlineBox* lastSiblingBox = toRenderInline(curr)->lastLineBoxIncludingCulling(); in dirtyLinesFromChangedChild()
DRenderBox.h61 InlineBox* m_inlineBoxWrapper;
398 void positionLineBox(InlineBox*);
401 virtual InlineBox* createInlineBox();
407 InlineBox* inlineBoxWrapper() const { return m_rareData ? m_rareData->m_inlineBoxWrapper : 0; } in inlineBoxWrapper()
408 void setInlineBoxWrapper(InlineBox*);
500 …virtual LayoutRect localCaretRect(InlineBox*, int caretOffset, LayoutUnit* extraWidthToEndOfLine =…
772 inline void RenderBox::setInlineBoxWrapper(InlineBox* boxWrapper) in setInlineBoxWrapper()
/external/chromium_org/third_party/WebKit/Source/core/editing/
DRenderedPosition.h77 explicit RenderedPosition(RenderObject*, InlineBox*, int offset);
79 InlineBox* prevLeafChild() const;
80 InlineBox* nextLeafChild() const;
87 InlineBox* m_inlineBox;
90 static InlineBox* uncachedInlineBox() { return reinterpret_cast<InlineBox*>(1); } in uncachedInlineBox()
93 mutable InlineBox* m_prevLeafChild;
94 mutable InlineBox* m_nextLeafChild;
106 inline RenderedPosition::RenderedPosition(RenderObject* renderer, InlineBox* box, int offset) in RenderedPosition()
DRenderedPosition.cpp100 InlineBox* RenderedPosition::prevLeafChild() const in prevLeafChild()
107 InlineBox* RenderedPosition::nextLeafChild() const in nextLeafChild()
123 InlineBox* box = atLeftmostOffsetInBox() ? prevLeafChild() : m_inlineBox; in bidiLevelOnLeft()
129 InlineBox* box = atRightmostOffsetInBox() ? nextLeafChild() : m_inlineBox; in bidiLevelOnRight()
138 InlineBox* box = m_inlineBox; in leftBoundaryOfBidiRun()
140 InlineBox* prev = box->prevLeafChildIgnoringLineBreak(); in leftBoundaryOfBidiRun()
155 InlineBox* box = m_inlineBox; in rightBoundaryOfBidiRun()
157 InlineBox* next = box->nextLeafChildIgnoringLineBreak(); in rightBoundaryOfBidiRun()
DVisiblePosition.cpp132 InlineBox* box; in leftVisuallyDistinctCandidate()
163 InlineBox* prevBox = box->prevLeafChildIgnoringLineBreak(); in leftVisuallyDistinctCandidate()
169 InlineBox* boxOnLeft; in leftVisuallyDistinctCandidate()
187 InlineBox* prevBox = box->prevLeafChild(); in leftVisuallyDistinctCandidate()
191 InlineBox* logicalStart = 0; in leftVisuallyDistinctCandidate()
204 InlineBox* nextBox = box; in leftVisuallyDistinctCandidate()
238 while (InlineBox* nextBox = box->nextLeafChild()) { in leftVisuallyDistinctCandidate()
246 while (InlineBox* prevBox = box->prevLeafChild()) { in leftVisuallyDistinctCandidate()
297 InlineBox* box; in rightVisuallyDistinctCandidate()
328 InlineBox* nextBox = box->nextLeafChildIgnoringLineBreak(); in rightVisuallyDistinctCandidate()
[all …]
DVisiblePosition.h49 class InlineBox; variable
91 void getInlineBoxAndOffset(InlineBox*& inlineBox, int& caretOffset) const in getInlineBoxAndOffset()
DVisibleUnits.cpp135 const InlineBox* firstBox() const { return m_leafBoxes[0]; } in firstBox()
138 const Vector<InlineBox*>& collectBoxes(const RootInlineBox*);
142 Vector<InlineBox*> m_leafBoxes;
188 const Vector<InlineBox*>& CachedLogicallyOrderedLeafBoxes::collectBoxes(const RootInlineBox* root) in collectBoxes()
210 const InlineBox* startBox = textBox; in logicallyPreviousBox()
251 const InlineBox* startBox = textBox; in logicallyNextBox()
355 InlineBox* previouslyVisitedBox = 0; in visualWordPosition()
367 InlineBox* box; in visualWordPosition()
723 InlineBox* startBox; in startPositionForLine()
790 InlineBox* endBox; in endPositionForLine()
[all …]
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
DSVGRootInlineBox.cpp44 for (InlineBox* child = firstChild(); child; child = child->nextOnLine()) { in paint()
55 for (InlineBox* child = firstChild(); child; child = child->nextOnLine()) in paint()
62 for (InlineBox* child = firstChild(); child; child = child->nextOnLine()) in markDirty()
94 for (InlineBox* child = start->firstChild(); child; child = child->nextOnLine()) { in layoutCharactersInTextBoxes()
125 for (InlineBox* child = start->firstChild(); child; child = child->nextOnLine()) { in layoutChildBoxes()
165 for (InlineBox* child = firstChild(); child; child = child->nextOnLine()) { in layoutRootBox()
180 InlineBox* SVGRootInlineBox::closestLeafChildForPosition(const LayoutPoint& point) in closestLeafChildForPosition()
182 InlineBox* firstLeaf = firstLeafChild(); in closestLeafChildForPosition()
183 InlineBox* lastLeaf = lastLeafChild(); in closestLeafChildForPosition()
188 InlineBox* closestLeaf = 0; in closestLeafChildForPosition()
[all …]
DSVGInlineFlowBox.cpp37 for (InlineBox* child = firstChild(); child; child = child->nextOnLine()) { in paintSelectionBackground()
52 for (InlineBox* child = firstChild(); child; child = child->nextOnLine()) in paint()
60 for (InlineBox* child = firstChild(); child; child = child->nextOnLine()) { in calculateBoundaries()
DSVGRootInlineBox.h51 InlineBox* closestLeafChildForPosition(const LayoutPoint&);
DRenderSVGInlineText.h58 …virtual LayoutRect localCaretRect(InlineBox*, int caretOffset, LayoutUnit* extraWidthToEndOfLine =…
/external/chromium_org/third_party/WebKit/Source/core/dom/
DPosition.cpp619 InlineBox* otherBox = box; in upstream()
743 InlineBox* otherBox = box; in downstream()
967 InlineBox* b1; in rendersInDifferentPosition()
969 InlineBox* b2; in rendersInDifferentPosition()
1001 void Position::getInlineBoxAndOffset(EAffinity affinity, InlineBox*& inlineBox, int& caretOffset) c… in getInlineBoxAndOffset()
1062 void Position::getInlineBoxAndOffset(EAffinity affinity, TextDirection primaryDirection, InlineBox*… in getInlineBoxAndOffset()
1128 InlineBox* nextBox = inlineBox->nextLeafChild(); in getInlineBoxAndOffset()
1133 InlineBox* prevBox = inlineBox; in getInlineBoxAndOffset()
1142 while (InlineBox* nextBox = inlineBox->nextLeafChild()) { in getInlineBoxAndOffset()
1149 InlineBox* prevBox = inlineBox->prevLeafChild(); in getInlineBoxAndOffset()
[all …]
DPosition.h41 class InlineBox; variable
181 void getInlineBoxAndOffset(EAffinity, InlineBox*&, int& caretOffset) const;
182 …void getInlineBoxAndOffset(EAffinity, TextDirection primaryDirection, InlineBox*&, int& caretOffse…
/external/chromium_org/third_party/WebKit/Source/core/paint/
DBlockPainter.h11 class InlineBox; variable
33 static void paintInlineBox(InlineBox&, PaintInfo&, const LayoutPoint& paintOffset);

123