Home
last modified time | relevance | path

Searched refs:oldChild (Results 1 – 25 of 91) sorted by relevance

1234

/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderObjectChildList.cpp59 RenderObject* RenderObjectChildList::removeChildNode(RenderObject* owner, RenderObject* oldChild, b… in removeChildNode() argument
61 ASSERT(oldChild->parent() == owner); in removeChildNode()
63 if (oldChild->isFloatingOrOutOfFlowPositioned()) in removeChildNode()
64 toRenderBox(oldChild)->removeFloatingOrPositionedChildFromBlockLists(); in removeChildNode()
73 if (!owner->documentBeingDestroyed() && notifyRenderer && oldChild->everHadLayout()) { in removeChildNode()
74 oldChild->setNeedsLayoutAndPrefWidthsRecalc(); in removeChildNode()
75 invalidatePaintOnRemoval(*oldChild); in removeChildNode()
80 if (oldChild->isBox()) in removeChildNode()
81 toRenderBox(oldChild)->deleteLineBoxWrapper(); in removeChildNode()
87 if (!owner->documentBeingDestroyed() && oldChild->isSelectionBorder()) in removeChildNode()
[all …]
DRenderButton.cpp50 void RenderButton::removeChild(RenderObject* oldChild) in removeChild() argument
55 if (oldChild == m_inner || !m_inner || oldChild->parent() == this) { in removeChild()
56 ASSERT(oldChild == m_inner || !m_inner); in removeChild()
57 RenderFlexibleBox::removeChild(oldChild); in removeChild()
60 m_inner->removeChild(oldChild); in removeChild()
DCounterNode.cpp324 void CounterNode::removeChild(CounterNode* oldChild) in removeChild() argument
326 ASSERT(oldChild); in removeChild()
327 ASSERT(!oldChild->m_firstChild); in removeChild()
328 ASSERT(!oldChild->m_lastChild); in removeChild()
330 CounterNode* next = oldChild->m_nextSibling; in removeChild()
331 CounterNode* previous = oldChild->m_previousSibling; in removeChild()
333 oldChild->m_nextSibling = 0; in removeChild()
334 oldChild->m_previousSibling = 0; in removeChild()
335 oldChild->m_parent = 0; in removeChild()
340 ASSERT(m_firstChild == oldChild); in removeChild()
[all …]
/external/jsilver/src/com/google/clearsilver/jsilver/syntax/node/
DADefCommand.java183 …void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newC… in replaceChild() argument
186 if(this._position_ == oldChild) in replaceChild()
194 if(i.next() == oldChild) in replaceChild()
200 oldChild.parent(null); in replaceChild()
205 oldChild.parent(null); in replaceChild()
212 if(i.next() == oldChild) in replaceChild()
218 oldChild.parent(null); in replaceChild()
223 oldChild.parent(null); in replaceChild()
228 if(this._command_ == oldChild) in replaceChild()
DACallCommand.java146 …void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newC… in replaceChild() argument
149 if(this._position_ == oldChild) in replaceChild()
157 if(i.next() == oldChild) in replaceChild()
163 oldChild.parent(null); in replaceChild()
168 oldChild.parent(null); in replaceChild()
175 if(i.next() == oldChild) in replaceChild()
181 oldChild.parent(null); in replaceChild()
186 oldChild.parent(null); in replaceChild()
DALoopIncCommand.java268 …void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newC… in replaceChild() argument
271 if(this._position_ == oldChild) in replaceChild()
277 if(this._variable_ == oldChild) in replaceChild()
283 if(this._start_ == oldChild) in replaceChild()
289 if(this._end_ == oldChild) in replaceChild()
295 if(this._increment_ == oldChild) in replaceChild()
301 if(this._command_ == oldChild) in replaceChild()
DAFunctionExpression.java115 …void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newC… in replaceChild() argument
118 if(this._name_ == oldChild) in replaceChild()
126 if(i.next() == oldChild) in replaceChild()
132 oldChild.parent(null); in replaceChild()
137 oldChild.parent(null); in replaceChild()
DALoopCommand.java231 …void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newC… in replaceChild() argument
234 if(this._position_ == oldChild) in replaceChild()
240 if(this._variable_ == oldChild) in replaceChild()
246 if(this._start_ == oldChild) in replaceChild()
252 if(this._end_ == oldChild) in replaceChild()
258 if(this._command_ == oldChild) in replaceChild()
DAMultipleCommand.java78 …void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newC… in replaceChild() argument
83 if(i.next() == oldChild) in replaceChild()
89 oldChild.parent(null); in replaceChild()
94 oldChild.parent(null); in replaceChild()
DASequenceExpression.java78 …void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newC… in replaceChild() argument
83 if(i.next() == oldChild) in replaceChild()
89 oldChild.parent(null); in replaceChild()
94 oldChild.parent(null); in replaceChild()
DAEachCommand.java194 …void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newC… in replaceChild() argument
197 if(this._position_ == oldChild) in replaceChild()
203 if(this._variable_ == oldChild) in replaceChild()
209 if(this._expression_ == oldChild) in replaceChild()
215 if(this._command_ == oldChild) in replaceChild()
DAWithCommand.java194 …void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newC… in replaceChild() argument
197 if(this._position_ == oldChild) in replaceChild()
203 if(this._variable_ == oldChild) in replaceChild()
209 if(this._expression_ == oldChild) in replaceChild()
215 if(this._command_ == oldChild) in replaceChild()
DALoopToCommand.java194 …void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newC… in replaceChild() argument
197 if(this._position_ == oldChild) in replaceChild()
203 if(this._variable_ == oldChild) in replaceChild()
209 if(this._expression_ == oldChild) in replaceChild()
215 if(this._command_ == oldChild) in replaceChild()
DAIfCommand.java194 …void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newC… in replaceChild() argument
197 if(this._position_ == oldChild) in replaceChild()
203 if(this._expression_ == oldChild) in replaceChild()
209 if(this._block_ == oldChild) in replaceChild()
215 if(this._otherwise_ == oldChild) in replaceChild()
DAAutoescapeCommand.java157 …void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newC… in replaceChild() argument
160 if(this._position_ == oldChild) in replaceChild()
166 if(this._expression_ == oldChild) in replaceChild()
172 if(this._command_ == oldChild) in replaceChild()
DASetCommand.java157 …void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newC… in replaceChild() argument
160 if(this._position_ == oldChild) in replaceChild()
166 if(this._variable_ == oldChild) in replaceChild()
172 if(this._expression_ == oldChild) in replaceChild()
DAAltCommand.java157 …void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newC… in replaceChild() argument
160 if(this._position_ == oldChild) in replaceChild()
166 if(this._expression_ == oldChild) in replaceChild()
172 if(this._command_ == oldChild) in replaceChild()
DAEscapeCommand.java157 …void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newC… in replaceChild() argument
160 if(this._position_ == oldChild) in replaceChild()
166 if(this._expression_ == oldChild) in replaceChild()
172 if(this._command_ == oldChild) in replaceChild()
DAOptimizedMultipleCommand.java40 void replaceChild(Node oldChild, Node newChild) { in replaceChild() argument
46 if (commands[i] == oldChild) { in replaceChild()
49 oldChild.parent(null); in replaceChild()
DAVarCommand.java120 …void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newC… in replaceChild() argument
123 if(this._position_ == oldChild) in replaceChild()
129 if(this._expression_ == oldChild) in replaceChild()
DALtExpression.java120 …void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newC… in replaceChild() argument
123 if(this._left_ == oldChild) in replaceChild()
129 if(this._right_ == oldChild) in replaceChild()
/external/chromium_org/third_party/WebKit/Source/core/dom/
DContainerNode.cpp125 bool ContainerNode::checkAcceptChild(const Node* newChild, const Node* oldChild, ExceptionState& ex… in checkAcceptChild() argument
155 if (oldChild && isDocumentNode()) { in checkAcceptChild()
156 if (!toDocument(this)->canReplaceChild(*newChild, *oldChild)) { in checkAcceptChild()
320 …ild(PassRefPtrWillBeRawPtr<Node> newChild, PassRefPtrWillBeRawPtr<Node> oldChild, ExceptionState& … in replaceChild() argument
330 if (oldChild == newChild) // nothing to do in replaceChild()
331 return oldChild; in replaceChild()
333 if (!oldChild) { in replaceChild()
338 RefPtrWillBeRawPtr<Node> child = oldChild; in replaceChild()
523 PassRefPtrWillBeRawPtr<Node> ContainerNode::removeChild(PassRefPtrWillBeRawPtr<Node> oldChild, Exce… in removeChild() argument
537 if (!oldChild || oldChild->parentNode() != this || oldChild->isPseudoElement()) { in removeChild()
[all …]
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/irc/servlet/jstemplate/
Dutil.js399 function domInsertBefore(newChild, oldChild) { argument
400 return oldChild.parentNode.insertBefore(newChild, oldChild);
410 function domReplaceChild(newChild, oldChild) { argument
411 return oldChild.parentNode.replaceChild(newChild, oldChild);
/external/chromium_org/third_party/jstemplate/
Dutil.js399 function domInsertBefore(newChild, oldChild) { argument
400 return oldChild.parentNode.insertBefore(newChild, oldChild);
410 function domReplaceChild(newChild, oldChild) { argument
411 return oldChild.parentNode.replaceChild(newChild, oldChild);
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/resources/
DFileSystemView.js189 var oldChild = oldChildren[oldChildIndex];
190 var order = newEntry.name.compareTo(oldChild._entry.name);
193 if (oldChild._entry.isDirectory)
194 oldChild.shouldRefreshChildren = true;
196 oldChild.refresh();

1234