Home
last modified time | relevance | path

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

1234567

/external/chromium_org/third_party/WebKit/Source/core/dom/shadow/
DShadowRoot.cpp46 …AsShadowRoot : public DocumentFragment, public TreeScope, public DoublyLinkedListNode<ShadowRoot> {
51 COMPILE_ASSERT(sizeof(ShadowRoot) == sizeof(SameSizeAsShadowRoot), shadowroot_should_stay_small);
53 ShadowRoot::ShadowRoot(Document& document, ShadowRootType type) in ShadowRoot() function in WebCore::ShadowRoot
66 ShadowRoot::~ShadowRoot() in ~ShadowRoot()
96 void ShadowRoot::dispose() in dispose()
102 ShadowRoot* ShadowRoot::olderShadowRootForBindings() const in olderShadowRootForBindings()
104 ShadowRoot* older = olderShadowRoot(); in olderShadowRootForBindings()
111 PassRefPtrWillBeRawPtr<Node> ShadowRoot::cloneNode(bool, ExceptionState& exceptionState) in cloneNode()
117 String ShadowRoot::innerHTML() const in innerHTML()
122 void ShadowRoot::setInnerHTML(const String& markup, ExceptionState& exceptionState) in setInnerHTML()
[all …]
DShadowRoot.h45 class ShadowRoot FINAL : public DocumentFragment, public TreeScope, public DoublyLinkedListNode<Sha…
46 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(ShadowRoot);
47 friend class WTF::DoublyLinkedListNode<ShadowRoot>;
58 static PassRefPtrWillBeRawPtr<ShadowRoot> create(Document& document, ShadowRootType type) in create()
60 return adoptRefWillBeNoop(new ShadowRoot(document, type)); in create()
72 ShadowRoot* youngerShadowRoot() const { return prev(); } in youngerShadowRoot()
74 ShadowRoot* olderShadowRootForBindings() const;
116 ShadowRoot* olderShadowRoot() const { return next(); } in olderShadowRoot()
129 ShadowRoot(Document&, ShadowRootType);
130 virtual ~ShadowRoot();
[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);
84 void collectSelectFeatureSetFrom(ShadowRoot&);
95 DoublyLinkedList<ShadowRoot> m_shadowRoots;
106 inline ShadowRoot* Node::youngestShadowRoot() const in youngestShadowRoot()
113 inline ShadowRoot* Element::youngestShadowRoot() const in youngestShadowRoot()
122 if (ShadowRoot* parentRoot = host()->containingShadowRoot()) in containingShadow()
DElementShadow.cpp144 ShadowRoot& ElementShadow::addShadowRoot(Element& shadowHost, ShadowRoot::ShadowRootType type) in addShadowRoot()
146 RefPtrWillBeRawPtr<ShadowRoot> shadowRoot = ShadowRoot::create(shadowHost.document(), type); in addShadowRoot()
148 …if (type == ShadowRoot::AuthorShadowRoot && (!youngestShadowRoot() || youngestShadowRoot()->type()… in addShadowRoot()
151 for (ShadowRoot* root = youngestShadowRoot(); root; root = root->olderShadowRoot()) in addShadowRoot()
174 while (RefPtrWillBeRawPtr<ShadowRoot> oldRoot = m_shadowRoots.head()) { in removeDetachedShadowRoots()
191 for (ShadowRoot* root = youngestShadowRoot(); root; root = root->olderShadowRoot()) { in attach()
202 for (ShadowRoot* root = youngestShadowRoot(); root; root = root->olderShadowRoot()) in detach()
217 ShadowRoot* root = youngestShadowRoot(); in hasSameStyles()
218 ShadowRoot* otherRoot = other->youngestShadowRoot(); in hasSameStyles()
260 for (ShadowRoot* root = youngestShadowRoot(); root; root = root->olderShadowRoot()) { in distribute()
[all …]
DInsertionPoint.cpp148 ShadowRoot* shadowRoot = containingShadowRoot(); in isActive()
194 if (ShadowRoot* root = containingShadowRoot()) { in childrenChanged()
203 if (ShadowRoot* root = containingShadowRoot()) { in insertedInto()
220 ShadowRoot* root = containingShadowRoot(); in removedFrom()
DShadowRoot.idl27 interface ShadowRoot : DocumentFragment {
30 [ImplementedAs=olderShadowRootForBindings] readonly attribute ShadowRoot olderShadowRoot;
DComposedTreeWalker.cpp118 ShadowRoot* parentShadowRoot = toShadowRoot(node->parentNode()); in traverseBackToYoungerShadowRoot()
156 ShadowRoot* shadowRoot = toShadowRoot(parent); in traverseParentOrHost()
/external/chromium_org/third_party/WebKit/Source/core/dom/
DTreeScopeTest.cpp24 RefPtrWillBeRawPtr<ShadowRoot> shadowRoot = html->createShadowRoot(ASSERT_NO_EXCEPTION); in TEST()
37 RefPtrWillBeRawPtr<ShadowRoot> shadowRoot = html->createShadowRoot(ASSERT_NO_EXCEPTION); in TEST()
57 RefPtrWillBeRawPtr<ShadowRoot> shadowRootA = head->createShadowRoot(ASSERT_NO_EXCEPTION); in TEST()
58 RefPtrWillBeRawPtr<ShadowRoot> shadowRootB = body->createShadowRoot(ASSERT_NO_EXCEPTION); in TEST()
80 RefPtrWillBeRawPtr<ShadowRoot> shadowRootY = head->createShadowRoot(ASSERT_NO_EXCEPTION); in TEST()
81 RefPtrWillBeRawPtr<ShadowRoot> shadowRootB = body->createShadowRoot(ASSERT_NO_EXCEPTION); in TEST()
85 RefPtrWillBeRawPtr<ShadowRoot> shadowRootA = divInY->createShadowRoot(ASSERT_NO_EXCEPTION); in TEST()
DShadowTreeStyleSheetCollection.h36 class ShadowRoot; variable
45 explicit ShadowTreeStyleSheetCollection(ShadowRoot&);
DSelectorQuery.cpp338 static ShadowRoot* authorShadowRootOf(const ContainerNode& node) in authorShadowRootOf()
345 …for (ShadowRoot* shadowRoot = shadow->oldestShadowRoot(); shadowRoot; shadowRoot = shadowRoot->you… in authorShadowRootOf()
346 if (shadowRoot->type() == ShadowRoot::AuthorShadowRoot) in authorShadowRootOf()
354 if (ShadowRoot* shadowRoot = authorShadowRootOf(rootNode)) in firstWithinTraversingShadowTree()
361 if (ShadowRoot* shadowRoot = authorShadowRootOf(node)) in nextTraversingShadowTree()
372 ShadowRoot* shadowRoot = current->containingShadowRoot(); in nextTraversingShadowTree()
375 if (ShadowRoot* youngerShadowRoot = shadowRoot->youngerShadowRoot()) { in nextTraversingShadowTree()
377 ASSERT(youngerShadowRoot->type() == ShadowRoot::AuthorShadowRoot); in nextTraversingShadowTree()
DChildFrameDisconnector.cpp71 for (ShadowRoot* root = shadow.youngestShadowRoot(); root; root = root->olderShadowRoot()) in collectFrameOwners()
85 … for (ShadowRoot* root = shadow->youngestShadowRoot(); root; root = root->olderShadowRoot()) in checkConnectedSubframeCountIsConsistent()
DTreeScopeAdopter.cpp75 …for (ShadowRoot* shadow = node->youngestShadowRoot(); shadow; shadow = shadow->olderShadowRoot()) { in moveTreeToNewScope()
92 … for (ShadowRoot* shadow = node->youngestShadowRoot(); shadow; shadow = shadow->olderShadowRoot()) in moveTreeToNewDocument()
DElement.h62 class ShadowRoot; variable
336 PassRefPtrWillBeRawPtr<ShadowRoot> createShadowRoot(ExceptionState&);
337 ShadowRoot* shadowRoot() const;
338 ShadowRoot* youngestShadowRoot() const;
341 ShadowRoot* userAgentShadowRoot() const;
342 ShadowRoot& ensureUserAgentShadowRoot();
583 virtual void didAddUserAgentShadowRoot(ShadowRoot&) { } in didAddUserAgentShadowRoot() argument
DTreeScope.cpp105 if (ShadowRoot* olderShadowRoot = toShadowRoot(rootNode()).olderShadowRoot()) in olderShadowRootOrParentTreeScope()
410 …for (const ShadowRoot* child = toShadowRoot(child2->rootNode()).olderShadowRoot(); child; child = … in comparePosition()
521 …for (ShadowRoot* shadowRoot = element->youngestShadowRoot(); shadowRoot; shadowRoot = shadowRoot->… in getElementByAccessKey()
532 for (ShadowRoot* root = element->youngestShadowRoot(); root; root = root->olderShadowRoot()) in setNeedsStyleRecalcForViewportUnits()
/external/chromium_org/third_party/WebKit/Source/core/html/
DHTMLShadowElement.cpp53 ShadowRoot* HTMLShadowElement::olderShadowRoot() in olderShadowRoot()
55 ShadowRoot* containingRoot = containingShadowRoot(); in olderShadowRoot()
61 ShadowRoot* older = containingRoot->olderShadowRoot(); in olderShadowRoot()
73 ShadowRoot* root = containingShadowRoot(); in insertedInto()
DHTMLKeygenElement.cpp58 void HTMLKeygenElement::didAddUserAgentShadowRoot(ShadowRoot& root) in didAddUserAgentShadowRoot()
112 ShadowRoot* root = userAgentShadowRoot(); in shadowSelect()
DHTMLContentElement.cpp74 if (ShadowRoot* root = containingShadowRoot()) in parseAttribute()
98 …bled() || (containingShadowRoot() && containingShadowRoot()->type() == ShadowRoot::UserAgentShadow… in validateSelect()
DHTMLStyleElement.cpp92 if (ShadowRoot* scope = containingShadowRoot()) in insertedInto()
105 ShadowRoot* scopingNode = containingShadowRoot(); in removedFrom()
DHTMLShadowElement.h44 ShadowRoot* olderShadowRoot();
DHTMLSummaryElement.h41 virtual void didAddUserAgentShadowRoot(ShadowRoot&) OVERRIDE;
DHTMLDetailsElement.h46 virtual void didAddUserAgentShadowRoot(ShadowRoot&) OVERRIDE;
/external/chromium_org/chrome/test/chromedriver/js/
Dcall_function.js35 var SHADOW_DOM_ENABLED = typeof ShadowRoot === 'function';
103 else if (SHADOW_DOM_ENABLED && nodeRoot instanceof ShadowRoot)
148 || (SHADOW_DOM_ENABLED && value instanceof ShadowRoot)) {
/external/chromium_org/third_party/WebKit/Source/core/editing/
DTextIteratorTest.cpp134 PassRefPtrWillBeRawPtr<ShadowRoot> createShadowRootForElementWithIDAndSetInnerHTML(TreeScope& scope… in createShadowRootForElementWithIDAndSetInnerHTML()
136 …RefPtrWillBeRawPtr<ShadowRoot> shadowRoot = scope.getElementById(AtomicString::fromUTF8(hostElemen… in createShadowRootForElementWithIDAndSetInnerHTML()
268 …RefPtrWillBeRawPtr<ShadowRoot> shadowRoot1 = createShadowRootForElementWithIDAndSetInnerHTML(docum… in TEST_F()
341 …RefPtrWillBeRawPtr<ShadowRoot> shadowRoot1 = createShadowRootForElementWithIDAndSetInnerHTML(docum… in TEST_F()
380 …RefPtrWillBeRawPtr<ShadowRoot> shadowRoot = createShadowRootForElementWithIDAndSetInnerHTML(docume… in TEST_F()
400 …RefPtrWillBeRawPtr<ShadowRoot> shadowRoot = createShadowRootForElementWithIDAndSetInnerHTML(docume… in TEST_F()
/external/chromium_org/third_party/WebKit/Source/core/testing/
DInternals.h68 class ShadowRoot; variable
97 ShadowRoot* shadowRoot(Element* host, ExceptionState&);
98 ShadowRoot* youngestShadowRoot(Element* host, ExceptionState&);
99 ShadowRoot* oldestShadowRoot(Element* host, ExceptionState&);
100 ShadowRoot* youngerShadowRoot(Node* shadow, ExceptionState&);
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DHitTestResult.cpp143 if (ShadowRoot* containingShadowRoot = node->containingShadowRoot()) { in setToShadowHostIfInUserAgentShadowRoot()
144 if (containingShadowRoot->type() == ShadowRoot::UserAgentShadowRoot) in setToShadowHostIfInUserAgentShadowRoot()
150 if (ShadowRoot* containingShadowRoot = node->containingShadowRoot()) { in setToShadowHostIfInUserAgentShadowRoot()
151 if (containingShadowRoot->type() == ShadowRoot::UserAgentShadowRoot) in setToShadowHostIfInUserAgentShadowRoot()

1234567