Home
last modified time | relevance | path

Searched refs:startContainer (Results 1 – 25 of 63) sorted by relevance

123

/external/webkit/Source/WebCore/dom/
DDocumentMarkerController.cpp67 addMarker(textPiece->startContainer(exception), marker); in addMarker()
81 …removeMarkers(textPiece->startContainer(), startOffset, endOffset - startOffset, markerTypes, shou… in removeMarkers()
327 Node* startContainer = range->startContainer(); in markersInRange() local
328 ASSERT(startContainer); in markersInRange()
339 … if (node == startContainer && it->endOffset <= static_cast<unsigned>(range->startOffset())) in markersInRange()
575 Node* startContainer = range->startContainer(ec); in setMarkersActive() local
580 int startOffset = node == startContainer ? range->startOffset(ec) : 0; in setMarkersActive()
622 Node* startContainer = range->startContainer(); in hasMarkers() local
623 ASSERT(startContainer); in hasMarkers()
634 … if (node == startContainer && it->endOffset <= static_cast<unsigned>(range->startOffset())) in hasMarkers()
[all …]
DRange.h45 …static PassRefPtr<Range> create(PassRefPtr<Document>, PassRefPtr<Node> startContainer, int startOf…
50 Node* startContainer() const { return m_start.container(); } in startContainer() function
55 Node* startContainer(ExceptionCode&) const;
139 …Range(PassRefPtr<Document>, PassRefPtr<Node> startContainer, int startOffset, PassRefPtr<Node> end…
DRange.cpp71 inline Range::Range(PassRefPtr<Document> ownerDocument, PassRefPtr<Node> startContainer, int startO… in Range() argument
85 setStart(startContainer, startOffset, ec); in Range()
91 PassRefPtr<Range> Range::create(PassRefPtr<Document> ownerDocument, PassRefPtr<Node> startContainer in create() argument
93 return adoptRef(new Range(ownerDocument, startContainer, startOffset, endContainer, endOffset)); in create()
122 Node* Range::startContainer(ExceptionCode& ec) const in startContainer() function in WebCore::Range
1588 return startContainer() ? startContainer()->shadowTreeRootNode() : 0; in shadowTreeRootNode()
1615 Node* startContainer = m_start.container(); in textRects() local
1618 if (!startContainer || !endContainer) in textRects()
1627 int startOffset = node == startContainer ? m_start.offset() : 0; in textRects()
1635 Node* startContainer = m_start.container(); in textQuads() local
[all …]
DRange.idl26 readonly attribute Node startContainer
/external/webkit/Source/WebCore/editing/
DTextIterator.cpp285 Node* startContainer = r->startContainer(); in TextIterator() local
286 if (!startContainer) in TextIterator()
297 m_startContainer = startContainer; in TextIterator()
1022 Node* node = textRange->startContainer(); in node()
1050 Node* startNode = r->startContainer(); in SimplifiedBackwardsTextIterator()
1279 Node* n = r->startContainer(); in range()
1358 return Range::create(start->startContainer()->document(), in characterSubrange()
1359 start->startContainer(), start->startOffset(), in characterSubrange()
1387 Node* n = r->startContainer(); in range()
2298 resultRange->setStart(textRunRange->startContainer(), 0, ec); in rangeFromLocationAndLength()
[all …]
DSpellingCorrectionController.cpp214 …ParagraphAsRange = Range::create(paragraphRangeContainingCorrection->startContainer(ec)->document(… in applyCorrectionPanelInfo()
237 DocumentMarkerController* markers = replacementRange->startContainer()->document()->markers(); in applyCorrectionPanelInfo()
342 …replacedRange->startContainer()->document()->markers()->addMarker(replacedRange, DocumentMarker::R… in handleCorrectionPanelResult()
442 …changedRange->startContainer()->document()->markers()->removeMarkers(changedRange.get(), DocumentM… in markReversed()
443 …changedRange->startContainer()->document()->markers()->addMarker(changedRange.get(), DocumentMarke… in markReversed()
449 DocumentMarkerController* markers = replacedRange->startContainer()->document()->markers(); in markCorrection()
463 DocumentMarkerController* markers = rangeOfCorrection->startContainer()->document()->markers(); in recordSpellcheckerResponseForModifiedCorrection()
DTextCheckingHelper.cpp116 …m_offsetAsRange = Range::create(paragraphRange()->startContainer(ec)->document(), paragraphRange()… in offsetAsRange()
209 …misspellingRange->startContainer(ec)->document()->markers()->addMarker(misspellingRange.get(), Doc… in findFirstMisspelling()
249 …RefPtr<Range> offsetAsRange = Range::create(paragraphRange->startContainer(ec)->document(), paragr… in findFirstMisspellingOrBadGrammar()
263 …RefPtr<Range> endOffsetAsRange = Range::create(paragraphRange->startContainer(ec)->document(), par… in findFirstMisspellingOrBadGrammar()
316 …RefPtr<Range> paragraphOffsetAsRange = Range::create(paragraphRange->startContainer(ec)->document(… in findFirstMisspellingOrBadGrammar()
327 …RefPtr<Range> paragraphOffsetAsRange = Range::create(paragraphRange->startContainer(ec)->document(… in findFirstMisspellingOrBadGrammar()
380 …badGrammarRange->startContainer(ec)->document()->markers()->addMarker(badGrammarRange.get(), Docum… in findFirstGrammarDetail()
DEditor.cpp258 Node* startContainer = range->startContainer(ec); in canDeleteRange() local
260 if (!startContainer || !endContainer) in canDeleteRange()
263 if (!startContainer->rendererIsEditable() || !endContainer->rendererIsEditable()) in canDeleteRange()
267 …VisiblePosition start(Position(startContainer, range->startOffset(ec), Position::PositionIsOffsetI… in canDeleteRange()
270 …previous.deepEquivalent().deprecatedNode()->rootEditableElement() != startContainer->rootEditableE… in canDeleteRange()
1771 … grammarSearchRange->setEnd(chars.range()->startContainer(ec), chars.range()->startOffset(ec), ec); in advanceToNextMisspelling()
1805 … grammarSearchRange->setEnd(chars.range()->startContainer(ec), chars.range()->startOffset(ec), ec); in advanceToNextMisspelling()
2064 Node* editableNode = searchRange->startContainer(); in markMisspellingsOrBadGrammar()
2130 Node* editableNode = spellingRange->startContainer(); in markAllMisspellingsAndBadGrammarInRanges()
2198 …misspellingRange->startContainer(ec)->document()->markers()->addMarker(misspellingRange.get(), Doc… in markAllMisspellingsAndBadGrammarInRanges()
[all …]
Dhtmlediting.cpp1095 Node* startContainer = range->startContainer(); in avoidIntersectionWithNode() local
1100 if (!startContainer) in avoidIntersectionWithNode()
1105 if (startContainer == node || startContainer->isDescendantOf(node)) { in avoidIntersectionWithNode()
1107 startContainer = node->parentNode(); in avoidIntersectionWithNode()
1116 return Range::create(document, startContainer, startOffset, endContainer, endOffset); in avoidIntersectionWithNode()
DSpellingCorrectionCommand.cpp77 : CompositeEditCommand(rangeToBeCorrected->startContainer()->document()) in SpellingCorrectionCommand()
DFormatBlockCommand.cpp111 Element* rootEditableElement = range->startContainer()->rootEditableElement(); in elementForFormatBlockCommand()
DSelectionController.cpp1434 Node* startContainer = range->startContainer(ec); in setSelectedRange() local
1442 ASSERT(startContainer); in setSelectedRange()
1444 ASSERT(startContainer->document() == endContainer->document()); in setSelectedRange()
1463 …VisiblePosition visibleStart(Position(startContainer, startOffset, Position::PositionIsOffsetInAnc… in setSelectedRange()
/external/webkit/Source/WebKit/chromium/src/
DWebRange.cpp69 WebNode WebRange::startContainer(int& exceptionCode) const in startContainer() function in WebKit::WebRange
71 return PassRefPtr<Node>(m_private->startContainer(exceptionCode)); in startContainer()
/external/webkit/Tools/DumpRenderTree/win/
DEditingDelegate.cpp108 COMPtr<IDOMNode> startContainer; in dump() local
109 if (FAILED(range->startContainer(&startContainer))) in dump()
117 …buffer), L"range from %ld of %s to %ld of %s", startOffset, dumpPath(startContainer.get()), endOff… in dump()
/external/webkit/Source/WebCore/page/
DDOMSelection.cpp455 …setBaseAndExtent(selectedRange->startContainer(ec), selectedRange->startOffset(ec), selectedRange-… in deleteFromDocument()
477 …= Range::compareBoundaryPoints(parentNode, nodeIndex, selectedRange->startContainer(ec), selectedR… in containsNode()
484 …|| (Range::compareBoundaryPoints(parentNode, nodeIndex + 1, selectedRange->startContainer(ec), sel… in containsNode()
/external/webkit/Source/WebCore/inspector/front-end/
DTextPrompt.js208 …var wordPrefixRange = selectionRange.startContainer.rangeOfWord(selectionRange.startOffset, this.c…
220 …fullWordRange.setStart(originalWordPrefixRange.startContainer, originalWordPrefixRange.startOffset…
321 var node = selectionRange.startContainer;
/external/webkit/LayoutTests/fast/dom/Selection/script-tests/
DgetRangeAt.js24 debug("startContainer: " + range.startContainer);
/external/webkit/Source/WebKit/chromium/public/
DWebRange.h67 WEBKIT_API WebNode startContainer(int& exceptionCode) const;
/external/webkit/Source/WebCore/loader/archive/cf/
DLegacyWebArchive.cpp463 Node* startContainer = range->startContainer(); in create() local
464 if (!startContainer) in create()
467 Document* document = startContainer->document(); in create()
/external/webkit/Source/WebKit/win/Interfaces/
DDOMRange.idl70 - (DOMNode *)startContainer;
72 HRESULT startContainer([out, retval] IDOMNode** node);
/external/webkit/Source/WebKit/qt/WebCoreSupport/
DDumpRenderTreeSupportQt.cpp573 …RefPtr<Range> testRange = Range::create(scope->document(), scope, 0, range->startContainer(), rang… in selectedRange()
574 ASSERT(testRange->startContainer() == scope); in selectedRange()
579 ASSERT(testRange->startContainer() == scope); in selectedRange()
938 QVariant startContainer = map.value(QLatin1String("startContainer")); in plainText() local
939 map = startContainer.toMap(); in plainText()
/external/webkit/Source/WebKit/gtk/WebCoreSupport/
DDumpRenderTreeSupportGtk.cpp587 …RefPtr<Range> testRange = Range::create(scope->document(), scope, 0, range->startContainer(), rang… in selectedRange()
588 ASSERT(testRange->startContainer() == scope); in selectedRange()
593 ASSERT(testRange->startContainer() == scope); in selectedRange()
/external/webkit/Source/WebKit/mac/WebView/
DWebFrame.mm641 Node *startNode = core([range startContainer]);
734 Node* startContainer = core([proposedRange startContainer]);
736 if (startContainer == nil || endContainer == nil)
739 ASSERT(startContainer->document() == endContainer->document());
743 Position start(startContainer, [proposedRange startOffset]);
1104 Node *startContainer = core([rangeToReplace startContainer]);
1107 Position startPos(startContainer, [rangeToReplace startOffset]);
1113 // this check also ensures startContainer, startPos, endContainer, and endPos are non-null
/external/webkit/Source/WebCore/platform/chromium/
DPasteboardChromium.cpp87 KURL url = selectedRange->startContainer(ec)->document()->url(); in writeSelection()
/external/webkit/Source/WebCore/platform/wince/
DPasteboardWinCE.cpp119 …eateMarkup(selectedRange, 0, AnnotateForInterchange), selectedRange->startContainer(ec)->document(… in writeSelection()

123