Home
last modified time | relevance | path

Searched refs:anchorType (Results 1 – 21 of 21) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/editing/
DMoveSelectionCommand.cpp50 …if (pos.anchorType() == Position::PositionIsOffsetInAnchor && selectionEnd.anchorType() == Positio… in doApply()
55 …if (selectionStart.anchorType() == Position::PositionIsOffsetInAnchor && selectionStart.containerN… in doApply()
DApplyStyleCommand.cpp1132 … ASSERT(s.anchorType() == Position::PositionIsBeforeAnchor || s.offsetInContainerNode() <= 0); in removeInlineStyle()
1139 …ASSERT(s.anchorType() == Position::PositionIsAfterAnchor || !offsetIsBeforeLastNodeOffset(s.offset… in removeInlineStyle()
1185 …if (end.anchorType() == Position::PositionIsOffsetInAnchor && start.containerNode() == end.contain… in splitTextAtStart()
1199 …bool shouldUpdateStart = start.anchorType() == Position::PositionIsOffsetInAnchor && start.contain… in splitTextAtEnd()
1254 if (position.anchorType() != Position::PositionIsOffsetInAnchor || !node->isTextNode()) in isValidCaretPositionInTextNode()
1543 … if (start.anchorType() == Position::PositionIsOffsetInAnchor && next == start.containerNode()) in joinChildTextNodes()
1545 if (end.anchorType() == Position::PositionIsOffsetInAnchor && next == end.containerNode()) in joinChildTextNodes()
DRenderedPosition.cpp43 switch (position.anchorType()) { in rendererFromPosition()
DInsertTextCommand.cpp195 ASSERT(startPosition.anchorType() == Position::PositionIsOffsetInAnchor); in doApply()
DReplaceSelectionCommand.cpp1277 if (endUpstream.anchorType() == Position::PositionIsOffsetInAnchor) { in addSpacesForSmartReplace()
1301 if (startDownstream.anchorType() == Position::PositionIsOffsetInAnchor) { in addSpacesForSmartReplace()
1356 bool positionIsOffsetInAnchor = position.anchorType() == Position::PositionIsOffsetInAnchor; in mergeTextNodesAroundPosition()
1357 …bool positionOnlyToBeUpdatedIsOffsetInAnchor = positionOnlyToBeUpdated.anchorType() == Position::P… in mergeTextNodesAroundPosition()
DApplyBlockElementCommand.cpp173 …if (position.anchorType() != Position::PositionIsOffsetInAnchor || !position.containerNode() || !p… in renderStyleOfEnclosingTextNode()
DInputMethodController.cpp319 if (base.anchorType() != Position::PositionIsOffsetInAnchor) in setCompositionFromExistingText()
DInsertParagraphSeparatorCommand.cpp356 …if (insertionPosition.anchorType() == Position::PositionIsOffsetInAnchor && insertionPosition.cont… in doApply()
DCompositeEditCommand.cpp440 …int offset = (position.anchorType() == Position::PositionIsOffsetInAnchor) ? position.offsetInCont… in updatePositionForNodeRemovalPreservingChildren()
555 switch (pos.anchorType()) { in positionOutsideTabSpan()
631 if (position.anchorType() != Position::PositionIsOffsetInAnchor || !node || !node->isTextNode()) in canRebalance()
DFrameSelection.cpp381 …if (!position.anchorNode() || position.anchorNode() != node || position.anchorType() != Position::… in updatePositionAfterAdoptingTextReplacement()
417 if (!position.anchorNode() || position.anchorType() != Position::PositionIsOffsetInAnchor) in updatePostionAfterAdoptingTextNodesMerged()
445 …if (!position.anchorNode() || position.anchorNode() != &oldNode || position.anchorType() != Positi… in updatePostionAfterAdoptingTextNodeSplit()
DVisibleUnits.cpp1110 Position::AnchorType type = p.anchorType(); in startOfParagraph()
1188 Position::AnchorType type = p.anchorType(); in endOfParagraph()
DVisiblePosition.cpp633 switch (pos.anchorType()) { in characterAfter()
DDeleteSelectionCommand.cpp407 …if (position.anchorType() != Position::PositionIsOffsetInAnchor || position.containerNode() != nod… in updatePositionForTextRemoval()
Dhtmlediting.cpp939 switch (position.anchorType()) { in updatePositionForNodeRemoval()
/external/chromium_org/third_party/WebKit/Source/core/dom/
DPosition.cpp92 Position::Position(PassRefPtr<Node> anchorNode, AnchorType anchorType) in Position() argument
95 , m_anchorType(anchorType) in Position()
100 ASSERT(anchorType != PositionIsOffsetInAnchor); in Position()
101 ASSERT(!((anchorType == PositionIsBeforeChildren || anchorType == PositionIsAfterChildren) in Position()
105 Position::Position(PassRefPtr<Node> anchorNode, int offset, AnchorType anchorType) in Position() argument
108 , m_anchorType(anchorType) in Position()
113 ASSERT(anchorType == PositionIsOffsetInAnchor); in Position()
128 ASSERT(anchorType() == PositionIsOffsetInAnchor || m_isLegacyEditingPosition); in moveToPosition()
136 ASSERT(anchorType() == PositionIsOffsetInAnchor || m_isLegacyEditingPosition); in moveToOffset()
147 switch (anchorType()) { in containerNode()
[all …]
DPosition.h92 AnchorType anchorType() const { return static_cast<AnchorType>(m_anchorType); } in anchorType() function
107 ASSERT(anchorType() == PositionIsOffsetInAnchor); in offsetInContainerNode()
235 … && a.deprecatedEditingOffset() == b.deprecatedEditingOffset() && a.anchorType() == b.anchorType();
/external/chromium_org/ui/webui/resources/js/cr/ui/
Dmenu_button.js53 this.anchorType = cr.ui.AnchorType.BELOW;
215 positionPopupAroundElement(this, this.menu, this.anchorType,
/external/chromium_org/chrome/browser/resources/chromeos/login/
Dapps_menu.js52 this.anchorType = cr.ui.AnchorType.ABOVE;
/external/chromium_org/chrome/browser/resources/ntp4/
Drecently_closed.js39 this.anchorType = cr.ui.AnchorType.ABOVE;
Dother_sessions.js65 this.anchorType = cr.ui.AnchorType.ABOVE;
/external/chromium_org/third_party/WebKit/Source/core/html/
DHTMLTextFormControlElement.cpp613 ASSERT(position.isNull() || position.anchorType() == Position::PositionIsOffsetInAnchor in enclosingTextFormControl()