/external/chromium_org/third_party/WebKit/Source/core/editing/ |
D | VisiblePosition.cpp | 157 int caretMaxOffset = box->caretMaxOffset(); in leftVisuallyDistinctCandidate() local 159 if (offset > caretMinOffset && offset < caretMaxOffset) in leftVisuallyDistinctCandidate() 162 if (box->isLeftToRightDirection() ? offset < caretMinOffset : offset > caretMaxOffset) { in leftVisuallyDistinctCandidate() 196 … offset = primaryDirection == LTR ? box->caretMinOffset() : box->caretMaxOffset(); in leftVisuallyDistinctCandidate() 257 offset = primaryDirection == LTR ? box->caretMinOffset() : box->caretMaxOffset(); in leftVisuallyDistinctCandidate() 322 int caretMaxOffset = box->caretMaxOffset(); in rightVisuallyDistinctCandidate() local 324 if (offset > caretMinOffset && offset < caretMaxOffset) in rightVisuallyDistinctCandidate() 327 if (box->isLeftToRightDirection() ? offset > caretMaxOffset : offset < caretMinOffset) { in rightVisuallyDistinctCandidate() 361 … offset = primaryDirection == LTR ? box->caretMaxOffset() : box->caretMinOffset(); in rightVisuallyDistinctCandidate() 425 offset = primaryDirection == LTR ? box->caretMaxOffset() : box->caretMinOffset(); in rightVisuallyDistinctCandidate()
|
D | DeleteSelectionCommand.cpp | 464 if (startOffset >= caretMaxOffset(startNode) && startNode->isTextNode()) { in handleGeneralDelete() 466 if (text->length() > (unsigned)caretMaxOffset(startNode)) in handleGeneralDelete() 467 … deleteTextFromNode(text, caretMaxOffset(startNode), text->length() - caretMaxOffset(startNode)); in handleGeneralDelete() 528 …reamEnd.deprecatedNode() == n && m_downstreamEnd.deprecatedEditingOffset() >= caretMaxOffset(&n)) { in handleGeneralDelete()
|
D | InsertLineBreakCommand.cpp | 137 …} else if (pos.deprecatedEditingOffset() >= caretMaxOffset(pos.deprecatedNode()) || !pos.deprecate… in doApply()
|
D | htmlediting.h | 78 int caretMaxOffset(const Node*);
|
D | ApplyStyleCommand.cpp | 361 …if (startNode->isTextNode() && start.deprecatedEditingOffset() >= caretMaxOffset(startNode)) // Mo… in applyRelativeFontStyleChange() 677 if (start.deprecatedEditingOffset() >= caretMaxOffset(start.deprecatedNode())) { in fixRangeAndApplyInlineStyle() 684 if (end.deprecatedEditingOffset() >= caretMaxOffset(end.deprecatedNode())) in fixRangeAndApplyInlineStyle() 1257 return offsetInText > caretMinOffset(node) && offsetInText < caretMaxOffset(node); in isValidCaretPositionInTextNode()
|
D | InsertParagraphSeparatorCommand.cpp | 397 … if (splitTo->isTextNode() && insertionPosition.offsetInContainerNode() >= caretMaxOffset(splitTo)) in doApply()
|
D | VisibleUnits.cpp | 93 createLegacyEditingPosition(previousNode, caretMaxOffset(previousNode)); in previousRootInlineBoxCandidatePosition() 384 else if (offsetInBox == box->caretMaxOffset()) in visualWordPosition() 1230 offset = r->caretMaxOffset(); in endOfParagraph()
|
D | htmlediting.cpp | 982 int caretMaxOffset(const Node* n) in caretMaxOffset() function 986 return n->renderer()->caretMaxOffset(); in caretMaxOffset()
|
D | CompositeEditCommand.cpp | 375 else if (refChild->isTextNode() && caretMaxOffset(refChild) > offset) { in insertNodeAt() 573 if (pos.offsetInContainerNode() >= caretMaxOffset(pos.containerNode())) in positionOutsideTabSpan()
|
D | TextIterator.cpp | 924 int offset = caretMaxOffset(node); in maxOffsetIncludingCollapsedSpaces()
|
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
D | Position.cpp | 592 …itionIsAfterAnchor ? createLegacyEditingPosition(m_anchorNode.get(), caretMaxOffset(m_anchorNode.g… in upstream() 652 return createLegacyEditingPosition(currentNode, renderer->caretMaxOffset()); in upstream() 715 …itionIsAfterAnchor ? createLegacyEditingPosition(m_anchorNode.get(), caretMaxOffset(m_anchorNode.g… in downstream() 1023 …"node min/max: %d:%d\n", caretMinOffset(deprecatedNode()), caretMaxOffset(deprecatedNode… in rendersInDifferentPosition() 1024 … node min/max: %d:%d\n", caretMinOffset(pos.deprecatedNode()), caretMaxOffset(pos.deprecated… in rendersInDifferentPosition() 1036 && thisRenderedOffset == caretMaxOffset(deprecatedNode()) && !posRenderedOffset) { in rendersInDifferentPosition() 1041 && !thisRenderedOffset && posRenderedOffset == caretMaxOffset(pos.deprecatedNode())) { in rendersInDifferentPosition() 1172 …ineBox || (caretOffset > inlineBox->caretMinOffset() && caretOffset < inlineBox->caretMaxOffset())) in getInlineBoxAndOffset() 1183 int caretMaxOffset = box->caretMaxOffset(); in getInlineBoxAndOffset() local 1185 …if (caretOffset < caretMinOffset || caretOffset > caretMaxOffset || (caretOffset == caretMaxOffset… in getInlineBoxAndOffset() [all …]
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
D | RenderBR.cpp | 71 int RenderBR::caretMaxOffset() const in caretMaxOffset() function in WebCore::RenderBR
|
D | RenderBR.h | 52 virtual int caretMaxOffset() const;
|
D | InlineBox.h | 245 virtual int caretMaxOffset() const; 251 …etLeftmostOffset() const { return isLeftToRightDirection() ? caretMinOffset() : caretMaxOffset(); } in caretLeftmostOffset() 252 …int caretRightmostOffset() const { return isLeftToRightDirection() ? caretMaxOffset() : caretMinOf… in caretRightmostOffset()
|
D | InlineBox.cpp | 153 int InlineBox::caretMaxOffset() const in caretMaxOffset() function in WebCore::InlineBox 155 return m_renderer->caretMaxOffset(); in caretMaxOffset()
|
D | InlineTextBox.h | 154 virtual int caretMaxOffset() const OVERRIDE FINAL;
|
D | RenderText.h | 124 virtual int caretMaxOffset() const;
|
D | RenderText.cpp | 577 …box->isLeftToRightDirection() ? rightmostBox->caretMaxOffset() : rightmostBox->caretMinOffset(), s… in createPositionWithAffinityForBoxAfterAdjustingOffsetForBiDi() 608 …eftToRightDirection() ? leftmostBox->caretMinOffset() : leftmostBox->caretMaxOffset(), shouldAffin… in createPositionWithAffinityForBoxAfterAdjustingOffsetForBiDi() 1618 int RenderText::caretMaxOffset() const in caretMaxOffset() function in WebCore::RenderText
|
D | RenderReplaced.cpp | 537 return createPositionWithAffinity(caretMaxOffset(), DOWNSTREAM); // coordinates are below in positionForPoint()
|
D | RenderObject.h | 932 virtual int caretMaxOffset() const;
|
D | RenderBlock.cpp | 3270 … return createLegacyEditingPosition(nonPseudoNode(), start ? caretMinOffset() : caretMaxOffset()); in positionForBox() 3273 …)->nonPseudoNode(), start ? box->renderer()->caretMinOffset() : box->renderer()->caretMaxOffset()); in positionForBox() 3428 return createPositionWithAffinity(caretMaxOffset(), DOWNSTREAM); in positionForPoint() 3432 return createPositionWithAffinity(caretMaxOffset(), DOWNSTREAM); in positionForPoint()
|
D | InlineTextBox.cpp | 1391 int InlineTextBox::caretMaxOffset() const in caretMaxOffset() function in WebCore::InlineTextBox
|
D | RenderObject.cpp | 3103 int RenderObject::caretMaxOffset() const in caretMaxOffset() function in WebCore::RenderObject
|
/external/chromium_org/third_party/WebKit/Source/core/page/ |
D | DOMSelection.cpp | 355 … if (offset > (node->offsetInCharacters() ? caretMaxOffset(node) : (int)node->childNodeCount())) { in extend()
|