Home
last modified time | relevance | path

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

/external/webkit/Source/WebCore/editing/
DMoveSelectionCommand.cpp50 …if (pos.anchorType() == Position::PositionIsOffsetInAnchor && selectionEnd.anchorType() == Positio… in doApply()
55 …if (selectionStart.anchorType() == Position::PositionIsOffsetInAnchor && selectionStart.containerN… in doApply()
DApplyBlockElementCommand.cpp151 if (position.anchorType() != Position::PositionIsOffsetInAnchor) in isNewLineAtPosition()
169 if (position.anchorType() != Position::PositionIsOffsetInAnchor in renderStyleOfEnclosingTextNode()
258 …if (start.anchorType() == Position::PositionIsOffsetInAnchor && containerNode.get() == start.conta… in endOfNextParagrahSplittingTextNodesIfNeeded()
262 …if (end.anchorType() == Position::PositionIsOffsetInAnchor && containerNode.get() == end.container… in endOfNextParagrahSplittingTextNodesIfNeeded()
266 …if (m_endOfLastParagraph.anchorType() == Position::PositionIsOffsetInAnchor && containerNode.get()… in endOfNextParagrahSplittingTextNodesIfNeeded()
DInsertTextCommand.cpp82 ASSERT(start.anchorType() == Position::PositionIsOffsetInAnchor); in performTrivialReplace()
83 ASSERT(end.anchorType() == Position::PositionIsOffsetInAnchor); in performTrivialReplace()
163 ASSERT(startPosition.anchorType() == Position::PositionIsOffsetInAnchor); in input()
DApplyStyleCommand.cpp1073 … ASSERT(s.anchorType() == Position::PositionIsBeforeAnchor || s.offsetInContainerNode() <= 0); in removeInlineStyle()
1080 ASSERT(s.anchorType() == Position::PositionIsAfterAnchor in removeInlineStyle()
1121 ASSERT(start.anchorType() == Position::PositionIsOffsetInAnchor); in splitTextAtStart()
1124 …if (end.anchorType() == Position::PositionIsOffsetInAnchor && start.containerNode() == end.contain… in splitTextAtStart()
1136 ASSERT(end.anchorType() == Position::PositionIsOffsetInAnchor); in splitTextAtEnd()
1138 …bool shouldUpdateStart = start.anchorType() == Position::PositionIsOffsetInAnchor && start.contain… in splitTextAtEnd()
1150 ASSERT(start.anchorType() == Position::PositionIsOffsetInAnchor); in splitTextElementAtStart()
1153 …if (end.anchorType() == Position::PositionIsOffsetInAnchor && start.containerNode() == end.contain… in splitTextElementAtStart()
1165 ASSERT(end.anchorType() == Position::PositionIsOffsetInAnchor); in splitTextElementAtEnd()
1167 …bool shouldUpdateStart = start.anchorType() == Position::PositionIsOffsetInAnchor && start.contain… in splitTextElementAtEnd()
[all …]
DVisiblePosition.cpp544 if (!node || !node->isTextNode() || pos.anchorType() == Position::PositionIsAfterAnchor) in characterAfter()
546 …ASSERT(pos.anchorType() == Position::PositionIsBeforeAnchor || pos.anchorType() == Position::Posit… in characterAfter()
548 …unsigned offset = pos.anchorType() == Position::PositionIsOffsetInAnchor ? pos.offsetInContainerNo… in characterAfter()
DInsertParagraphSeparatorCommand.cpp369 if (insertionPosition.anchorType() == Position::PositionIsOffsetInAnchor) in doApply()
DDeleteSelectionCommand.cpp320 switch (position.anchorType()) { in updatePositionForNodeRemoval()
410 …if (position.anchorType() != Position::PositionIsOffsetInAnchor || position.containerNode() != nod… in updatePositionForTextRemoval()
DCompositeEditCommand.cpp348 if (pos.anchorType() == Position::PositionIsAfterAnchor) in positionOutsideTabSpan()
350 if (pos.anchorType() == Position::PositionIsBeforeAnchor) in positionOutsideTabSpan()
416 if (position.anchorType() != Position::PositionIsOffsetInAnchor || !node || !node->isTextNode()) in canRebalance()
DReplaceSelectionCommand.cpp1324 ASSERT(start.anchorType() == Position::PositionIsOffsetInAnchor); in performTrivialReplace()
1325 ASSERT(end.anchorType() == Position::PositionIsOffsetInAnchor); in performTrivialReplace()
DSpellingCorrectionController.cpp383 if (position.anchorType() != Position::PositionIsOffsetInAnchor) in respondToChangedSelection()
Dvisible_units.cpp759 Position::AnchorType type = p.anchorType(); in startOfParagraph()
831 Position::AnchorType type = p.anchorType(); in endOfParagraph()
DSelectionController.cpp284 …if (!position.anchorNode() || position.anchorNode() != node || position.anchorType() != Position::… in shouldRemovePositionAfterAdoptingTextReplacement()
1470 ASSERT(start().isNull() || start().anchorType() == Position::PositionIsOffsetInAnchor in isInPasswordField()
/external/webkit/Source/WebCore/dom/
DPosition.h75 AnchorType anchorType() const { return static_cast<AnchorType>(m_anchorType); } in anchorType() function
88 ASSERT(anchorType() == PositionIsOffsetInAnchor); in offsetInContainerNode()
200 … && a.deprecatedEditingOffset() == b.deprecatedEditingOffset() && a.anchorType() == b.anchorType();
DPosition.cpp82 Position::Position(PassRefPtr<Node> anchorNode, AnchorType anchorType) in Position() argument
85 , m_anchorType(anchorType) in Position()
88 ASSERT(anchorType != PositionIsOffsetInAnchor); in Position()
91 Position::Position(PassRefPtr<Node> anchorNode, int offset, AnchorType anchorType) in Position() argument
94 , m_anchorType(anchorType) in Position()
98 ASSERT(anchorType == PositionIsOffsetInAnchor); in Position()
104 ASSERT(anchorType() == PositionIsOffsetInAnchor || m_isLegacyEditingPosition); in moveToPosition()
112 ASSERT(anchorType() == PositionIsOffsetInAnchor || m_isLegacyEditingPosition); in moveToOffset()
123 switch (anchorType()) { in containerNode()
139 switch (anchorType()) { in computeOffsetInContainerNode()
[all …]
/external/chromium-trace/src/shared/js/cr/ui/
Dmenu_button.js42 this.anchorType = cr.ui.AnchorType.BELOW;
158 positionPopupAroundElement(this, this.menu, this.anchorType,
/external/webkit/Source/WebCore/
DChangeLog-2010-01-2982972 …Because m_anchorType : 2 is treated as a signed integer by cl.exe, anchorType() wasn't returning t…
82973 We made m_anchorType unsigned so that anchorType() returns the correct value.
82976 (WebCore::Position::anchorType): statically cast to AnchorType
DChangeLog-2009-06-1614595 (WebCore::Position::anchorType):
23765 (WebCore::Position::anchorType):