Home
last modified time | relevance | path

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

123

/external/chromium_org/third_party/WebKit/Source/core/dom/shadow/
DComposedTreeWalker.cpp72 const InsertionPoint* insertionPoint = toInsertionPoint(node); in traverseNode() local
73 …es(direction == TraversalDirectionForward ? insertionPoint->first() : insertionPoint->last(), inse… in traverseNode()
79 …er::traverseDistributedNodes(const Node* node, const InsertionPoint* insertionPoint, TraversalDire… in traverseDistributedNodes() argument
81 …ext; next = (direction == TraversalDirectionForward ? insertionPoint->nextTo(next) : insertionPoin… in traverseDistributedNodes()
95 const InsertionPoint* insertionPoint = resolveReprojection(node); in traverseSiblingOrBackToInsertionPoint() local
96 if (!insertionPoint) in traverseSiblingOrBackToInsertionPoint()
99 …ction == TraversalDirectionForward ? insertionPoint->nextTo(node) : insertionPoint->previousTo(nod… in traverseSiblingOrBackToInsertionPoint()
101 return traverseSiblingOrBackToInsertionPoint(insertionPoint, direction); in traverseSiblingOrBackToInsertionPoint()
136 if (const InsertionPoint* insertionPoint = resolveReprojection(node)) { in traverseParent() local
138 details->didTraverseInsertionPoint(insertionPoint); in traverseParent()
[all …]
DShadowRoot.cpp155 Node::InsertionNotificationRequest ShadowRoot::insertedInto(ContainerNode* insertionPoint) in insertedInto() argument
157 DocumentFragment::insertedInto(insertionPoint); in insertedInto()
159 if (!insertionPoint->inDocument() || !isOldest()) in insertedInto()
176 void ShadowRoot::removedFrom(ContainerNode* insertionPoint) in removedFrom() argument
178 if (insertionPoint->inDocument() && m_registeredWithParentShadowRoot) { in removedFrom()
181 root = insertionPoint->containingShadowRoot(); in removedFrom()
187 DocumentFragment::removedFrom(insertionPoint); in removedFrom()
255 void ShadowRoot::didAddInsertionPoint(InsertionPoint* insertionPoint) in didAddInsertionPoint() argument
257 ensureShadowRootRareData()->didAddInsertionPoint(insertionPoint); in didAddInsertionPoint()
261 void ShadowRoot::didRemoveInsertionPoint(InsertionPoint* insertionPoint) in didRemoveInsertionPoint() argument
[all …]
DInsertionPoint.cpp197 Node::InsertionNotificationRequest InsertionPoint::insertedInto(ContainerNode* insertionPoint) in insertedInto() argument
199 HTMLElement::insertedInto(insertionPoint); in insertedInto()
203 …if (canBeActive() && !m_registeredWithShadowRoot && insertionPoint->treeScope().rootNode() == root… in insertedInto()
215 void InsertionPoint::removedFrom(ContainerNode* insertionPoint) in removedFrom() argument
219 root = insertionPoint->containingShadowRoot(); in removedFrom()
232 if (m_registeredWithShadowRoot && insertionPoint->treeScope().rootNode() == root) { in removedFrom()
242 HTMLElement::removedFrom(insertionPoint); in removedFrom()
254 const InsertionPoint* insertionPoint = 0; in resolveReprojection() local
267 insertionPoint = insertedTo; in resolveReprojection()
269 return insertionPoint; in resolveReprojection()
DElementShadow.cpp74 InsertionPoint* insertionPoint = toInsertionPoint(child); in populateChildren() local
75 for (size_t i = 0; i < insertionPoint->size(); ++i) in populateChildren()
76 m_nodes.append(insertionPoint->at(i)); in populateChildren()
85 void DistributionPool::distributeTo(InsertionPoint* insertionPoint, ElementShadow* elementShadow) in distributeTo() argument
93 …if (isHTMLContentElement(*insertionPoint) && !toHTMLContentElement(insertionPoint)->canSelectNode(… in distributeTo()
98 elementShadow->didDistributeNode(node, insertionPoint); in distributeTo()
103 if (insertionPoint->isContentInsertionPoint() && distribution.isEmpty()) { in distributeTo()
104 …for (Node* fallbackNode = insertionPoint->firstChild(); fallbackNode; fallbackNode = fallbackNode-… in distributeTo()
106 elementShadow->didDistributeNode(fallbackNode, insertionPoint); in distributeTo()
109 insertionPoint->setDistribution(distribution); in distributeTo()
[all …]
/external/chromium_org/third_party/WebKit/Source/core/html/
DHTMLFormControlElementWithState.cpp47 …ionNotificationRequest HTMLFormControlElementWithState::insertedInto(ContainerNode* insertionPoint) in insertedInto() argument
49 if (insertionPoint->inDocument() && !containingShadowRoot()) in insertedInto()
51 return HTMLFormControlElement::insertedInto(insertionPoint); in insertedInto()
54 void HTMLFormControlElementWithState::removedFrom(ContainerNode* insertionPoint) in removedFrom() argument
56 …if (insertionPoint->inDocument() && !containingShadowRoot() && !insertionPoint->containingShadowRo… in removedFrom()
58 HTMLFormControlElement::removedFrom(insertionPoint); in removedFrom()
DHTMLIFrameElement.cpp118 Node::InsertionNotificationRequest HTMLIFrameElement::insertedInto(ContainerNode* insertionPoint) in insertedInto() argument
120 if (insertionPoint->inDocument()) { in insertedInto()
129 InsertionNotificationRequest result = HTMLFrameElementBase::insertedInto(insertionPoint); in insertedInto()
130 …if (insertionPoint->inDocument() && document().isHTMLDocument() && !insertionPoint->isInShadowTree… in insertedInto()
135 void HTMLIFrameElement::removedFrom(ContainerNode* insertionPoint) in removedFrom() argument
137 HTMLFrameElementBase::removedFrom(insertionPoint); in removedFrom()
138 …if (insertionPoint->inDocument() && document().isHTMLDocument() && !insertionPoint->isInShadowTree… in removedFrom()
DHTMLTitleElement.cpp47 Node::InsertionNotificationRequest HTMLTitleElement::insertedInto(ContainerNode* insertionPoint) in DEFINE_NODE_FACTORY()
49 HTMLElement::insertedInto(insertionPoint); in DEFINE_NODE_FACTORY()
55 void HTMLTitleElement::removedFrom(ContainerNode* insertionPoint) in removedFrom() argument
57 HTMLElement::removedFrom(insertionPoint); in removedFrom()
58 if (insertionPoint->inDocument() && !insertionPoint->isInShadowTree()) in removedFrom()
DHTMLBaseElement.cpp51 Node::InsertionNotificationRequest HTMLBaseElement::insertedInto(ContainerNode* insertionPoint) in insertedInto() argument
53 HTMLElement::insertedInto(insertionPoint); in insertedInto()
54 if (insertionPoint->inDocument()) in insertedInto()
59 void HTMLBaseElement::removedFrom(ContainerNode* insertionPoint) in removedFrom() argument
61 HTMLElement::removedFrom(insertionPoint); in removedFrom()
62 if (insertionPoint->inDocument()) in removedFrom()
DHTMLStyleElement.cpp84 Node::InsertionNotificationRequest HTMLStyleElement::insertedInto(ContainerNode* insertionPoint) in insertedInto() argument
86 HTMLElement::insertedInto(insertionPoint); in insertedInto()
87 if (insertionPoint->inDocument() && isInShadowTree()) { in insertedInto()
94 void HTMLStyleElement::removedFrom(ContainerNode* insertionPoint) in removedFrom() argument
96 HTMLElement::removedFrom(insertionPoint); in removedFrom()
98 if (!insertionPoint->inDocument()) in removedFrom()
103 scopingNode = insertionPoint->containingShadowRoot(); in removedFrom()
109 …t(document(), this, scopingNode, containingScope ? *containingScope : insertionPoint->treeScope()); in removedFrom()
DHTMLLabelElement.cpp249 Node::InsertionNotificationRequest HTMLLabelElement::insertedInto(ContainerNode* insertionPoint) in insertedInto() argument
251 InsertionNotificationRequest result = HTMLElement::insertedInto(insertionPoint); in insertedInto()
252 FormAssociatedElement::insertedInto(insertionPoint); in insertedInto()
253 if (insertionPoint->isInTreeScope()) { in insertedInto()
254 TreeScope& scope = insertionPoint->treeScope(); in insertedInto()
261 void HTMLLabelElement::removedFrom(ContainerNode* insertionPoint) in removedFrom() argument
263 if (insertionPoint->isInTreeScope() && treeScope() == document()) { in removedFrom()
264 TreeScope& treeScope = insertionPoint->treeScope(); in removedFrom()
268 HTMLElement::removedFrom(insertionPoint); in removedFrom()
269 FormAssociatedElement::removedFrom(insertionPoint); in removedFrom()
DHTMLMapElement.cpp119 Node::InsertionNotificationRequest HTMLMapElement::insertedInto(ContainerNode* insertionPoint) in insertedInto() argument
121 if (insertionPoint->inDocument()) in insertedInto()
123 return HTMLElement::insertedInto(insertionPoint); in insertedInto()
126 void HTMLMapElement::removedFrom(ContainerNode* insertionPoint) in removedFrom() argument
128 if (insertionPoint->inDocument()) in removedFrom()
130 HTMLElement::removedFrom(insertionPoint); in removedFrom()
DHTMLTrackElement.cpp69 Node::InsertionNotificationRequest HTMLTrackElement::insertedInto(ContainerNode* insertionPoint) in insertedInto() argument
76 HTMLElement::insertedInto(insertionPoint); in insertedInto()
78 if (insertionPoint == parent) in insertedInto()
83 void HTMLTrackElement::removedFrom(ContainerNode* insertionPoint) in removedFrom() argument
85 if (!parentNode() && isHTMLMediaElement(*insertionPoint)) in removedFrom()
86 toHTMLMediaElement(insertionPoint)->didRemoveTrackElement(this); in removedFrom()
87 HTMLElement::removedFrom(insertionPoint); in removedFrom()
DHTMLShadowElement.cpp70 Node::InsertionNotificationRequest HTMLShadowElement::insertedInto(ContainerNode* insertionPoint) in insertedInto() argument
72 if (insertionPoint->inDocument()) { in insertedInto()
80 return InsertionPoint::insertedInto(insertionPoint); in insertedInto()
DFormAssociatedElement.cpp86 void FormAssociatedElement::insertedInto(ContainerNode* insertionPoint) in insertedInto() argument
88 …if (!m_formWasSetByParser || !m_form || NodeTraversal::highestAncestorOrSelf(*insertionPoint) != N… in insertedInto()
91 if (!insertionPoint->inDocument()) in insertedInto()
99 void FormAssociatedElement::removedFrom(ContainerNode* insertionPoint) in removedFrom() argument
102 if (insertionPoint->inDocument() && element->fastHasAttribute(formAttr)) in removedFrom()
DHTMLPictureElement.cpp32 Node::InsertionNotificationRequest HTMLPictureElement::insertedInto(ContainerNode* insertionPoint) in insertedInto() argument
35 return HTMLElement::insertedInto(insertionPoint); in insertedInto()
DHTMLObjectElement.cpp317 Node::InsertionNotificationRequest HTMLObjectElement::insertedInto(ContainerNode* insertionPoint) in insertedInto() argument
319 HTMLPlugInElement::insertedInto(insertionPoint); in insertedInto()
320 FormAssociatedElement::insertedInto(insertionPoint); in insertedInto()
324 void HTMLObjectElement::removedFrom(ContainerNode* insertionPoint) in removedFrom() argument
326 HTMLPlugInElement::removedFrom(insertionPoint); in removedFrom()
327 FormAssociatedElement::removedFrom(insertionPoint); in removedFrom()
DHTMLFormControlElement.cpp249 …e::InsertionNotificationRequest HTMLFormControlElement::insertedInto(ContainerNode* insertionPoint) in insertedInto() argument
254 HTMLElement::insertedInto(insertionPoint); in insertedInto()
255 FormAssociatedElement::insertedInto(insertionPoint); in insertedInto()
259 void HTMLFormControlElement::removedFrom(ContainerNode* insertionPoint) in removedFrom() argument
265 HTMLElement::removedFrom(insertionPoint); in removedFrom()
266 FormAssociatedElement::removedFrom(insertionPoint); in removedFrom()
DHTMLScriptElement.cpp90 Node::InsertionNotificationRequest HTMLScriptElement::insertedInto(ContainerNode* insertionPoint) in insertedInto() argument
92 if (insertionPoint->inDocument()) { in insertedInto()
101 HTMLElement::insertedInto(insertionPoint); in insertedInto()
DHTMLOptionElement.cpp333 Node::InsertionNotificationRequest HTMLOptionElement::insertedInto(ContainerNode* insertionPoint) in insertedInto() argument
348 return HTMLElement::insertedInto(insertionPoint); in insertedInto()
351 void HTMLOptionElement::removedFrom(ContainerNode* insertionPoint) in removedFrom() argument
353 … (HTMLSelectElement* select = Traversal<HTMLSelectElement>::firstAncestorOrSelf(*insertionPoint)) { in removedFrom()
357 HTMLElement::removedFrom(insertionPoint); in removedFrom()
DHTMLButtonElement.cpp216 Node::InsertionNotificationRequest HTMLButtonElement::insertedInto(ContainerNode* insertionPoint) in insertedInto() argument
218 if (insertionPoint->inDocument()) { in insertedInto()
229 return HTMLFormControlElement::insertedInto(insertionPoint); in insertedInto()
/external/chromium_org/third_party/WebKit/Source/core/dom/
DDocumentType.cpp59 Node::InsertionNotificationRequest DocumentType::insertedInto(ContainerNode* insertionPoint) in insertedInto() argument
61 Node::insertedInto(insertionPoint); in insertedInto()
71 void DocumentType::removedFrom(ContainerNode* insertionPoint) in removedFrom() argument
74 Node::removedFrom(insertionPoint); in removedFrom()
DProcessingInstruction.cpp250 …de::InsertionNotificationRequest ProcessingInstruction::insertedInto(ContainerNode* insertionPoint) in insertedInto() argument
252 CharacterData::insertedInto(insertionPoint); in insertedInto()
253 if (!insertionPoint->inDocument()) in insertedInto()
268 void ProcessingInstruction::removedFrom(ContainerNode* insertionPoint) in removedFrom() argument
270 CharacterData::removedFrom(insertionPoint); in removedFrom()
271 if (!insertionPoint->inDocument()) in removedFrom()
/external/chromium_org/third_party/polymer/components-chromium/core-overlay/
Dcore-overlay-layer-extracted.js40 moveInsertedElements: function(insertionPoint) { argument
41 var n$ = insertionPoint.getDistributedNodes();
42 var parent = insertionPoint.parentNode;
43 insertionPoint.__contents = [];
47 insertionPoint.__contents.push(n);
/external/icu/icu4c/source/common/
Duarrsort.c114 int32_t insertionPoint=uprv_stableBinarySearch(array, j, item, itemSize, cmp, context); in doInsertionSort() local
115 if(insertionPoint<0) { in doInsertionSort()
116 insertionPoint=~insertionPoint; in doInsertionSort()
118 ++insertionPoint; /* one past the last equal item */ in doInsertionSort()
120 if(insertionPoint<j) { in doInsertionSort()
121 char *dest=array+insertionPoint*itemSize; in doInsertionSort()
123 uprv_memmove(dest+itemSize, dest, (j-insertionPoint)*itemSize); in doInsertionSort()
/external/chromium_org/third_party/icu/source/common/
Duarrsort.c114 int32_t insertionPoint=uprv_stableBinarySearch(array, j, item, itemSize, cmp, context); in doInsertionSort() local
115 if(insertionPoint<0) { in doInsertionSort()
116 insertionPoint=~insertionPoint; in doInsertionSort()
118 ++insertionPoint; /* one past the last equal item */ in doInsertionSort()
120 if(insertionPoint<j) { in doInsertionSort()
121 char *dest=array+insertionPoint*itemSize; in doInsertionSort()
123 uprv_memmove(dest+itemSize, dest, (j-insertionPoint)*itemSize); in doInsertionSort()

123