/external/chromium_org/third_party/WebKit/Source/core/dom/ |
D | RangeTest.cpp | 63 EXPECT_EQ(oldText, range04->startContainer()); in TEST_F() 69 EXPECT_EQ(oldText, range02->startContainer()); in TEST_F() 76 EXPECT_EQ(oldText, range22->startContainer()); in TEST_F() 82 EXPECT_EQ(oldText, range24->startContainer()); in TEST_F() 108 EXPECT_EQ(outer, rangeOuterOutside->startContainer()); in TEST_F() 114 EXPECT_EQ(outer, rangeOuterInside->startContainer()); in TEST_F() 120 EXPECT_EQ(outer, rangeOuterSurroundingText->startContainer()); in TEST_F() 126 EXPECT_EQ(innerLeft, rangeInnerLeft->startContainer()); in TEST_F() 132 EXPECT_EQ(innerRight, rangeInnerRight->startContainer()); in TEST_F() 138 EXPECT_EQ(newText, rangeFromTextToMiddleOfElement->startContainer()); in TEST_F()
|
D | DocumentMarkerController.cpp | 101 …addMarker(markedText.startContainer(), DocumentMarker(type, markedText.startOffset(), markedText.e… in addMarker() 109 …addMarker(markedText.startContainer(), DocumentMarker(type, markedText.startOffset(), markedText.e… in addMarker() 119 addMarker(markedText.startContainer(), DocumentMarker(startOffset, endOffset, activeMatch)); in addTextMatchMarker() 125 Node* node = markedText.startContainer(); in addTextMatchMarker() 146 …removeMarkers(markedText.startContainer(), startOffset, endOffset - startOffset, markerTypes, shou… in removeMarkers() 440 Node* startContainer = range->startContainer(); in markersInRange() local 441 ASSERT(startContainer); in markersInRange() 453 … if (node == startContainer && marker->endOffset() <= static_cast<unsigned>(range->startOffset())) in markersInRange() 673 Node* startContainer = range->startContainer(); in setMarkersActive() local 679 int startOffset = node == startContainer ? range->startOffset() : 0; in setMarkersActive() [all …]
|
D | Range.h | 54 …static PassRefPtrWillBeRawPtr<Range> create(Document&, Node* startContainer, int startOffset, Node… 59 Node* startContainer() const { return m_start.container(); } in startContainer() function 156 Range(Document&, Node* startContainer, int startOffset, Node* endContainer, int endOffset);
|
D | Range.cpp | 77 inline Range::Range(Document& ownerDocument, Node* startContainer, int startOffset, Node* endContai… in Range() argument 90 setStart(startContainer, startOffset); in Range() 94 PassRefPtrWillBeRawPtr<Range> Range::create(Document& ownerDocument, Node* startContainer, int star… in create() argument 96 …return adoptRefWillBeNoop(new Range(ownerDocument, startContainer, startOffset, endContainer, endO… in create() 1403 return startContainer() ? startContainer()->containingShadowRoot() : 0; in shadowRoot() 1428 Node* startContainer = m_start.container(); in textRects() local 1429 ASSERT(startContainer); in textRects() 1442 int startOffset = node == startContainer ? m_start.offset() : 0; in textRects() 1456 Node* startContainer = m_start.container(); in textQuads() local 1457 ASSERT(startContainer); in textQuads() [all …]
|
D | Range.idl | 28 readonly attribute Node startContainer;
|
/external/chromium_org/third_party/WebKit/Source/core/editing/ |
D | PlainTextRange.cpp | 89 resultRange->setStart(it.startContainer(), 0, ASSERT_NO_EXCEPTION); in createRangeFor() 90 resultRange->setEnd(it.startContainer(), 0, ASSERT_NO_EXCEPTION); in createRangeFor() 162 if (!range.startContainer()) in create() 170 if (range.startContainer() != &scope && !range.startContainer()->isDescendantOf(&scope)) in create() 175 …reate(scope.document(), const_cast<ContainerNode*>(&scope), 0, range.startContainer(), range.start… in create() 176 ASSERT(testRange->startContainer() == &scope); in create() 180 ASSERT(testRange->startContainer() == &scope); in create()
|
D | DOMSelection.cpp | 400 if (!newRange->startContainer()) { in addRange() 414 if (originalRange->startContainer()->document() != newRange->startContainer()->document()) { in addRange() 418 if (originalRange->startContainer()->treeScope() != newRange->startContainer()->treeScope()) { in addRange() 436 …awPtr<Range> merged = Range::create(originalRange->startContainer()->document(), start->startConta… in addRange() 457 …setBaseAndExtent(selectedRange->startContainer(), selectedRange->startOffset(), selectedRange->sta… in deleteFromDocument() 478 …= Range::compareBoundaryPoints(parentNode, nodeIndex, selectedRange->startContainer(), selectedRan… in containsNode() 486 …|| (Range::compareBoundaryPoints(parentNode, nodeIndex + 1, selectedRange->startContainer(), selec… in containsNode()
|
D | TextIterator.cpp | 309 Node* startContainer = start.containerNode(); in initialize() local 310 if (!startContainer) in initialize() 319 m_startContainer = startContainer; in initialize() 326 …const TreeScope* commonAncestorTreeScope = startContainer->treeScope().commonAncestorTreeScope(end… in initialize() 329 …for (const TreeScope* treeScope = &startContainer->treeScope(); treeScope != commonAncestorTreeSco… in initialize() 333 if (startContainer->offsetInCharacters()) in initialize() 334 m_node = startContainer; in initialize() 335 else if (Node* child = NodeTraversal::childAt(*startContainer, startOffset)) in initialize() 338 m_node = startContainer; in initialize() 340 m_node = NodeTraversal::nextSkippingChildren(*startContainer); in initialize() [all …]
|
D | TextIterator.h | 115 Node* startContainer() const; 260 Node* startContainer() const; 345 Node* startContainer() const;
|
D | SpellCheckRequester.cpp | 51 , m_rootEditableElement(m_checkingRange->startContainer()->rootEditableElement()) in SpellCheckRequest() 175 const Node* node = range->startContainer(); in isCheckable()
|
D | Editor.cpp | 253 Node* startContainer = range->startContainer(); in canDeleteRange() local 255 if (!startContainer || !endContainer) in canDeleteRange() 258 if (!startContainer->hasEditableStyle() || !endContainer->hasEditableStyle()) in canDeleteRange() 265 …previous.deepEquivalent().deprecatedNode()->rootEditableElement() != startContainer->rootEditableE… in canDeleteRange() 420 KURL url = selectedRange->startContainer()->document().url(); in writeSelectionToPasteboard() 1095 ASSERT(range->startContainer()); in firstRectForRange()
|
D | SpellChecker.cpp | 501 Node* editableNode = spellingRange->startContainer(); in markAllMisspellingsAndBadGrammarInRanges() 617 …misspellingRange->startContainer()->document().markers().addMarker(misspellingRange.get(), Documen… in markAndReplaceFor() 625 …badGrammarRange->startContainer()->document().markers().addMarker(badGrammarRange.get(), DocumentM… in markAndReplaceFor() 631 …invisibleSpellcheckRange->startContainer()->document().markers().addMarker(invisibleSpellcheckRang… in markAndReplaceFor() 764 …markerRange = Range::create(caretRange->ownerDocument(), caretRange->startContainer(), markers[0]-… in replaceMisspelledRange()
|
D | FormatBlockCommand.cpp | 117 Element* rootEditableElement = range->startContainer()->rootEditableElement(); in elementForFormatBlockCommand()
|
/external/chromium_org/third_party/WebKit/Source/web/tests/ |
D | TextFinderTest.cpp | 34 …static WebFloatRect findInPageRect(Node* startContainer, int startOffset, Node* endContainer, int … 61 WebFloatRect TextFinderTest::findInPageRect(Node* startContainer, int startOffset, Node* endContain… in findInPageRect() argument 63 …RefPtrWillBeRawPtr<Range> range = Range::create(startContainer->document(), startContainer, startO… in findInPageRect() 81 EXPECT_EQ(textNode, activeMatch->startContainer()); in TEST_F() 90 EXPECT_EQ(textNode, activeMatch->startContainer()); in TEST_F() 99 EXPECT_EQ(textNode, activeMatch->startContainer()); in TEST_F() 112 EXPECT_EQ(textNode, activeMatch->startContainer()); in TEST_F() 121 EXPECT_EQ(textNode, activeMatch->startContainer()); in TEST_F() 130 EXPECT_EQ(textNode, activeMatch->startContainer()); in TEST_F() 170 EXPECT_EQ(textInUElement, activeMatch->startContainer()); in TEST_F() [all …]
|
/external/chromium_org/third_party/WebKit/Source/web/ |
D | WebRange.cpp | 72 WebNode WebRange::startContainer(WebExceptionCode& exceptionCode) const in startContainer() function in blink::WebRange 75 RefPtrWillBeRawPtr<Node> node(m_private->startContainer()); in startContainer()
|
D | TextFinder.cpp | 445 if (!it->m_range->boundaryPointsValid() || !it->m_range->startContainer()->inDocument()) in updateFindMatchRects() 550 if (!range->boundaryPointsValid() || !range->startContainer()->inDocument()) in selectFindMatch()
|
D | ContextMenuClientImpl.cpp | 172 markerRange->setStart(markerRange->startContainer(), markers[0]->startOffset()); in selectMisspellingAsync()
|
/external/chromium_org/third_party/WebKit/public/web/ |
D | WebRange.h | 65 BLINK_EXPORT WebNode startContainer(int& exceptionCode) const;
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ui/ |
D | TextPrompt.js | 380 …var wordSuffixRange = selectionRange.startContainer.rangeOfWord(selectionRange.endOffset, this._co… 389 …var wordPrefixRange = selectionRange.startContainer.rangeOfWord(selectionRange.startOffset, this._… 454 …fullWordRange.setStart(originalWordPrefixRange.startContainer, originalWordPrefixRange.startOffset… 629 var node = selectionRange.startContainer;
|
D | ViewportControl.js | 284 …this._createSelectionModel(firstSelected, /** @type {!Node} */(range.startContainer), range.startO…
|
D | DOMExtension.js | 367 return selectionRange.startContainer.isSelfOrDescendant(this);
|
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/common/ |
D | traverse_content.js | 41 range.startContainer, range.startOffset, 42 cvox.TraverseUtil.getNodeText(range.startContainer));
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/components/ |
D | ExecutionContextSelector.js | 132 …var expressionRange = wordRange.startContainer.rangeOfWord(wordRange.startOffset, " =:[({;,!+-*/&|…
|
/external/chromium_org/ui/accessibility/extensions/caretbrowsing/ |
D | caretbrowsing.js | 578 range.startContainer != range.endContainer) { 590 new Cursor(range.startContainer, 592 TraverseUtil.getNodeText(range.startContainer))); 615 var elem = range.startContainer;
|
/external/chromium_org/third_party/WebKit/Source/web/mac/ |
D | WebSubstringUtil.mm | 74 Node* container = it.startContainer();
|