Home
last modified time | relevance | path

Searched refs:shadowAncestor (Results 1 – 4 of 4) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/editing/
DVisibleSelection.cpp573 Node* shadowAncestor = endRoot ? endRoot->shadowHost() : 0; in adjustSelectionToAvoidCrossingEditingBoundaries() local
574 if (p.isNull() && shadowAncestor) in adjustSelectionToAvoidCrossingEditingBoundaries()
575 p = positionAfterNode(shadowAncestor); in adjustSelectionToAvoidCrossingEditingBoundaries()
578 shadowAncestor = root ? root->shadowHost() : 0; in adjustSelectionToAvoidCrossingEditingBoundaries()
580 if (p.isNull() && shadowAncestor) in adjustSelectionToAvoidCrossingEditingBoundaries()
581 p = positionAfterNode(shadowAncestor); in adjustSelectionToAvoidCrossingEditingBoundaries()
602 Node* shadowAncestor = startRoot ? startRoot->shadowHost() : 0; in adjustSelectionToAvoidCrossingEditingBoundaries() local
603 if (p.isNull() && shadowAncestor) in adjustSelectionToAvoidCrossingEditingBoundaries()
604 p = positionBeforeNode(shadowAncestor); in adjustSelectionToAvoidCrossingEditingBoundaries()
607 shadowAncestor = root ? root->shadowHost() : 0; in adjustSelectionToAvoidCrossingEditingBoundaries()
[all …]
Dhtmlediting.cpp268 Node* shadowAncestor = highestRoot->treeScope().ancestorInThisScope(p.deprecatedNode()); in firstEditablePositionAfterPositionInRoot() local
269 if (!shadowAncestor) in firstEditablePositionAfterPositionInRoot()
272 p = positionAfterNode(shadowAncestor); in firstEditablePositionAfterPositionInRoot()
293 Node* shadowAncestor = highestRoot->treeScope().ancestorInThisScope(p.deprecatedNode()); in lastEditablePositionBeforePositionInRoot() local
294 if (!shadowAncestor) in lastEditablePositionBeforePositionInRoot()
297 p = firstPositionInOrBeforeNode(shadowAncestor); in lastEditablePositionBeforePositionInRoot()
/external/chromium_org/third_party/WebKit/Source/core/page/
DDOMSelection.cpp380 if (Node* shadowAncestor = selectionShadowAncestor(m_frame)) { in getRangeAt() local
381 ASSERT(!shadowAncestor->isShadowRoot()); in getRangeAt()
382 ContainerNode* container = shadowAncestor->parentOrShadowHostNode(); in getRangeAt()
383 int offset = shadowAncestor->nodeIndex(); in getRangeAt()
384 return Range::create(shadowAncestor->document(), container, offset, container, offset); in getRangeAt()
/external/chromium_org/third_party/WebKit/Source/core/html/shadow/
DTextControlInnerElements.cpp126 Element* shadowAncestor = shadowHost(); in defaultEventHandler() local
132 if (shadowAncestor) in defaultEventHandler()
133 shadowAncestor->defaultEventHandler(event); in defaultEventHandler()