Home
last modified time | relevance | path

Searched refs:beforeChild (Results 1 – 25 of 56) sorted by relevance

123

/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderTableRow.cpp115 void RenderTableRow::addChild(RenderObject* child, RenderObject* beforeChild) in addChild() argument
118 RenderObject* last = beforeChild; in addChild()
123 if (beforeChild == lastCell) in addChild()
124 beforeChild = lastCell->firstChild(); in addChild()
125 lastCell->addChild(child, beforeChild); in addChild()
129 if (beforeChild && !beforeChild->isAnonymous() && beforeChild->parent() == this) { in addChild()
130 RenderObject* cell = beforeChild->previousSibling(); in addChild()
139 last->parent()->addChild(child, beforeChild); in addChild()
144 addChild(cell, beforeChild); in addChild()
149 if (beforeChild && beforeChild->parent() != this) in addChild()
[all …]
DRenderRubyBase.cpp60 void RenderRubyBase::moveChildren(RenderRubyBase* toBase, RenderObject* beforeChild) in moveChildren() argument
66 if (beforeChild && beforeChild->parent() != this) in moveChildren()
67 beforeChild = splitAnonymousBoxesAroundChild(beforeChild); in moveChildren()
70 moveInlineChildren(toBase, beforeChild); in moveChildren()
72 moveBlockChildren(toBase, beforeChild); in moveChildren()
78 void RenderRubyBase::moveInlineChildren(RenderRubyBase* toBase, RenderObject* beforeChild) in moveInlineChildren() argument
102 moveChildrenTo(toBlock, firstChild(), beforeChild); in moveInlineChildren()
105 void RenderRubyBase::moveBlockChildren(RenderRubyBase* toBase, RenderObject* beforeChild) in moveBlockChildren() argument
128 moveChildrenTo(toBase, firstChild(), beforeChild); in moveBlockChildren()
DRenderObjectChildList.cpp122 …rtChildNode(RenderObject* owner, RenderObject* newChild, RenderObject* beforeChild, bool notifyRen… in insertChildNode() argument
127 while (beforeChild && beforeChild->parent() && beforeChild->parent() != owner) in insertChildNode()
128 beforeChild = beforeChild->parent(); in insertChildNode()
133 if (beforeChild && beforeChild->parent() != owner) { in insertChildNode()
140 if (firstChild() == beforeChild) in insertChildNode()
143 if (beforeChild) { in insertChildNode()
144 RenderObject* previousSibling = beforeChild->previousSibling(); in insertChildNode()
148 newChild->setNextSibling(beforeChild); in insertChildNode()
149 beforeChild->setPreviousSibling(newChild); in insertChildNode()
DRenderRuby.cpp126 void RenderRubyAsInline::addChild(RenderObject* child, RenderObject* beforeChild) in addChild() argument
162 RenderInline::addChild(child, beforeChild); in addChild()
166 if (beforeChild && !isAfterContent(beforeChild)) { in addChild()
168 ASSERT(!beforeChild->isRubyRun()); in addChild()
169 RenderObject* run = beforeChild; in addChild()
173 run->addChild(child, beforeChild); in addChild()
186 RenderInline::addChild(lastRun, beforeChild); in addChild()
232 void RenderRubyAsBlock::addChild(RenderObject* child, RenderObject* beforeChild) in addChild() argument
268 RenderBlockFlow::addChild(child, beforeChild); in addChild()
272 if (beforeChild && !isAfterContent(beforeChild)) { in addChild()
[all …]
DRenderRubyRun.cpp96 void RenderRubyRun::addChild(RenderObject* child, RenderObject* beforeChild) in addChild() argument
101 if (!beforeChild) { in addChild()
106 } else if (beforeChild->isRubyText()) { in addChild()
110 ASSERT(beforeChild->parent() == this); in addChild()
119 RenderBlockFlow::addChild(child, beforeChild); in addChild()
120 RenderBlockFlow::removeChild(beforeChild); in addChild()
121 newRun->addChild(beforeChild); in addChild()
129 rubyBaseSafe()->moveChildren(newRun->rubyBaseSafe(), beforeChild); in addChild()
134 if (beforeChild && beforeChild->isRubyText()) in addChild()
135 beforeChild = 0; in addChild()
[all …]
DRenderInline.cpp288 void RenderInline::addChild(RenderObject* newChild, RenderObject* beforeChild) in addChild() argument
291 return addChildToContinuation(newChild, beforeChild); in addChild()
292 return addChildIgnoringContinuation(newChild, beforeChild); in addChild()
302 RenderBoxModelObject* RenderInline::continuationBefore(RenderObject* beforeChild) in continuationBefore() argument
304 if (beforeChild && beforeChild->parent() == this) in continuationBefore()
311 if (beforeChild && beforeChild->parent() == curr) { in continuationBefore()
312 if (curr->slowFirstChild() == beforeChild) in continuationBefore()
322 if (!beforeChild && !last->slowFirstChild()) in continuationBefore()
327 void RenderInline::addChildIgnoringContinuation(RenderObject* newChild, RenderObject* beforeChild) in addChildIgnoringContinuation() argument
330 if (!beforeChild && isAfterContent(lastChild())) in addChildIgnoringContinuation()
[all …]
DRenderRubyBase.h58 void moveChildren(RenderRubyBase* toBase, RenderObject* beforeChild = 0);
59 void moveInlineChildren(RenderRubyBase* toBase, RenderObject* beforeChild = 0);
60 void moveBlockChildren(RenderRubyBase* toBase, RenderObject* beforeChild = 0);
DRenderTable.cpp127 void RenderTable::addChild(RenderObject* child, RenderObject* beforeChild) in addChild() argument
139 resetSectionPointerIfNotBefore(m_head, beforeChild); in addChild()
143 resetSectionPointerIfNotBefore(m_firstBody, beforeChild); in addChild()
150 resetSectionPointerIfNotBefore(m_foot, beforeChild); in addChild()
158 resetSectionPointerIfNotBefore(m_firstBody, beforeChild); in addChild()
173 if (beforeChild && beforeChild->parent() != this) in addChild()
174 beforeChild = splitAnonymousBoxesAroundChild(beforeChild); in addChild()
176 RenderBox::addChild(child, beforeChild); in addChild()
180 …if (!beforeChild && lastChild() && lastChild()->isTableSection() && lastChild()->isAnonymous() && … in addChild()
185 if (beforeChild && !beforeChild->isAnonymous() && beforeChild->parent() == this) { in addChild()
[all …]
DRenderBlock.cpp424 RenderBlock* RenderBlock::continuationBefore(RenderObject* beforeChild) in continuationBefore() argument
426 if (beforeChild && beforeChild->parent() == this) in continuationBefore()
433 if (beforeChild && beforeChild->parent() == curr) { in continuationBefore()
434 if (curr->firstChild() == beforeChild) in continuationBefore()
444 if (!beforeChild && !last->firstChild()) in continuationBefore()
449 void RenderBlock::addChildToContinuation(RenderObject* newChild, RenderObject* beforeChild) in addChildToContinuation() argument
451 RenderBlock* flow = continuationBefore(beforeChild); in addChildToContinuation()
452 …ASSERT(!beforeChild || beforeChild->parent()->isAnonymousColumnSpanBlock() || beforeChild->parent(… in addChildToContinuation()
454 if (beforeChild) in addChildToContinuation()
455 beforeChildParent = toRenderBoxModelObject(beforeChild->parent()); in addChildToContinuation()
[all …]
DRenderInline.h47 virtual void addChild(RenderObject* newChild, RenderObject* beforeChild = 0) OVERRIDE;
127 void addChildToContinuation(RenderObject* newChild, RenderObject* beforeChild);
128 …virtual void addChildIgnoringContinuation(RenderObject* newChild, RenderObject* beforeChild = 0) O…
131 RenderObject* beforeChild, RenderBoxModelObject* oldCont);
132 void splitFlow(RenderObject* beforeChild, RenderBlock* newBlockBox,
181 RenderBoxModelObject* continuationBefore(RenderObject* beforeChild);
DRenderBoxModelObject.cpp645 …erBoxModelObject* toBoxModelObject, RenderObject* child, RenderObject* beforeChild, bool fullRemov… in moveChildTo() argument
652 ASSERT(!beforeChild || toBoxModelObject == beforeChild->parent()); in moveChildTo()
656 toBoxModelObject->addChild(virtualChildren()->removeChildNode(this, child), beforeChild); in moveChildTo()
658 …ct, virtualChildren()->removeChildNode(this, child, fullRemoveInsert), beforeChild, fullRemoveInse… in moveChildTo()
661 …bject, RenderObject* startChild, RenderObject* endChild, RenderObject* beforeChild, bool fullRemov… in moveChildrenTo() argument
673 ASSERT(!beforeChild || toBoxModelObject == beforeChild->parent()); in moveChildrenTo()
677 moveChildTo(toBoxModelObject, child, beforeChild, fullRemoveInsert); in moveChildrenTo()
DRenderBlock.h102 virtual void addChild(RenderObject* newChild, RenderObject* beforeChild = 0) OVERRIDE;
355 void addChildToContinuation(RenderObject* newChild, RenderObject* beforeChild);
356 …virtual void addChildIgnoringContinuation(RenderObject* newChild, RenderObject* beforeChild) OVERR…
357 void addChildToAnonymousColumnBlocks(RenderObject* newChild, RenderObject* beforeChild);
359 … void addChildIgnoringAnonymousColumnBlocks(RenderObject* newChild, RenderObject* beforeChild = 0);
422 …void makeChildrenAnonymousColumnBlocks(RenderObject* beforeChild, RenderBlockFlow* newBlockBox, Re…
425 RenderObject* beforeChild, RenderBoxModelObject* oldCont);
426 void splitFlow(RenderObject* beforeChild, RenderBlock* newBlockBox,
429 RenderBlock* continuationBefore(RenderObject* beforeChild);
DRenderRuby.h59 virtual void addChild(RenderObject* child, RenderObject* beforeChild = 0) OVERRIDE;
77 virtual void addChild(RenderObject* child, RenderObject* beforeChild = 0) OVERRIDE;
DRenderTableSection.cpp143 void RenderTableSection::addChild(RenderObject* child, RenderObject* beforeChild) in addChild() argument
146 RenderObject* last = beforeChild; in addChild()
150 if (beforeChild == last) in addChild()
151 beforeChild = last->slowFirstChild(); in addChild()
152 last->addChild(child, beforeChild); in addChild()
156 if (beforeChild && !beforeChild->isAnonymous() && beforeChild->parent() == this) { in addChild()
157 RenderObject* row = beforeChild->previousSibling(); in addChild()
170 lastBox->addChild(child, beforeChild); in addChild()
175 addChild(row, beforeChild); in addChild()
180 if (beforeChild) in addChild()
[all …]
DRenderBoxModelObject.h197 …erBoxModelObject* toBoxModelObject, RenderObject* child, RenderObject* beforeChild, bool fullRemov…
206 …void moveAllChildrenTo(RenderBoxModelObject* toBoxModelObject, RenderObject* beforeChild, bool ful…
208 moveChildrenTo(toBoxModelObject, slowFirstChild(), 0, beforeChild, fullRemoveInsert);
216 …bject, RenderObject* startChild, RenderObject* endChild, RenderObject* beforeChild, bool fullRemov…
DRenderButton.cpp38 void RenderButton::addChild(RenderObject* newChild, RenderObject* beforeChild) in addChild() argument
47 m_inner->addChild(newChild, beforeChild); in addChild()
DRenderObjectChildList.h57 …void insertChildNode(RenderObject* owner, RenderObject* newChild, RenderObject* beforeChild, bool …
DRenderRubyRun.h58 virtual void addChild(RenderObject* child, RenderObject* beforeChild = 0) OVERRIDE;
DRenderButton.h43 virtual void addChild(RenderObject* newChild, RenderObject *beforeChild = 0) OVERRIDE;
DCounterNode.h68 … void insertAfter(CounterNode* newChild, CounterNode* beforeChild, const AtomicString& identifier);
DRenderMultiColumnFlowThread.cpp73 void RenderMultiColumnFlowThread::addChild(RenderObject* newChild, RenderObject* beforeChild) in addChild() argument
75 RenderBlockFlow::addChild(newChild, beforeChild); in addChild()
DRenderTextControl.cpp54 void RenderTextControl::addChild(RenderObject* newChild, RenderObject* beforeChild) in addChild() argument
62 RenderBlockFlow::addChild(newChild, beforeChild); in addChild()
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
DRenderSVGInline.cpp134 void RenderSVGInline::addChild(RenderObject* child, RenderObject* beforeChild) in addChild() argument
136 RenderInline::addChild(child, beforeChild); in addChild()
DRenderSVGContainer.cpp87 void RenderSVGContainer::addChild(RenderObject* child, RenderObject* beforeChild) in addChild() argument
89 RenderSVGModelObject::addChild(child, beforeChild); in addChild()
DRenderSVGInline.h60 virtual void addChild(RenderObject* child, RenderObject* beforeChild = 0) OVERRIDE FINAL;

123