/external/chromium_org/third_party/WebKit/Source/core/editing/ |
D | VisiblePosition.cpp | 156 int caretMinOffset = box->caretMinOffset(); 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() 321 int caretMinOffset = box->caretMinOffset(); 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 | InsertLineBreakCommand.cpp | 127 } else if (pos.deprecatedEditingOffset() <= caretMinOffset(pos.deprecatedNode())) { in doApply()
|
D | htmlediting.h | 77 int caretMinOffset(const Node*);
|
D | htmlediting.cpp | 973 int caretMinOffset(const Node* n) in caretMinOffset() function 977 return r ? r->caretMinOffset() : 0; in caretMinOffset()
|
D | TypingCommand.cpp | 539 ….containerNode()) && downstreamEnd.computeOffsetInContainerNode() <= caretMinOffset(downstreamEnd.… in forwardDeleteKeyPressed()
|
D | CompositeEditCommand.cpp | 373 } else if (caretMinOffset(refChild) >= offset) in insertNodeAt() 570 if (pos.offsetInContainerNode() <= caretMinOffset(pos.containerNode())) in positionOutsideTabSpan()
|
D | VisibleUnits.cpp | 115 pos = createLegacyEditingPosition(nextNode, caretMinOffset(nextNode)); in nextRootInlineBoxCandidatePosition() 382 if (offsetInBox == box->caretMinOffset()) in visualWordPosition()
|
D | DeleteSelectionCommand.cpp | 537 …reamEnd.inDocument() && m_downstreamEnd.deprecatedEditingOffset() >= caretMinOffset(m_downstreamEn… in handleGeneralDelete()
|
D | ApplyStyleCommand.cpp | 1257 return offsetInText > caretMinOffset(node) && offsetInText < caretMaxOffset(node); in isValidCaretPositionInTextNode()
|
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
D | Position.cpp | 767 if (currentPos.offsetInLeafNode() <= renderer->caretMinOffset()) in downstream() 768 return createLegacyEditingPosition(currentNode, renderer->caretMinOffset()); in downstream() 776 return createLegacyEditingPosition(currentNode, renderer->caretMinOffset()); in downstream() 1023 …WTF_LOG(Editing, "node min/max: %d:%d\n", caretMinOffset(deprecatedNode()), caretMaxOffs… in rendersInDifferentPosition() 1024 …WTF_LOG(Editing, "pos node min/max: %d:%d\n", caretMinOffset(pos.deprecatedNode()), caretMax… in rendersInDifferentPosition() 1116 int caretMinOffset = box->caretMinOffset(); in searchAheadForBetterMatch() local 1117 if (caretMinOffset < minOffset) { in searchAheadForBetterMatch() 1119 minOffset = caretMinOffset; in searchAheadForBetterMatch() 1172 …if (!inlineBox || (caretOffset > inlineBox->caretMinOffset() && caretOffset < inlineBox->caretMaxO… in getInlineBoxAndOffset() 1182 int caretMinOffset = box->caretMinOffset(); in getInlineBoxAndOffset() local [all …]
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
D | RenderBR.cpp | 66 int RenderBR::caretMinOffset() const in caretMinOffset() function in WebCore::RenderBR
|
D | RenderBR.h | 51 virtual int caretMinOffset() const;
|
D | InlineBox.h | 244 virtual int caretMinOffset() const; 251 …int caretLeftmostOffset() const { return isLeftToRightDirection() ? caretMinOffset() : caretMaxOff… in caretLeftmostOffset() 252 …tRightmostOffset() const { return isLeftToRightDirection() ? caretMaxOffset() : caretMinOffset(); } in caretRightmostOffset()
|
D | InlineBox.cpp | 148 int InlineBox::caretMinOffset() const in caretMinOffset() function in WebCore::InlineBox 150 return m_renderer->caretMinOffset(); in caretMinOffset()
|
D | InlineTextBox.h | 153 virtual int caretMinOffset() const OVERRIDE FINAL;
|
D | RenderText.h | 123 virtual int caretMinOffset() const;
|
D | RenderText.cpp | 533 affinity = offset > box->caretMinOffset() ? VP_UPSTREAM_IF_POSSIBLE : DOWNSTREAM; in createPositionWithAffinityForBox() 577 …tToRightDirection() ? rightmostBox->caretMaxOffset() : rightmostBox->caretMinOffset(), shouldAffin… in createPositionWithAffinityForBoxAfterAdjustingOffsetForBiDi() 608 …box->isLeftToRightDirection() ? leftmostBox->caretMinOffset() : leftmostBox->caretMaxOffset(), sho… in createPositionWithAffinityForBoxAfterAdjustingOffsetForBiDi() 1607 int RenderText::caretMinOffset() const in caretMinOffset() function in WebCore::RenderText
|
D | RenderReplaced.cpp | 534 return createPositionWithAffinity(caretMinOffset(), DOWNSTREAM); // coordinates are above in positionForPoint()
|
D | RenderObject.h | 931 virtual int caretMinOffset() const;
|
D | RenderBlock.cpp | 3270 … return createLegacyEditingPosition(nonPseudoNode(), start ? caretMinOffset() : caretMaxOffset()); in positionForBox() 3273 …gPosition(box->renderer()->nonPseudoNode(), start ? box->renderer()->caretMinOffset() : box->rende… in positionForBox() 3426 return createPositionWithAffinity(caretMinOffset(), DOWNSTREAM); in positionForPoint() 3430 return createPositionWithAffinity(caretMinOffset(), DOWNSTREAM); in positionForPoint()
|
D | RenderObject.cpp | 2758 return createPositionWithAffinity(caretMinOffset(), DOWNSTREAM); in positionForPoint() 3098 int RenderObject::caretMinOffset() const in caretMinOffset() function in WebCore::RenderObject
|
D | InlineTextBox.cpp | 1386 int InlineTextBox::caretMinOffset() const in caretMinOffset() function in WebCore::InlineTextBox
|