HomeSort by relevance Sort by last modified time
    Searched full:treescope (Results 1 - 25 of 117) sorted by null

1 2 3 4 5

  /external/chromium_org/third_party/WebKit/Source/core/dom/
TreeScope.cpp 28 #include "core/dom/TreeScope.h"
59 TreeScope::TreeScope(ContainerNode& rootNode, Document& document)
75 TreeScope::TreeScope(Document& document)
87 TreeScope::~TreeScope()
103 TreeScope* TreeScope::olderShadowRootOrParentTreeScope() const
112 bool TreeScope::isInclusiveOlderSiblingShadowRootOrAncestorTreeScopeOf(const TreeScope& scope) cons
    [all...]
TreeScope.h 47 // A class which inherits both Node and TreeScope must call clearRareData() in its destructor
50 class TreeScope : public WillBeGarbageCollectedMixin {
52 TreeScope* parentTreeScope() const { return m_parentTreeScope; }
54 TreeScope* olderShadowRootOrParentTreeScope() const;
55 bool isInclusiveOlderSiblingShadowRootOrAncestorTreeScopeOf(const TreeScope&) const;
128 bool isInclusiveAncestorOf(const TreeScope&) const;
129 unsigned short comparePosition(const TreeScope&) const;
131 const TreeScope* commonAncestorTreeScope(const TreeScope& other) const;
132 TreeScope* commonAncestorTreeScope(TreeScope& other)
    [all...]
TreeScopeAdopter.h 32 class TreeScope;
37 TreeScopeAdopter(Node& toAdopt, TreeScope& newScope);
53 TreeScope& oldScope() const { return *m_oldScope; }
54 TreeScope& newScope() const { return *m_newScope; }
57 RawPtrWillBeMember<TreeScope> m_newScope;
58 RawPtrWillBeMember<TreeScope> m_oldScope;
61 inline TreeScopeAdopter::TreeScopeAdopter(Node& toAdopt, TreeScope& newScope)
64 , m_oldScope(toAdopt.treeScope())
StyleEngine.cpp 103 const_cast<TreeScope&>((*it)->treeScope()).clearScopedStyleResolver();
118 void StyleEngine::insertTreeScopeInDocumentOrder(TreeScopeSet& treeScopes, TreeScope* treeScope)
121 treeScopes.add(treeScope);
124 if (treeScopes.contains(treeScope))
130 TreeScope* followingTreeScope = 0;
133 TreeScope* n = *it;
134 unsigned short position = n->comparePosition(*treeScope);
136 treeScopes.insertBefore(followingTreeScope, treeScope);
    [all...]
DocumentStyleSheetCollection.h 37 class TreeScope;
43 static PassOwnPtrWillBeRawPtr<DocumentStyleSheetCollection> create(TreeScope& treeScope)
45 return adoptPtrWillBeNoop(new DocumentStyleSheetCollection(treeScope));
57 explicit DocumentStyleSheetCollection(TreeScope&);
TreeScopeStyleSheetCollection.h 34 #include "core/dom/TreeScope.h"
65 explicit TreeScopeStyleSheetCollection(TreeScope&);
67 Document& document() const { return treeScope().document(); }
68 TreeScope& treeScope() const { return *m_treeScope; }
96 RawPtrWillBeMember<TreeScope> m_treeScope;
DocumentOrderedMap.h 44 class TreeScope;
55 Element* getElementById(const AtomicString&, const TreeScope*) const;
56 const WillBeHeapVector<RawPtrWillBeMember<Element> >& getAllElementsById(const AtomicString&, const TreeScope*) const;
57 Element* getElementByMapName(const AtomicString&, const TreeScope*) const;
58 Element* getElementByLowercasedMapName(const AtomicString&, const TreeScope*) const;
59 Element* getElementByLabelForAttribute(const AtomicString&, const TreeScope*) const;
65 Element* get(const AtomicString&, const TreeScope*) const;
DocumentStyleSheetCollection.cpp 40 DocumentStyleSheetCollection::DocumentStyleSheetCollection(TreeScope& treeScope)
41 : TreeScopeStyleSheetCollection(treeScope)
43 ASSERT(treeScope.rootNode() == treeScope.rootNode().document());
110 styleResolver->resetAuthorStyle(treeScope());
StyleElement.cpp 82 void StyleElement::removedFromDocument(Document& document, Element* element, ContainerNode* scopingNode, TreeScope& treeScope)
87 document.styleEngine()->removeStyleSheetCandidateNode(element, scopingNode, treeScope);
106 TreeScope& treeScope = scopingNode ? scopingNode->treeScope() : element->treeScope();
107 document.styleEngine()->removeStyleSheetCandidateNode(element, scopingNode, treeScope);
StyleEngine.h 77 const WillBeHeapVector<RefPtrWillBeMember<StyleSheet> >& styleSheetsForStyleSheetList(TreeScope&);
88 void removeStyleSheetCandidateNode(Node*, ContainerNode* scopingNode, TreeScope&);
187 TreeScopeStyleSheetCollection* ensureStyleSheetCollectionFor(TreeScope&);
188 TreeScopeStyleSheetCollection* styleSheetCollectionFor(TreeScope&);
193 void markTreeScopeDirty(TreeScope&);
199 typedef ListHashSet<TreeScope*, 16> TreeScopeSet;
200 static void insertTreeScopeInDocumentOrder(TreeScopeSet&, TreeScope*);
233 typedef WillBeHeapHashMap<RawPtrWillBeWeakMember<TreeScope>, OwnPtrWillBeMember<ShadowTreeStyleSheetCollection> > StyleSheetCollectionMap;
DocumentOrderedMap.cpp 37 #include "core/dom/TreeScope.h"
110 inline Element* DocumentOrderedMap::get(const AtomicString& key, const TreeScope* scope) const
134 Element* DocumentOrderedMap::getElementById(const AtomicString& key, const TreeScope* scope) const
139 const WillBeHeapVector<RawPtrWillBeMember<Element> >& DocumentOrderedMap::getAllElementsById(const AtomicString& key, const TreeScope* scope) const
167 Element* DocumentOrderedMap::getElementByMapName(const AtomicString& key, const TreeScope* scope) const
172 Element* DocumentOrderedMap::getElementByLowercasedMapName(const AtomicString& key, const TreeScope* scope) const
177 Element* DocumentOrderedMap::getElementByLabelForAttribute(const AtomicString& key, const TreeScope* scope) const
  /external/chromium_org/third_party/WebKit/Source/core/css/
StyleSheetList.h 26 #include "core/dom/TreeScope.h"
40 static PassRefPtrWillBeRawPtr<StyleSheetList> create(TreeScope* treeScope) { return adoptRefWillBeNoop(new StyleSheetList(treeScope)); }
59 StyleSheetList(TreeScope*);
62 RawPtrWillBeMember<TreeScope> m_treeScope;
StyleSheetList.cpp 34 StyleSheetList::StyleSheetList(TreeScope* treeScope)
35 : m_treeScope(treeScope)
  /external/chromium_org/third_party/WebKit/Source/core/events/
EventPath.cpp 145 WillBeHeapHashMap<RawPtrWillBeMember<const TreeScope>, RawPtrWillBeMember<TreeScopeEventContext> > treeScopeEventContextMap;
147 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)
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)
    [all...]
TreeScopeEventContext.cpp 45 TreeScope& treeScope = path[i].treeScopeEventContext().treeScope();
46 if (treeScope.rootNode().isShadowRoot() && toShadowRoot(treeScope).type() == ShadowRoot::AuthorShadowRoot)
62 PassRefPtrWillBeRawPtr<TreeScopeEventContext> TreeScopeEventContext::create(TreeScope& treeScope)
64 return adoptRefWillBeNoop(new TreeScopeEventContext(treeScope));
67 TreeScopeEventContext::TreeScopeEventContext(TreeScope& treeScope)
    [all...]
EventPath.h 43 class TreeScope;
79 void adjustTouchList(const Node*, const TouchList*, WillBeHeapVector<RawPtrWillBeMember<TouchList> > adjustedTouchList, const WillBeHeapVector<RawPtrWillBeMember<TreeScope> >& treeScopes);
81 typedef WillBeHeapHashMap<RawPtrWillBeMember<TreeScope>, RefPtrWillBeMember<TreeScopeEventContext> > TreeScopeEventContextMap;
82 TreeScopeEventContext* ensureTreeScopeEventContext(Node* currentTarget, TreeScope*, TreeScopeEventContextMap&);
84 typedef WillBeHeapHashMap<RawPtrWillBeMember<TreeScope>, RawPtrWillBeMember<EventTarget> > RelatedTargetMap;
87 static EventTarget* findRelatedNode(TreeScope*, RelatedTargetMap&);
90 static void checkReachability(TreeScope&, TouchList&);
TreeScopeEventContext.h 31 #include "core/dom/TreeScope.h"
45 class TreeScope;
50 static PassRefPtrWillBeRawPtr<TreeScopeEventContext> create(TreeScope&);
53 TreeScope& treeScope() const { return *m_treeScope; }
74 TreeScopeEventContext(TreeScope&);
80 RawPtrWillBeMember<TreeScope> m_treeScope;
95 return target.toNode() && !target.toNode()->isSVGElement() && !target.toNode()->treeScope().isInclusiveOlderSiblingShadowRootOrAncestorTreeScopeOf(treeScope());
  /external/chromium_org/third_party/WebKit/Source/core/css/resolver/
ScopedStyleResolver.h 32 #include "core/dom/TreeScope.h"
50 static PassOwnPtrWillBeRawPtr<ScopedStyleResolver> create(TreeScope& scope)
55 static TreeScope* treeScopeFor(Document&, const CSSStyleSheet*);
57 const TreeScope& treeScope() const { return *m_scope; }
74 explicit ScopedStyleResolver(TreeScope& scope)
79 RawPtrWillBeMember<TreeScope> m_scope;
  /external/chromium_org/third_party/WebKit/Source/core/svg/
SVGURIReference.cpp 42 AtomicString SVGURIReference::fragmentIdentifierFromIRIString(const String& url, const TreeScope& treeScope)
48 const Document& document = treeScope.document();
56 static inline KURL urlFromIRIStringWithFragmentIdentifier(const String& url, const TreeScope& treeScope, AtomicString& fragmentIdentifier)
62 const Document& document = treeScope.document();
74 Element* SVGURIReference::targetElementFromIRIString(const String& iri, const TreeScope& treeScope, AtomicString* fragmentIdentifier, Document* externalDocument)
76 const Document& document = treeScope.document();
100 return treeScope.getElementById(id)
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
RenderSVGResourceContainer.h 91 inline RenderSVGResourceContainer* getRenderSVGResourceContainerById(TreeScope& treeScope, const AtomicString& id)
96 if (RenderSVGResourceContainer* renderResource = treeScope.document().accessSVGExtensions().resourceById(id))
103 Renderer* getRenderSVGResourceById(TreeScope& treeScope, const AtomicString& id)
105 if (RenderSVGResourceContainer* container = getRenderSVGResourceContainerById(treeScope, id))
ReferenceFilterBuilder.cpp 117 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()));
  /external/chromium_org/third_party/WebKit/Source/core/dom/shadow/
ShadowRoot.h 33 #include "core/dom/TreeScope.h"
46 class ShadowRoot FINAL : public DocumentFragment, public TreeScope, public DoublyLinkedListNode<ShadowRoot> {
67 // Disambiguate between Node and TreeScope hierarchies; TreeScope's implementation is simpler.
68 using TreeScope::document;
69 using TreeScope::getElementById;
112 using TreeScope::setDocument;
113 using TreeScope::setParentTreeScope;
167 DEFINE_TYPE_CASTS(ShadowRoot, TreeScope, treeScope, treeScope->rootNode().isShadowRoot(), treeScope.rootNode().isShadowRoot())
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/html/
HTMLLabelElement.cpp 73 if (Element* element = treeScope().getElementById(controlId)) {
225 void HTMLLabelElement::updateLabel(TreeScope& scope, const AtomicString& oldForAttributeValue, const AtomicString& newForAttributeValue)
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()
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/editing/
DOMSelection.h 47 class TreeScope;
54 static PassRefPtrWillBeRawPtr<DOMSelection> create(const TreeScope* treeScope)
56 return adoptRefWillBeNoop(new DOMSelection(treeScope));
102 explicit DOMSelection(const TreeScope*);
114 RawPtrWillBeMember<const TreeScope> m_treeScope;
  /external/chromium_org/third_party/WebKit/Source/core/svg/graphics/filters/
SVGFEImage.h 27 #include "core/dom/TreeScope.h"
39 static PassRefPtr<FEImage> createWithIRIReference(Filter*, TreeScope&, const String&, PassRefPtr<SVGPreserveAspectRatio>);
51 FEImage(Filter*, TreeScope&, const String&, PassRefPtr<SVGPreserveAspectRatio>);
60 TreeScope* m_treeScope;

Completed in 1009 milliseconds

1 2 3 4 5