Home
last modified time | relevance | path

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

12345678

/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 blink::ShadowRoot
65 ShadowRoot::~ShadowRoot() in ~ShadowRoot()
95 void ShadowRoot::dispose() in dispose()
101 ShadowRoot* ShadowRoot::olderShadowRootForBindings() const in olderShadowRootForBindings()
103 ShadowRoot* older = olderShadowRoot(); in olderShadowRootForBindings()
110 PassRefPtrWillBeRawPtr<Node> ShadowRoot::cloneNode(bool, ExceptionState& exceptionState) in cloneNode()
116 String ShadowRoot::innerHTML() const in innerHTML()
121 void ShadowRoot::setInnerHTML(const String& markup, ExceptionState& exceptionState) in setInnerHTML()
[all …]
DShadowRoot.h46 class ShadowRoot FINAL : public DocumentFragment, public TreeScope, public DoublyLinkedListNode<Sha…
48 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(ShadowRoot);
49 friend class WTF::DoublyLinkedListNode<ShadowRoot>;
60 static PassRefPtrWillBeRawPtr<ShadowRoot> create(Document& document, ShadowRootType type) in create()
62 return adoptRefWillBeNoop(new ShadowRoot(document, type)); in create()
74 ShadowRoot* youngerShadowRoot() const { return prev(); } in youngerShadowRoot()
76 ShadowRoot* olderShadowRootForBindings() const;
118 ShadowRoot* olderShadowRoot() const { return next(); } in olderShadowRoot()
131 ShadowRoot(Document&, ShadowRootType);
132 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.cpp145 ShadowRoot& ElementShadow::addShadowRoot(Element& shadowHost, ShadowRoot::ShadowRootType type) in addShadowRoot()
150 …if (type == ShadowRoot::AuthorShadowRoot && (!youngestShadowRoot() || youngestShadowRoot()->type()… in addShadowRoot()
153 for (ShadowRoot* root = youngestShadowRoot(); root; root = root->olderShadowRoot()) in addShadowRoot()
156 RefPtrWillBeRawPtr<ShadowRoot> shadowRoot = ShadowRoot::create(shadowHost.document(), type); in addShadowRoot()
175 while (RefPtrWillBeRawPtr<ShadowRoot> oldRoot = m_shadowRoots.head()) { in removeDetachedShadowRoots()
192 for (ShadowRoot* root = youngestShadowRoot(); root; root = root->olderShadowRoot()) { in attach()
203 for (ShadowRoot* root = youngestShadowRoot(); root; root = root->olderShadowRoot()) in detach()
218 ShadowRoot* root = youngestShadowRoot(); in hasSameStyles()
219 ShadowRoot* otherRoot = other->youngestShadowRoot(); in hasSameStyles()
261 for (ShadowRoot* root = youngestShadowRoot(); root; root = root->olderShadowRoot()) { in distribute()
[all …]
DInsertionPoint.cpp145 ShadowRoot* shadowRoot = containingShadowRoot(); in isActive()
191 if (ShadowRoot* root = containingShadowRoot()) { in childrenChanged()
200 if (ShadowRoot* root = containingShadowRoot()) { in insertedInto()
217 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.h35 class ShadowRoot; variable
43 explicit ShadowTreeStyleSheetCollection(ShadowRoot&);
DSelectorQuery.cpp337 static ShadowRoot* authorShadowRootOf(const ContainerNode& node) in authorShadowRootOf()
344 …for (ShadowRoot* shadowRoot = shadow->oldestShadowRoot(); shadowRoot; shadowRoot = shadowRoot->you… in authorShadowRootOf()
345 if (shadowRoot->type() == ShadowRoot::AuthorShadowRoot) in authorShadowRootOf()
353 if (ShadowRoot* shadowRoot = authorShadowRootOf(rootNode)) in firstWithinTraversingShadowTree()
360 if (ShadowRoot* shadowRoot = authorShadowRootOf(node)) in nextTraversingShadowTree()
371 ShadowRoot* shadowRoot = current->containingShadowRoot(); in nextTraversingShadowTree()
374 if (ShadowRoot* youngerShadowRoot = shadowRoot->youngerShadowRoot()) { in nextTraversingShadowTree()
376 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.cpp78 …for (ShadowRoot* shadow = node->youngestShadowRoot(); shadow; shadow = shadow->olderShadowRoot()) { in moveTreeToNewScope()
102 … for (ShadowRoot* shadow = node->youngestShadowRoot(); shadow; shadow = shadow->olderShadowRoot()) in moveTreeToNewDocument()
DElement.h62 class ShadowRoot; variable
316 PassRefPtrWillBeRawPtr<ShadowRoot> createShadowRoot(ExceptionState&);
317 ShadowRoot* shadowRoot() const;
318 ShadowRoot* youngestShadowRoot() const;
321 ShadowRoot* userAgentShadowRoot() const;
322 ShadowRoot& ensureUserAgentShadowRoot();
562 virtual void didAddUserAgentShadowRoot(ShadowRoot&) { } in didAddUserAgentShadowRoot() argument
/external/chromium_org/third_party/WebKit/Source/core/html/
DHTMLShadowElement.cpp54 ShadowRoot* HTMLShadowElement::olderShadowRoot() in olderShadowRoot()
56 ShadowRoot* containingRoot = containingShadowRoot(); in olderShadowRoot()
62 ShadowRoot* older = containingRoot->olderShadowRoot(); in olderShadowRoot()
74 ShadowRoot* root = containingShadowRoot(); in insertedInto()
DHTMLKeygenElement.cpp59 void HTMLKeygenElement::didAddUserAgentShadowRoot(ShadowRoot& root) in didAddUserAgentShadowRoot()
115 ShadowRoot* root = userAgentShadowRoot(); in shadowSelect()
DHTMLContentElement.cpp73 if (ShadowRoot* root = containingShadowRoot()) in parseAttribute()
101 …bled() || (containingShadowRoot() && containingShadowRoot()->type() == ShadowRoot::UserAgentShadow… in validateSelect()
DHTMLStyleElement.cpp88 if (ShadowRoot* scope = containingShadowRoot()) in insertedInto()
101 ShadowRoot* scopingNode = containingShadowRoot(); in removedFrom()
DHTMLShadowElement.h45 ShadowRoot* olderShadowRoot();
DHTMLSummaryElement.h41 virtual void didAddUserAgentShadowRoot(ShadowRoot&) OVERRIDE;
DHTMLDetailsElement.h47 virtual void didAddUserAgentShadowRoot(ShadowRoot&) OVERRIDE;
DHTMLKeygenElement.h61 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.cpp132 PassRefPtrWillBeRawPtr<ShadowRoot> createShadowRootForElementWithIDAndSetInnerHTML(TreeScope& scope… in createShadowRootForElementWithIDAndSetInnerHTML()
134 …RefPtrWillBeRawPtr<ShadowRoot> shadowRoot = scope.getElementById(AtomicString::fromUTF8(hostElemen… in createShadowRootForElementWithIDAndSetInnerHTML()
266 …RefPtrWillBeRawPtr<ShadowRoot> shadowRoot1 = createShadowRootForElementWithIDAndSetInnerHTML(docum… in TEST_F()
339 …RefPtrWillBeRawPtr<ShadowRoot> shadowRoot1 = createShadowRootForElementWithIDAndSetInnerHTML(docum… in TEST_F()
378 …RefPtrWillBeRawPtr<ShadowRoot> shadowRoot = createShadowRootForElementWithIDAndSetInnerHTML(docume… in TEST_F()
398 …RefPtrWillBeRawPtr<ShadowRoot> shadowRoot = createShadowRootForElementWithIDAndSetInnerHTML(docume… in TEST_F()
/external/chromium_org/third_party/WebKit/Source/core/testing/
DInternals.h72 class ShadowRoot; variable
98 ShadowRoot* shadowRoot(Element* host);
99 ShadowRoot* youngestShadowRoot(Element* host);
100 ShadowRoot* oldestShadowRoot(Element* host);
101 ShadowRoot* youngerShadowRoot(Node* shadow, ExceptionState&);
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DHitTestResult.cpp152 if (ShadowRoot* containingShadowRoot = node->containingShadowRoot()) { in setToShadowHostIfInUserAgentShadowRoot()
153 if (containingShadowRoot->type() == ShadowRoot::UserAgentShadowRoot) in setToShadowHostIfInUserAgentShadowRoot()
159 if (ShadowRoot* containingShadowRoot = node->containingShadowRoot()) { in setToShadowHostIfInUserAgentShadowRoot()
160 if (containingShadowRoot->type() == ShadowRoot::UserAgentShadowRoot) in setToShadowHostIfInUserAgentShadowRoot()

12345678