Searched refs:rootNode (Results 1 - 25 of 98) sorted by relevance

1234

/external/chromium_org/third_party/WebKit/Source/core/html/
H A DHTMLTagCollection.cpp30 HTMLTagCollection::HTMLTagCollection(ContainerNode& rootNode, const AtomicString& localName) argument
31 : TagCollection(rootNode, HTMLTagCollectionType, starAtom, localName)
34 ASSERT(rootNode.document().isHTMLDocument());
H A DHTMLTagCollection.h33 // Collection that limits to a particular tag and whose rootNode is in an HTMLDocument.
36 static PassRefPtrWillBeRawPtr<HTMLTagCollection> create(ContainerNode& rootNode, CollectionType type, const AtomicString& localName) argument
39 return adoptRefWillBeNoop(new HTMLTagCollection(rootNode, localName));
45 HTMLTagCollection(ContainerNode& rootNode, const AtomicString& localName);
H A DRadioNodeList.cpp42 RadioNodeList::RadioNodeList(ContainerNode& rootNode, const AtomicString& name, CollectionType type) argument
43 : LiveNodeList(rootNode, type, InvalidateForFormControls, isHTMLFormElement(rootNode) ? NodeListIsRootedAtDocument : NodeListIsRootedAtNode)
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/common/
H A Dxpath_util.js44 * Given an XPath expression and rootNode, it returns an array of children nodes
49 * @param {Node} rootNode The HTML node to start evaluating the XPath from.
52 cvox.XpathUtil.evalXPath = function(expression, rootNode) {
54 var xpathIterator = rootNode.ownerDocument.evaluate(
56 rootNode,
74 * Given a rootNode, it returns an array of all its leaf nodes.
75 * @param {Node} rootNode The node to get the leaf nodes from.
76 * @return {Array} The array of leaf nodes for the given rootNode.
78 cvox.XpathUtil.getLeafNodes = function(rootNode) {
80 var xpathIterator = rootNode
[all...]
/external/chromium_org/third_party/WebKit/Source/core/dom/
H A DSelectorQuery.cpp68 ClassElementList(ContainerNode& rootNode, const AtomicString& className) argument
70 , m_rootNode(&rootNode)
71 , m_currentElement(nextInternal(ElementTraversal::firstWithin(rootNode))) { }
118 inline bool SelectorDataList::selectorMatches(const CSSSelector& selector, Element& element, const ContainerNode& rootNode) const
122 selectorCheckingContext.scope = !rootNode.isDocumentNode() ? &rootNode : 0;
139 PassRefPtrWillBeRawPtr<StaticElementList> SelectorDataList::queryAll(ContainerNode& rootNode) const
142 execute<AllElementsSelectorQueryTrait>(rootNode, result);
146 PassRefPtrWillBeRawPtr<Element> SelectorDataList::queryFirst(ContainerNode& rootNode) const
149 execute<SingleElementSelectorQueryTrait>(rootNode, matchedElemen
154 collectElementsByClassName(ContainerNode& rootNode, const AtomicString& className, typename SelectorQueryTrait::OutputType& output) const argument
166 collectElementsByTagName(ContainerNode& rootNode, const QualifiedName& tagName, typename SelectorQueryTrait::OutputType& output) const argument
182 ancestorHasClassName(ContainerNode& rootNode, const AtomicString& className) argument
203 findTraverseRootsAndExecute(ContainerNode& rootNode, typename SelectorQueryTrait::OutputType& output) const argument
264 executeForTraverseRoot(const CSSSelector& selector, ContainerNode* traverseRoot, MatchTraverseRootState matchTraverseRoot, ContainerNode& rootNode, typename SelectorQueryTrait::OutputType& output) const argument
285 executeForTraverseRoots(const CSSSelector& selector, SimpleElementListType& traverseRoots, MatchTraverseRootState matchTraverseRoots, ContainerNode& rootNode, typename SelectorQueryTrait::OutputType& output) const argument
315 selectorListMatches(ContainerNode& rootNode, Element& element, typename SelectorQueryTrait::OutputType& output) const argument
327 executeSlow(ContainerNode& rootNode, typename SelectorQueryTrait::OutputType& output) const argument
351 firstWithinTraversingShadowTree(const ContainerNode& rootNode) argument
358 nextTraversingShadowTree(const ContainerNode& node, const ContainerNode* rootNode) argument
386 executeSlowTraversingShadowTree(ContainerNode& rootNode, typename SelectorQueryTrait::OutputType& output) const argument
409 execute(ContainerNode& rootNode, typename SelectorQueryTrait::OutputType& output) const argument
[all...]
H A DClassCollection.cpp38 ClassCollection::ClassCollection(ContainerNode& rootNode, const AtomicString& classNames) argument
39 : HTMLCollection(rootNode, ClassCollectionType, DoesNotOverrideItemAfter)
H A DNameNodeList.cpp34 NameNodeList::NameNodeList(ContainerNode& rootNode, const AtomicString& name) argument
35 : LiveNodeList(rootNode, NameNodeListType, InvalidateOnNameAttrChange)
H A DSelectorQuery.h50 PassRefPtrWillBeRawPtr<StaticElementList> queryAll(ContainerNode& rootNode) const;
51 PassRefPtrWillBeRawPtr<Element> queryFirst(ContainerNode& rootNode) const;
54 bool canUseFastQuery(const ContainerNode& rootNode) const;
58 void collectElementsByClassName(ContainerNode& rootNode, const AtomicString& className, typename SelectorQueryTrait::OutputType&) const;
60 void collectElementsByTagName(ContainerNode& rootNode, const QualifiedName& tagName, typename SelectorQueryTrait::OutputType&) const;
63 void findTraverseRootsAndExecute(ContainerNode& rootNode, typename SelectorQueryTrait::OutputType&) const;
67 void executeForTraverseRoot(const CSSSelector&, ContainerNode* traverseRoot, MatchTraverseRootState, ContainerNode& rootNode, typename SelectorQueryTrait::OutputType&) const;
69 void executeForTraverseRoots(const CSSSelector&, SimpleElementListType& traverseRoots, MatchTraverseRootState, ContainerNode& rootNode, typename SelectorQueryTrait::OutputType&) const;
72 bool selectorListMatches(ContainerNode& rootNode, Element&, typename SelectorQueryTrait::OutputType&) const;
74 void executeSlow(ContainerNode& rootNode, typenam
[all...]
H A DTagCollection.h35 static PassRefPtrWillBeRawPtr<TagCollection> create(ContainerNode& rootNode, const AtomicString& namespaceURI, const AtomicString& localName) argument
38 return adoptRefWillBeNoop(new TagCollection(rootNode, TagCollectionType, namespaceURI, localName));
41 static PassRefPtrWillBeRawPtr<TagCollection> create(ContainerNode& rootNode, CollectionType type, const AtomicString& localName) argument
44 return adoptRefWillBeNoop(new TagCollection(rootNode, TagCollectionType, starAtom, localName));
52 TagCollection(ContainerNode& rootNode, CollectionType, const AtomicString& namespaceURI, const AtomicString& localName);
H A DNameNodeList.h35 static PassRefPtrWillBeRawPtr<NameNodeList> create(ContainerNode& rootNode, CollectionType type, const AtomicString& name) argument
38 return adoptRefWillBeNoop(new NameNodeList(rootNode, name));
44 NameNodeList(ContainerNode& rootNode, const AtomicString& name);
H A DEmptyNodeList.h42 static PassRefPtrWillBeRawPtr<EmptyNodeList> create(Node& rootNode) argument
44 return adoptRefWillBeNoop(new EmptyNodeList(rootNode));
53 explicit EmptyNodeList(Node& rootNode) : m_owner(rootNode) { } argument
H A DChildNodeList.h37 static PassRefPtrWillBeRawPtr<ChildNodeList> create(ContainerNode& rootNode) argument
39 return adoptRefWillBeNoop(new ChildNodeList(rootNode));
52 ContainerNode& rootNode() const { return ownerNode(); } function in class:blink::FINAL
56 Node* traverseToFirst() const { return rootNode().firstChild(); }
57 Node* traverseToLast() const { return rootNode().lastChild(); }
64 explicit ChildNodeList(ContainerNode& rootNode);
H A DClassCollection.h43 static PassRefPtrWillBeRawPtr<ClassCollection> create(ContainerNode& rootNode, CollectionType type, const AtomicString& classNames) argument
46 return adoptRefWillBeNoop(new ClassCollection(rootNode, classNames));
54 ClassCollection(ContainerNode& rootNode, const AtomicString& classNames);
H A DNodeIteratorBase.cpp36 NodeIteratorBase::NodeIteratorBase(PassRefPtrWillBeRawPtr<Node> rootNode, unsigned whatToShow, PassRefPtrWillBeRawPtr<NodeFilter> nodeFilter) argument
37 : m_root(rootNode)
H A DTagCollection.cpp32 TagCollection::TagCollection(ContainerNode& rootNode, CollectionType type, const AtomicString& namespaceURI, const AtomicString& localName) argument
33 : HTMLCollection(rootNode, type, DoesNotOverrideItemAfter)
H A DLiveNodeList.cpp69 return ElementTraversal::firstWithin(rootNode(), IsMatch(*this));
74 return ElementTraversal::lastWithin(rootNode(), IsMatch(*this));
79 return traverseMatchingElementsForwardToOffset(currentElement, &rootNode(), offset, currentOffset, IsMatch(*this));
84 return traverseMatchingElementsBackwardToOffset(currentElement, &rootNode(), offset, currentOffset, IsMatch(*this));
H A DTreeWalker.h43 static PassRefPtrWillBeRawPtr<TreeWalker> create(PassRefPtrWillBeRawPtr<Node> rootNode, unsigned whatToShow, PassRefPtrWillBeRawPtr<NodeFilter> filter) argument
45 return adoptRefWillBeNoop(new TreeWalker(rootNode, whatToShow, filter));
H A DLiveNodeListBase.cpp40 ContainerNode& LiveNodeListBase::rootNode() const function in class:blink::LiveNodeListBase
H A DTreeScope.cpp59 TreeScope::TreeScope(ContainerNode& rootNode, Document& document) argument
60 : m_rootNode(&rootNode)
68 ASSERT(rootNode != document);
105 if (rootNode().isShadowRoot()) {
106 if (ShadowRoot* olderShadowRoot = toShadowRoot(rootNode()).olderShadowRoot())
123 return rootNode().hasTreeSharedParent();
138 ASSERT(!rootNode().isDocumentNode());
239 if (rootNode().document().isHTMLDocument())
268 HitTestResult result = hitTestInDocument(&rootNode().document(), x, y);
301 for (HTMLLabelElement* label = Traversal<HTMLLabelElement>::firstWithin(rootNode()); labe
[all...]
H A DNodeIterator.h43 static PassRefPtrWillBeRawPtr<NodeIterator> create(PassRefPtrWillBeRawPtr<Node> rootNode, unsigned whatToShow, PassRefPtrWillBeRawPtr<NodeFilter> filter) argument
45 return adoptRefWillBeNoop(new NodeIterator(rootNode, whatToShow, filter));
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/resources/
H A DDOMStorageItemsView.js77 this._dataGrid.rootNode().removeChildren();
92 var rootNode = this._dataGrid.rootNode();
93 var children = rootNode.children;
100 rootNode.removeChild(childNode);
116 var rootNode = this._dataGrid.rootNode();
117 var children = rootNode.children;
127 rootNode.insertChild(childNode, children.length - 1);
139 var rootNode
[all...]
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowUriMatcher.java27 public MatchNode rootNode; field in class:ShadowUriMatcher
30 rootNode = new MatchNode(code);
35 MatchNode authNode = rootNode.map.get(authority);
37 authNode = new MatchNode(rootNode.code);
38 rootNode.map.put(authority, authNode);
50 if (!rootNode.map.containsKey(auth)) {
51 return rootNode.code;
54 return matchSegments(rootNode.map.get(auth), segments);
79 return rootNode.code;
89 nextNode = new MatchNode(rootNode
[all...]
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/promises/
H A DPromisesPanel.js113 var rootNode = this._dataGrid.rootNode();
118 var parentNode = (parentId && nodesToInsert[parentId]) ? nodesToInsert[parentId].node : rootNode;
130 this._dataGrid.rootNode().removeChildren();
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/profiler/
H A DHeapSnapshotDataGrids.js155 return this.rootNode().children;
234 var children = this.allChildren(this.rootNode());
235 this.rootNode().removeChildren();
249 this.rootNode().appendChild(child);
339 return this.allChildren(this.rootNode());
372 this.rootNode().removeChildren();
377 this._addVisibleNodes(this.rootNode(), scrollTop, scrollTop + viewPortHeight, pathToReveal || null);
516 this.rootNode().removeChildren();
517 this.rootNode()._allChildren = [];
595 this.rootNode()
[all...]
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ui/
H A DSortableDataGrid.js105 var rootNode = dataGrid.rootNode();
107 rootNode.appendChild(nodes[i]);
113 var nodes = dataGrid.rootNode().children;
139 var parentNode = this.rootNode();

Completed in 661 milliseconds

1234