Home
last modified time | relevance | path

Searched refs:ShadowRoot (Results 1 – 25 of 99) sorted by relevance

1234

/external/chromium_org/third_party/WebKit/Source/core/dom/shadow/
DShadowRoot.cpp44 …AsShadowRoot : public DocumentFragment, public TreeScope, public DoublyLinkedListNode<ShadowRoot> {
49 COMPILE_ASSERT(sizeof(ShadowRoot) == sizeof(SameSizeAsShadowRoot), shadowroot_should_stay_small);
57 ShadowRoot::ShadowRoot(Document* document, ShadowRootType type) in ShadowRoot() function in WebCore::ShadowRoot
72 if (type == ShadowRoot::AuthorShadowRoot) { in ShadowRoot()
78 ShadowRoot::~ShadowRoot() in ~ShadowRoot()
105 void ShadowRoot::dispose() in dispose()
110 ShadowRoot* ShadowRoot::bindingsOlderShadowRoot() const in bindingsOlderShadowRoot()
112 ShadowRoot* older = olderShadowRoot(); in bindingsOlderShadowRoot()
119 bool ShadowRoot::isOldestAuthorShadowRoot() const in isOldestAuthorShadowRoot()
123 if (ShadowRoot* older = olderShadowRoot()) in isOldestAuthorShadowRoot()
[all …]
DShadowRoot.h45 class ShadowRoot FINAL : public DocumentFragment, public TreeScope, public DoublyLinkedListNode<Sha…
46 friend class WTF::DoublyLinkedListNode<ShadowRoot>;
57 static PassRefPtr<ShadowRoot> create(Document* document, ShadowRootType type) in create()
59 return adoptRef(new ShadowRoot(document, type)); in create()
67 ShadowRoot* youngerShadowRoot() const { return prev(); } in youngerShadowRoot()
69 ShadowRoot* bindingsOlderShadowRoot() const;
112 ShadowRoot* olderShadowRoot() const { return next(); } in olderShadowRoot()
123 ShadowRoot(Document*, ShadowRootType);
124 virtual ~ShadowRoot();
143 ShadowRoot* m_prev;
[all …]
DElementShadow.h49 ShadowRoot* youngestShadowRoot() const { return m_shadowRoots.head(); } in youngestShadowRoot()
50 ShadowRoot* oldestShadowRoot() const { return m_shadowRoots.tail(); } in oldestShadowRoot()
53 ShadowRoot& addShadowRoot(Element& shadowHost, ShadowRoot::ShadowRootType);
85 void collectSelectFeatureSetFrom(ShadowRoot&);
95 DoublyLinkedList<ShadowRoot> m_shadowRoots;
107 inline ShadowRoot* Node::youngestShadowRoot() const in youngestShadowRoot()
114 inline ShadowRoot* Element::youngestShadowRoot() const in youngestShadowRoot()
123 if (ShadowRoot* parentRoot = host()->containingShadowRoot()) in containingShadow()
DElementShadow.cpp140 ShadowRoot& ElementShadow::addShadowRoot(Element& shadowHost, ShadowRoot::ShadowRootType type) in addShadowRoot()
142 RefPtr<ShadowRoot> shadowRoot = ShadowRoot::create(&shadowHost.document(), type); in addShadowRoot()
144 for (ShadowRoot* root = youngestShadowRoot(); root; root = root->olderShadowRoot()) in addShadowRoot()
171 while (RefPtr<ShadowRoot> oldRoot = m_shadowRoots.head()) { in removeAllShadowRoots()
188 for (ShadowRoot* root = youngestShadowRoot(); root; root = root->olderShadowRoot()) { in attach()
199 for (ShadowRoot* root = youngestShadowRoot(); root; root = root->olderShadowRoot()) in detach()
205 for (ShadowRoot* root = youngestShadowRoot(); root; root = root->olderShadowRoot()) { in removeAllEventListeners()
233 for (ShadowRoot* root = youngestShadowRoot(); root; root = root->olderShadowRoot()) { in containsActiveStyles()
244 …for (const ShadowRoot* shadowRoot = youngestShadowRoot(); shadowRoot; shadowRoot = shadowRoot->old… in resolveApplyAuthorStyles()
271 for (ShadowRoot* root = youngestShadowRoot(); root; root = root->olderShadowRoot()) { in distribute()
[all …]
DInsertionPoint.cpp157 ShadowRoot* shadowRoot = containingShadowRoot(); in isActive()
202 if (ShadowRoot* root = containingShadowRoot()) { in childrenChanged()
211 if (ShadowRoot* root = containingShadowRoot()) { in insertedInto()
229 ShadowRoot* root = containingShadowRoot(); in removedFrom()
DShadowRoot.idl29 ] interface ShadowRoot : DocumentFragment {
33 …[RuntimeEnabled=ShadowDOM, ImplementedAs=bindingsOlderShadowRoot] readonly attribute ShadowRoot ol…
DComposedTreeWalker.cpp119 ShadowRoot* parentShadowRoot = toShadowRoot(node->parentNode()); in traverseBackToYoungerShadowRoot()
157 ShadowRoot* shadowRoot = toShadowRoot(parent); in traverseParentOrHost()
/external/chromium_org/third_party/WebKit/Source/core/html/shadow/
DHTMLShadowElement.cpp56 ShadowRoot* HTMLShadowElement::olderShadowRoot() in olderShadowRoot()
58 ShadowRoot* containingRoot = containingShadowRoot(); in olderShadowRoot()
64 ShadowRoot* older = containingRoot->olderShadowRoot(); in olderShadowRoot()
76 ShadowRoot* root = containingShadowRoot(); in insertedInto()
DHTMLShadowElement.h45 ShadowRoot* olderShadowRoot();
DPasswordGeneratorButtonElement.h41 class ShadowRoot; variable
/external/chromium_org/third_party/WebKit/Source/core/dom/
DContainerNodeAlgorithms.cpp35 class ShadowRootVector : public Vector<RefPtr<ShadowRoot> > {
39 for (ShadowRoot* root = tree->youngestShadowRoot(); root; root = root->olderShadowRoot()) in ShadowRootVector()
74 for (ShadowRoot* root = node.youngestShadowRoot(); root; root = root->olderShadowRoot()) in notifyDescendantInsertedIntoTree()
123 for (ShadowRoot* root = shadow.youngestShadowRoot(); root; root = root->olderShadowRoot()) in collectFrameOwners()
137 … for (ShadowRoot* root = shadow->youngestShadowRoot(); root; root = root->olderShadowRoot()) in assertConnectedSubrameCountIsConsistent()
DShadowTreeStyleSheetCollection.h36 class ShadowRoot; variable
44 explicit ShadowTreeStyleSheetCollection(ShadowRoot&);
DTreeScopeAdopter.cpp74 …for (ShadowRoot* shadow = node->youngestShadowRoot(); shadow; shadow = shadow->olderShadowRoot()) { in moveTreeToNewScope()
88 … for (ShadowRoot* shadow = node->youngestShadowRoot(); shadow; shadow = shadow->olderShadowRoot()) in moveTreeToNewDocument()
DElement.h60 class ShadowRoot; variable
311 PassRefPtr<ShadowRoot> createShadowRoot(ExceptionState&);
312 ShadowRoot* shadowRoot() const;
313 ShadowRoot* youngestShadowRoot() const;
316 virtual void didAddShadowRoot(ShadowRoot&);
317 ShadowRoot* userAgentShadowRoot() const;
318 ShadowRoot& ensureUserAgentShadowRoot();
599 virtual void didAddUserAgentShadowRoot(ShadowRoot&) { } in didAddUserAgentShadowRoot() argument
DElement.idl106 [RuntimeEnabled=ShadowDOM, RaisesException] ShadowRoot createShadowRoot();
107 [RuntimeEnabled=ShadowDOM, PerWorldBindings] readonly attribute ShadowRoot shadowRoot;
112 …dowRoot, RaisesException, MeasureAs=ShadowDOMPrefixedCreateShadowRoot] ShadowRoot webkitCreateShad…
113 …rldBindings, MeasureAs=ShadowDOMPrefixedShadowRoot] readonly attribute ShadowRoot webkitShadowRoot;
/external/chromium_org/third_party/WebKit/Source/core/testing/
DInternals.h66 class ShadowRoot; variable
95 ShadowRoot* ensureShadowRoot(Element* host, ExceptionState&);
96 ShadowRoot* shadowRoot(Element* host, ExceptionState&);
97 ShadowRoot* youngestShadowRoot(Element* host, ExceptionState&);
98 ShadowRoot* oldestShadowRoot(Element* host, ExceptionState&);
99 ShadowRoot* youngerShadowRoot(Node* shadow, ExceptionState&);
100 ShadowRoot* olderShadowRoot(Node* shadow, ExceptionState&);
DInternals.idl47 [RaisesException] ShadowRoot ensureShadowRoot(Element host);
48 [RaisesException] ShadowRoot shadowRoot(Element host);
49 [RaisesException] ShadowRoot youngestShadowRoot(Element host);
50 [RaisesException] ShadowRoot oldestShadowRoot(Element host);
51 [RaisesException] ShadowRoot youngerShadowRoot(Node root);
52 [RaisesException] ShadowRoot olderShadowRoot(Node root);
/external/chromium_org/third_party/WebKit/Source/core/html/
DHTMLKeygenElement.cpp52 void HTMLKeygenElement::didAddUserAgentShadowRoot(ShadowRoot& root) in didAddUserAgentShadowRoot()
106 ShadowRoot* root = userAgentShadowRoot(); in shadowSelect()
DHTMLPlugInElement.h107 virtual void didAddUserAgentShadowRoot(ShadowRoot&) OVERRIDE;
108 virtual void didAddShadowRoot(ShadowRoot&) OVERRIDE;
DHTMLSummaryElement.h41 virtual void didAddUserAgentShadowRoot(ShadowRoot&) OVERRIDE;
DHTMLDetailsElement.h41 virtual void didAddUserAgentShadowRoot(ShadowRoot&) OVERRIDE;
DHTMLKeygenElement.h62 virtual void didAddUserAgentShadowRoot(ShadowRoot&) OVERRIDE;
/external/chromium_org/third_party/WebKit/Source/core/editing/
DTextIteratorTest.cpp120 PassRefPtr<ShadowRoot> createShadowRootForElementWithIDAndSetInnerHTML(TreeScope& scope, const char… in createShadowRootForElementWithIDAndSetInnerHTML()
122 …RefPtr<ShadowRoot> shadowRoot = scope.getElementById(AtomicString::fromUTF8(hostElementID))->creat… in createShadowRootForElementWithIDAndSetInnerHTML()
254 …RefPtr<ShadowRoot> shadowRoot1 = createShadowRootForElementWithIDAndSetInnerHTML(document(), "host… in TEST_F()
327 …RefPtr<ShadowRoot> shadowRoot1 = createShadowRootForElementWithIDAndSetInnerHTML(document(), "host… in TEST_F()
/external/chromium_org/third_party/WebKit/Source/core/events/
DEventPath.cpp73 static inline bool inTheSameScope(ShadowRoot* shadowRoot, EventTarget* target) in inTheSameScope()
78 static inline EventDispatchBehavior determineDispatchBehavior(Event* event, ShadowRoot* shadowRoot,… in determineDispatchBehavior()
155 ShadowRoot* containingShadowRoot = insertionPoint->containingShadowRoot(); in calculatePath()
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DHitTestResult.cpp146 if (ShadowRoot* containingShadowRoot = node->containingShadowRoot()) { in setToShadowHostIfInUserAgentShadowRoot()
147 if (containingShadowRoot->type() == ShadowRoot::UserAgentShadowRoot) in setToShadowHostIfInUserAgentShadowRoot()
153 if (ShadowRoot* containingShadowRoot = node->containingShadowRoot()) { in setToShadowHostIfInUserAgentShadowRoot()
154 if (containingShadowRoot->type() == ShadowRoot::UserAgentShadowRoot) in setToShadowHostIfInUserAgentShadowRoot()

1234