Home
last modified time | relevance | path

Searched refs:newParent (Results 1 – 25 of 30) sorted by relevance

12

/external/chromium_org/third_party/WebKit/Source/core/editing/
DModifySelectionListLevel.cpp122 …lectionListLevelCommand::appendSiblingNodeRange(Node* startNode, Node* endNode, Element* newParent) in appendSiblingNodeRange() argument
128 appendNode(node, newParent); in appendSiblingNodeRange()
185 RefPtr<Element> newParent; in doApply() local
188 newParent = startListChild->parentElement(); in doApply()
189 if (newParent) in doApply()
190 newParent = newParent->cloneElementWithoutChildren(); in doApply()
193 newParent = createOrderedListElement(document()); in doApply()
196 newParent = createUnorderedListElement(document()); in doApply()
199 insertNodeBefore(newParent, startListChild); in doApply()
200 appendSiblingNodeRange(startListChild, endListChild, newParent.get()); in doApply()
[all …]
DModifySelectionListLevel.h40 void appendSiblingNodeRange(Node* startNode, Node* endNode, Element* newParent);
/external/chromium_org/third_party/WebKit/Source/core/html/parser/
DHTMLConstructionSite.h145 … void reparent(HTMLElementStack::ElementRecord* newParent, HTMLElementStack::ElementRecord* child);
146 void reparent(HTMLElementStack::ElementRecord* newParent, HTMLStackItem* child);
150 void insertAlreadyParsedChild(HTMLStackItem* newParent, HTMLElementStack::ElementRecord* child);
151 void takeAllChildren(HTMLStackItem* newParent, HTMLElementStack::ElementRecord* oldParent);
247 …void append(PassRefPtr<ContainerNode> newParent, PassRefPtr<Node> newNextChild, const String& newS…
249 ASSERT(!parent || parent == newParent);
250 parent = newParent;
DHTMLConstructionSite.cpp681 void HTMLConstructionSite::reparent(HTMLElementStack::ElementRecord* newParent, HTMLElementStack::E… in reparent() argument
684 task.parent = newParent->node(); in reparent()
689 void HTMLConstructionSite::reparent(HTMLElementStack::ElementRecord* newParent, HTMLStackItem* chil… in reparent() argument
692 task.parent = newParent->node(); in reparent()
697 void HTMLConstructionSite::insertAlreadyParsedChild(HTMLStackItem* newParent, HTMLElementStack::Ele… in insertAlreadyParsedChild() argument
699 if (newParent->causesFosterParenting()) { in insertAlreadyParsedChild()
705 task.parent = newParent->node(); in insertAlreadyParsedChild()
710 void HTMLConstructionSite::takeAllChildren(HTMLStackItem* newParent, HTMLElementStack::ElementRecor… in takeAllChildren() argument
713 task.parent = newParent->node(); in takeAllChildren()
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderCounter.cpp310 RefPtr<CounterNode> newParent = 0; in makeCounterNode() local
313 if (findPlaceForCounter(object, identifier, isReset, newParent, newPreviousSibling)) in makeCounterNode()
314 newParent->insertAfter(newNode.get(), newPreviousSibling.get(), identifier); in makeCounterNode()
518 RefPtr<CounterNode> newParent = 0; in updateCounters() local
521 findPlaceForCounter(renderer, it->key, node->hasResetType(), newParent, newPreviousSibling); in updateCounters()
525 if (newParent == parent && newPreviousSibling == node->previousSibling()) in updateCounters()
529 if (newParent) in updateCounters()
530 newParent->insertAfter(node.get(), newPreviousSibling.get(), it->key); in updateCounters()
DRenderWidget.cpp64 FrameView* newParent = it->value; in ~UpdateSuspendScope() local
65 if (newParent != currentParent) { in ~UpdateSuspendScope()
68 if (newParent) in ~UpdateSuspendScope()
69 newParent->addChild(child); in ~UpdateSuspendScope()
DInlineFlowBox.cpp1001 RenderObject* newParent = 0; in nodeAtPoint() local
1004 newParent = curr->renderer()->parent(); in nodeAtPoint()
1005 if (newParent == renderer()) in nodeAtPoint()
1006 newParent = 0; in nodeAtPoint()
1010 if (newParent != culledParent) { in nodeAtPoint()
1011 if (!newParent || !newParent->isDescendantOf(culledParent)) { in nodeAtPoint()
1012 … while (culledParent && culledParent != renderer() && culledParent != newParent) { in nodeAtPoint()
1018 culledParent = newParent; in nodeAtPoint()
/external/chromium_org/third_party/WebKit/Source/core/css/resolver/
DScopedStyleResolver.h54 void setParent(ScopedStyleResolver* newParent) { m_parent = newParent; } in setParent() argument
DScopedStyleTree.cpp194 …copedStyleTree::reparentNodes(const ScopedStyleResolver* oldParent, ScopedStyleResolver* newParent) in reparentNodes() argument
199 it->value->setParent(newParent); in reparentNodes()
DScopedStyleTree.h78 void reparentNodes(const ScopedStyleResolver* oldParent, ScopedStyleResolver* newParent);
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/
DBookmarksBridge.java73 BookmarkItem oldParent, int oldIndex, BookmarkItem newParent, int newIndex); in bookmarkNodeMoved() argument
226 BookmarkItem oldParent, int oldIndex, BookmarkItem newParent, int newIndex) { in bookmarkNodeMoved() argument
228 observer.bookmarkNodeMoved(oldParent, oldIndex, newParent, newIndex); in bookmarkNodeMoved()
/external/chromium/chrome/browser/ui/cocoa/bookmarks/
Dbookmark_editor_controller_unittest.mm355 const BookmarkNode* newParent = bookmark_bb_3_->parent();
356 ASSERT_EQ(newParent, oldParent);
357 int childIndex = newParent->GetIndexOf(bookmark_bb_3_);
366 const BookmarkNode* newParent = bookmark_bb_3_->parent();
367 ASSERT_EQ(newParent, oldParent);
368 int childIndex = newParent->GetIndexOf(bookmark_bb_3_);
Dbookmark_bar_bridge_unittest.mm56 newParent:(const BookmarkNode*)newParent newIndex:(int)newIndex {
Dbookmark_bar_controller.h366 newParent:(const BookmarkNode*)newParent newIndex:(int)newIndex;
Dbookmark_bubble_controller.mm342 const BookmarkNode* newParent =
344 DCHECK(newParent);
345 if (oldParent != newParent) {
346 int index = newParent->child_count();
347 model_->Move(node_, newParent, index);
Dbookmark_bar_bridge.mm42 newParent:new_parent newIndex:new_index];
/external/antlr/antlr-3.4/runtime/ObjC/Framework/test/runtime/tree/
DANTLRCommonTreeTest.m210 ANTLRCommonTree *newParent = [ANTLRCommonTree newTree];
211 [newParent addChildren:parent.children];
213 STAssertEquals([newParent getChild:0], [parent getChild:0], @"Children did not match");
260 ANTLRCommonTree *newParent = [ANTLRCommonTree newTree];
261 [newParent addChild:parent];
263 …STAssertEquals((NSInteger)[newParent getChildCount], (NSInteger)1, @"Parent should only have 1 chi…
264 STAssertEquals([newParent getChild:0], tree, @"Child was not the correct object.");
266 //[newParent release];
/external/chromium_org/chrome/browser/ui/cocoa/bookmarks/
Dbookmark_editor_controller_unittest.mm409 const BookmarkNode* newParent = bookmark_bb_3_->parent();
410 ASSERT_EQ(newParent, oldParent);
411 int childIndex = newParent->GetIndexOf(bookmark_bb_3_);
420 const BookmarkNode* newParent = bookmark_bb_3_->parent();
421 ASSERT_EQ(newParent, oldParent);
422 int childIndex = newParent->GetIndexOf(bookmark_bb_3_);
Dbookmark_bar_controller.h374 newParent:(const BookmarkNode*)newParent newIndex:(int)newIndex;
Dbookmark_bar_bridge_unittest.mm58 newParent:(const BookmarkNode*)newParent newIndex:(int)newIndex {
Dbookmark_bubble_controller.mm314 const BookmarkNode* newParent =
316 DCHECK(newParent);
317 if (oldParent != newParent) {
318 int index = newParent->child_count();
319 model_->Move(node_, newParent, index);
Dbookmark_bar_bridge.mm57 newParent:new_parent newIndex:new_index];
/external/chromium_org/third_party/WebKit/Source/core/dom/
DRange.cpp1377 RefPtr<Node> newParent = passNewParent; in surroundContents() local
1384 if (!newParent) { in surroundContents()
1391 switch (newParent->nodeType()) { in surroundContents()
1417 if (!parentOfNewParent || !parentOfNewParent->childTypeAllowed(newParent->nodeType())) { in surroundContents()
1422 if (newParent->contains(m_start.container())) { in surroundContents()
1442 while (Node* n = newParent->firstChild()) { in surroundContents()
1443 toContainerNode(newParent)->removeChild(n, exceptionState); in surroundContents()
1450 insertNode(newParent, exceptionState); in surroundContents()
1453 newParent->appendChild(fragment.release(), exceptionState); in surroundContents()
1456 selectNode(newParent.get(), exceptionState); in surroundContents()
DRange.idl56 [RaisesException, CustomElementCallbacks] void surroundContents(Node newParent);
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/
DTimelinePresentationModel.js416 _findCoalescedParent: function(record, newParent, bucket) argument
420 var lastRecord = bucket ? this._coalescingBuckets[bucket] : newParent.children.peekLast();
893 WebInspector.TimelinePresentationModel.adoptRecord = function(newParent, record) argument
896 WebInspector.TimelinePresentationModel.insertRetrospectiveRecord(newParent, record);
897 record.parent = newParent;

12