Searched refs:treeScope (Results 1 - 25 of 77) sorted by relevance

1234

/external/chromium_org/third_party/WebKit/Source/core/events/
H A DTreeScopeEventContext.cpp45 TreeScope& treeScope = path[i].treeScopeEventContext().treeScope(); local
46 if (treeScope.rootNode().isShadowRoot() && toShadowRoot(treeScope).type() == ShadowRoot::AuthorShadowRoot)
62 PassRefPtrWillBeRawPtr<TreeScopeEventContext> TreeScopeEventContext::create(TreeScope& treeScope) argument
64 return adoptRefWillBeNoop(new TreeScopeEventContext(treeScope));
67 TreeScopeEventContext::TreeScopeEventContext(TreeScope& treeScope) argument
68 : m_treeScope(treeScope)
H A DEventPath.cpp147 treeScopeEventContextMap.add(&m_treeScopeEventContexts[i]->treeScope(), m_treeScopeEventContexts[i].get());
153 TreeScope* parent = treeScopeEventContext->treeScope().olderShadowRootOrParentTreeScope();
166 TreeScopeEventContext* EventPath::ensureTreeScopeEventContext(Node* currentTarget, TreeScope* treeScope, TreeScopeEventContextMap& treeScopeEventContextMap) argument
168 if (!treeScope)
173 TreeScopeEventContextMap::AddResult addResult = treeScopeEventContextMap.add(treeScope, nullptr);
176 addResult.storedValue->value = TreeScopeEventContext::create(*treeScope);
180 TreeScopeEventContext* parentTreeScopeEventContext = ensureTreeScopeEventContext(0, treeScope->olderShadowRootOrParentTreeScope(), treeScopeEventContextMap);
201 TreeScope& currentTreeScope = currentNode->treeScope();
217 relatedTargetMap.add(&treeScopeEventContext->treeScope(), treeScopeEventContext->target());
259 EventTarget* adjustedRelatedTarget = findRelatedNode(&treeScopeEventContext->treeScope(), relatedNodeMa
307 TreeScope& treeScope = m_treeScopeEventContexts[i]->treeScope(); local
331 checkReachability(TreeScope& treeScope, TouchList& touchList) argument
[all...]
H A DTreeScopeEventContext.h53 TreeScope& treeScope() const { return *m_treeScope; } function in class:blink::FINAL
95 return target.toNode() && !target.toNode()->isSVGElement() && !target.toNode()->treeScope().isInclusiveOlderSiblingShadowRootOrAncestorTreeScopeOf(treeScope());
/external/chromium_org/third_party/WebKit/Source/core/html/
H A DHTMLDataListElement.cpp63 treeScope().idTargetObserverRegistry().notifyObservers(getIdAttribute());
68 treeScope().idTargetObserverRegistry().notifyObservers(getIdAttribute());
73 treeScope().idTargetObserverRegistry().notifyObservers(getIdAttribute());
H A DHTMLMapElement.cpp100 treeScope().removeImageMap(this);
106 treeScope().addImageMap(this);
122 treeScope().addImageMap(this);
129 treeScope().removeImageMap(this);
H A DHTMLLabelElement.cpp73 if (Element* element = treeScope().getElementById(controlId)) {
242 TreeScope& scope = treeScope();
254 TreeScope& scope = insertionPoint->treeScope();
255 if (scope == treeScope() && scope.shouldCacheLabelsByForAttribute())
263 if (insertionPoint->isInTreeScope() && treeScope() == document()) {
264 TreeScope& treeScope = insertionPoint->treeScope(); local
265 if (treeScope.shouldCacheLabelsByForAttribute())
266 updateLabel(treeScope, fastGetAttribute(forAttr), nullAtom);
/external/chromium_org/third_party/WebKit/Source/core/dom/
H A DStyleEngine.cpp103 const_cast<TreeScope&>((*it)->treeScope()).clearScopedStyleResolver();
118 void StyleEngine::insertTreeScopeInDocumentOrder(TreeScopeSet& treeScopes, TreeScope* treeScope) argument
121 treeScopes.add(treeScope);
124 if (treeScopes.contains(treeScope))
134 unsigned short position = n->comparePosition(*treeScope);
136 treeScopes.insertBefore(followingTreeScope, treeScope);
142 treeScopes.insertBefore(followingTreeScope, treeScope);
145 TreeScopeStyleSheetCollection* StyleEngine::ensureStyleSheetCollectionFor(TreeScope& treeScope) argument
147 if (treeScope == m_document)
150 StyleSheetCollectionMap::AddResult result = m_styleSheetCollectionMap.add(&treeScope, nullpt
156 styleSheetCollectionFor(TreeScope& treeScope) argument
167 styleSheetsForStyleSheetList(TreeScope& treeScope) argument
256 TreeScope* treeScope = isHTMLStyleElement(*styleSheetCandidateNode) ? &styleSheetCandidateNode->treeScope() : m_document.get(); local
308 removeStyleSheetCandidateNode(Node* node, ContainerNode* scopingNode, TreeScope& treeScope) argument
381 TreeScope& treeScope = **it; local
421 TreeScope* treeScope = *it; local
[all...]
H A DDocumentStyleSheetCollection.h43 static PassOwnPtrWillBeRawPtr<DocumentStyleSheetCollection> create(TreeScope& treeScope) argument
45 return adoptPtrWillBeNoop(new DocumentStyleSheetCollection(treeScope));
H A DDocumentStyleSheetCollection.cpp40 DocumentStyleSheetCollection::DocumentStyleSheetCollection(TreeScope& treeScope) argument
41 : TreeScopeStyleSheetCollection(treeScope)
43 ASSERT(treeScope.rootNode() == treeScope.rootNode().document());
110 styleResolver->resetAuthorStyle(treeScope());
H A DStyleElement.cpp82 void StyleElement::removedFromDocument(Document& document, Element* element, ContainerNode* scopingNode, TreeScope& treeScope) argument
87 document.styleEngine()->removeStyleSheetCandidateNode(element, scopingNode, treeScope);
106 TreeScope& treeScope = scopingNode ? scopingNode->treeScope() : element->treeScope(); local
107 document.styleEngine()->removeStyleSheetCandidateNode(element, scopingNode, treeScope);
H A DCharacterData.h55 CharacterData(TreeScope& treeScope, const String& text, ConstructionType type) argument
56 : Node(&treeScope, type)
H A DText.h64 Text(TreeScope& treeScope, const String& data, ConstructionType type) argument
65 : CharacterData(treeScope, data, type) { }
H A DTreeScopeStyleSheetCollection.h67 Document& document() const { return treeScope().document(); }
68 TreeScope& treeScope() const { return *m_treeScope; } function in class:blink::TreeScopeStyleSheetCollection
H A DTreeScopeAdopter.h64 , m_oldScope(toAdopt.treeScope())
H A DShadowTreeStyleSheetCollection.cpp102 styleResolver->resetAuthorStyle(treeScope());
110 toShadowRoot(treeScope().rootNode()).host()->setNeedsStyleRecalc(SubtreeStyleChange);
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
H A DRenderSVGResourceContainer.h91 inline RenderSVGResourceContainer* getRenderSVGResourceContainerById(TreeScope& treeScope, const AtomicString& id) argument
96 if (RenderSVGResourceContainer* renderResource = treeScope.document().accessSVGExtensions().resourceById(id))
103 Renderer* getRenderSVGResourceById(TreeScope& treeScope, const AtomicString& id) argument
105 if (RenderSVGResourceContainer* container = getRenderSVGResourceContainerById(treeScope, id))
H A DReferenceFilterBuilder.cpp117 TreeScope* treeScope = &renderer->node()->treeScope();
125 treeScope = cachedSVGDocument->document();
128 if (!treeScope)
131 Element* filter = treeScope->getElementById(filterOperation->fragment());
136 treeScope->document().accessSVGExtensions().addPendingResource(filterOperation->fragment(), toElement(renderer->node()));
H A DRenderSVGTextPath.cpp54 Element* targetElement = SVGURIReference::targetElementFromIRIString(textPathElement->href()->currentValue()->value(), textPathElement->treeScope());
/external/chromium_org/third_party/WebKit/Source/core/svg/
H A DSVGURIReference.cpp42 AtomicString SVGURIReference::fragmentIdentifierFromIRIString(const String& url, const TreeScope& treeScope) argument
48 const Document& document = treeScope.document();
56 static inline KURL urlFromIRIStringWithFragmentIdentifier(const String& url, const TreeScope& treeScope, AtomicString& fragmentIdentifier) argument
62 const Document& document = treeScope.document();
74 Element* SVGURIReference::targetElementFromIRIString(const String& iri, const TreeScope& treeScope, AtomicString* fragmentIdentifier, Document* externalDocument) argument
76 const Document& document = treeScope.document();
100 return treeScope.getElementById(id);
H A DSVGAltGlyphElement.cpp74 Element* element = targetElementFromIRIString(getAttribute(XLinkNames::hrefAttr), treeScope(), &target);
/external/chromium_org/third_party/WebKit/Source/core/css/
H A DStyleSheetList.h40 static PassRefPtrWillBeRawPtr<StyleSheetList> create(TreeScope* treeScope) { return adoptRefWillBeNoop(new StyleSheetList(treeScope)); } argument
H A DStyleSheetList.cpp34 StyleSheetList::StyleSheetList(TreeScope* treeScope) argument
35 : m_treeScope(treeScope)
H A DCSSCursorImageValue.cpp42 static inline SVGCursorElement* resourceReferencedByCursorElement(const String& url, TreeScope& treeScope) argument
44 Element* element = SVGURIReference::targetElementFromIRIString(url, treeScope);
71 if (SVGCursorElement* cursorElement = resourceReferencedByCursorElement(url, referencedElement->treeScope()))
99 if (SVGCursorElement* cursorElement = resourceReferencedByCursorElement(url, element->treeScope())) {
/external/chromium_org/third_party/WebKit/Source/core/editing/
H A DDOMSelection.h54 static PassRefPtrWillBeRawPtr<DOMSelection> create(const TreeScope* treeScope) argument
56 return adoptRefWillBeNoop(new DOMSelection(treeScope));
/external/chromium_org/third_party/WebKit/Source/core/dom/shadow/
H A DShadowRoot.h167 DEFINE_TYPE_CASTS(ShadowRoot, TreeScope, treeScope, treeScope->rootNode().isShadowRoot(), treeScope.rootNode().isShadowRoot());

Completed in 1010 milliseconds

1234