Home
last modified time | relevance | path

Searched refs:refChild (Results 1 – 17 of 17) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/wtf/
DTreeNode.h71 void insertBefore(NodeType* newChild, NodeType* refChild) in insertBefore() argument
77 ASSERT(!refChild || this == refChild->parent()); in insertBefore()
79 if (!refChild) { in insertBefore()
84 NodeType* newPrevious = refChild->previous(); in insertBefore()
86 newChild->m_next = refChild; in insertBefore()
88 refChild->m_previous = newChild; in insertBefore()
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DCounterNode.cpp237 void CounterNode::insertAfter(CounterNode* newChild, CounterNode* refChild, const AtomicString& ide… in insertAfter() argument
245 if (refChild && refChild->m_parent != this) in insertAfter()
249 while (m_lastChild != refChild) in insertAfter()
255 if (refChild) { in insertAfter()
256 next = refChild->m_nextSibling; in insertAfter()
257 refChild->m_nextSibling = newChild; in insertAfter()
264 newChild->m_previousSibling = refChild; in insertAfter()
267 ASSERT(next->m_previousSibling == refChild); in insertAfter()
271 ASSERT(m_lastChild == refChild); in insertAfter()
/external/chromium_org/third_party/WebKit/Source/core/editing/
DInsertNodeBeforeCommand.cpp34 …NodeBeforeCommand::InsertNodeBeforeCommand(PassRefPtr<Node> insertChild, PassRefPtr<Node> refChild, in InsertNodeBeforeCommand() argument
36 : SimpleEditCommand(refChild->document()) in InsertNodeBeforeCommand()
38 , m_refChild(refChild) in InsertNodeBeforeCommand()
DCompositeEditCommand.cpp334 void CompositeEditCommand::insertNodeBefore(PassRefPtr<Node> insertChild, PassRefPtr<Node> refChild in insertNodeBefore() argument
336 ASSERT(!refChild->hasTagName(bodyTag)); in insertNodeBefore()
337 …applyCommandToComposite(InsertNodeBeforeCommand::create(insertChild, refChild, shouldAssumeContent… in insertNodeBefore()
340 void CompositeEditCommand::insertNodeAfter(PassRefPtr<Node> insertChild, PassRefPtr<Node> refChild) in insertNodeAfter() argument
343 ASSERT(refChild); in insertNodeAfter()
344 ASSERT(!refChild->hasTagName(bodyTag)); in insertNodeAfter()
345 ContainerNode* parent = refChild->parentNode(); in insertNodeAfter()
348 if (parent->lastChild() == refChild) in insertNodeAfter()
351 ASSERT(refChild->nextSibling()); in insertNodeAfter()
352 insertNodeBefore(insertChild, refChild->nextSibling()); in insertNodeAfter()
[all …]
DRemoveNodeCommand.cpp61 RefPtr<Node> refChild = m_refChild.release(); in doUnapply() local
65 parent->insertBefore(m_node.get(), refChild.get(), IGNORE_EXCEPTION); in doUnapply()
DSplitElementCommand.cpp89 RefPtr<Node> refChild = m_element2->firstChild(); in doUnapply() local
93 m_element2->insertBefore(children[i].get(), refChild.get(), IGNORE_EXCEPTION); in doUnapply()
DCompositeEditCommand.h104 void insertNodeAfter(PassRefPtr<Node>, PassRefPtr<Node> refChild);
107 …void insertNodeBefore(PassRefPtr<Node>, PassRefPtr<Node> refChild, ShouldAssumeContentIsAlwaysEdit…
/external/chromium_org/third_party/WebKit/Source/core/dom/
DContainerNode.cpp168 void ContainerNode::insertBefore(PassRefPtr<Node> newChild, Node* refChild, ExceptionState& excepti… in insertBefore() argument
177 if (!refChild) { in insertBefore()
188 if (refChild->parentNode() != this) { in insertBefore()
193 if (refChild->previousSibling() == newChild || refChild == newChild) // nothing to do in insertBefore()
196 RefPtr<Node> next = refChild; in insertBefore()
DContainerNode.h99 …void insertBefore(PassRefPtr<Node> newChild, Node* refChild, ExceptionState& = ASSERT_NO_EXCEPTION…
109 void parserInsertBefore(PassRefPtr<Node> newChild, Node& refChild);
DNode.idl52 …ctivityLogging=ForIsolatedWorlds, RaisesException] Node insertBefore(Node newChild, Node refChild);
DNode.h197 …void insertBefore(PassRefPtr<Node> newChild, Node* refChild, ExceptionState& = ASSERT_NO_EXCEPTION…
DNode.cpp453 void Node::insertBefore(PassRefPtr<Node> newChild, Node* refChild, ExceptionState& exceptionState) in insertBefore() argument
456 toContainerNode(this)->insertBefore(newChild, refChild, exceptionState); in insertBefore()
/external/apache-xml/src/main/java/org/apache/xalan/templates/
DElemTemplateElement.java434 public Node insertBefore(Node newChild, Node refChild) throws DOMException in insertBefore() argument
436 if(null == refChild) in insertBefore()
442 if(newChild == refChild) in insertBefore()
465 if(refChild == node) in insertBefore()
475 ((ElemTemplateElement)newChild).m_nextSibling = (ElemTemplateElement)refChild; in insertBefore()
DElemLiteralResult.java960 public Node insertBefore(Node newChild, Node refChild) in insertBefore() argument
/external/chromium_org/third_party/WebKit/Source/bindings/v8/custom/
DV8NodeCustom.cpp71 …Node* refChild = V8Node::hasInstance(info[1], info.GetIsolate(), worldType(info.GetIsolate())) ? V… in insertBeforeMethodCustom() local
72 imp->insertBefore(newChild, refChild, exceptionState); in insertBeforeMethodCustom()
/external/apache-xml/src/main/java/org/apache/xml/utils/
DUnImplNode.java656 public Node insertBefore(Node newChild, Node refChild) throws DOMException in insertBefore() argument
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/
DDTMNodeProxy.java491 public final Node insertBefore(Node newChild, Node refChild) in insertBefore() argument