HomeSort by relevance Sort by last modified time
    Searched defs:shadowRoot (Results 1 - 11 of 11) sorted by null

  /external/chromium_org/third_party/WebKit/Source/core/editing/
TextIteratorTest.cpp 39 #include "core/dom/shadow/ShadowRoot.h"
120 PassRefPtr<ShadowRoot> createShadowRootForElementWithIDAndSetInnerHTML(TreeScope& scope, const char* hostElementID, const char* shadowRootContent)
122 RefPtr<ShadowRoot> shadowRoot = scope.getElementById(AtomicString::fromUTF8(hostElementID))->createShadowRoot(ASSERT_NO_EXCEPTION);
123 shadowRoot->setInnerHTML(String::fromUTF8(shadowRootContent), ASSERT_NO_EXCEPTION);
124 return shadowRoot.release();
254 RefPtr<ShadowRoot> shadowRoot1 = createShadowRootForElementWithIDAndSetInnerHTML(document(), "host-in-document", shadowContent1);
327 RefPtr<ShadowRoot> shadowRoot1 = createShadowRootForElementWithIDAndSetInnerHTML(document(), "host-in-document", shadowContent1);
htmlediting.cpp 38 #include "core/dom/shadow/ShadowRoot.h"
    [all...]
TextIterator.cpp 34 #include "core/dom/shadow/ShadowRoot.h"
374 ShadowRoot* youngestShadowRoot = toElement(m_node)->shadowRoot();
375 ASSERT(youngestShadowRoot->type() == ShadowRoot::AuthorShadowRoot);
389 ShadowRoot* userAgentShadowRoot = toElement(m_node)->userAgentShadowRoot();
390 ASSERT(userAgentShadowRoot->type() == ShadowRoot::UserAgentShadowRoot);
454 ShadowRoot* shadowRoot = toShadowRoot(m_node);
455 if (shadowRoot->type() == ShadowRoot::AuthorShadowRoot)
    [all...]
  /external/chromium_org/third_party/WebKit/Source/web/
WebElement.cpp 38 #include "core/dom/shadow/ShadowRoot.h"
116 WebNode WebElement::shadowRoot() const
118 ShadowRoot* shadowRoot = constUnwrap<Element>()->shadowRoot();
119 if (!shadowRoot)
121 return WebNode(shadowRoot->toNode());
  /external/chromium_org/third_party/WebKit/Source/core/dom/shadow/
ElementShadow.cpp 140 ShadowRoot& ElementShadow::addShadowRoot(Element& shadowHost, ShadowRoot::ShadowRootType type)
142 RefPtr<ShadowRoot> shadowRoot = ShadowRoot::create(&shadowHost.document(), type);
144 for (ShadowRoot* root = youngestShadowRoot(); root; root = root->olderShadowRoot())
147 shadowRoot->setParentOrShadowHostNode(&shadowHost);
148 shadowRoot->setParentTreeScope(&shadowHost.treeScope());
149 m_shadowRoots.push(shadowRoot.get());
150 ChildNodeInsertionNotifier(shadowHost).notify(*shadowRoot);
    [all...]
  /external/chromium_org/third_party/WebKit/Source/web/tests/
TouchActionTest.cpp 46 #include "core/dom/shadow/ShadowRoot.h"
153 WebCore::ShadowRoot* shadowRoot = WebCore::toElement(hostNodes->item(index))->shadowRoot();
154 runTestOnTree(shadowRoot, webView, client);
WebViewTest.cpp     [all...]
  /external/chromium_org/third_party/WebKit/Source/core/html/forms/
TextFieldInputType.cpp 41 #include "core/dom/shadow/ShadowRoot.h"
295 ShadowRoot* shadowRoot = element().userAgentShadowRoot();
296 ASSERT(!shadowRoot->hasChildNodes());
305 shadowRoot->appendChild(innerEditor.release());
311 shadowRoot->appendChild(container);
  /external/chromium_org/third_party/WebKit/Source/core/page/
FocusController.cpp 39 #include "core/dom/shadow/ShadowRoot.h"
82 ShadowRoot* shadowRoot = toShadowRoot(root);
83 return shadowRoot->isYoungest() ? shadowRoot->host() : shadowRoot->shadowInsertionPointOfYoungerShadowRoot();
96 // The result is not always a ShadowRoot nor a DocumentNode since
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/dom/
Range.cpp     [all...]
  /external/chromium_org/third_party/WebKit/Source/core/testing/
Internals.cpp 68 #include "core/dom/shadow/ShadowRoot.h"
599 ShadowRoot* Internals::ensureShadowRoot(Element* host, ExceptionState& exceptionState)
612 ShadowRoot* Internals::shadowRoot(Element* host, ExceptionState& exceptionState)
614 // FIXME: Internals::shadowRoot() in tests should be converted to youngestShadowRoot() or oldestShadowRoot().
619 ShadowRoot* Internals::youngestShadowRoot(Element* host, ExceptionState& exceptionState)
631 ShadowRoot* Internals::oldestShadowRoot(Element* host, ExceptionState& exceptionState)
643 ShadowRoot* Internals::youngerShadowRoot(Node* shadow, ExceptionState& exceptionState)
653 ShadowRoot* Internals::olderShadowRoot(Node* shadow, ExceptionState& exceptionState)
671 case ShadowRoot::UserAgentShadowRoot
    [all...]

Completed in 290 milliseconds