/external/chromium_org/third_party/WebKit/Source/core/editing/ |
D | DOMSelection.cpp | 451 RefPtrWillBeRawPtr<Range> selectedRange = selection.selection().toNormalizedRange(); in deleteFromDocument() local 452 if (!selectedRange) in deleteFromDocument() 455 selectedRange->deleteContents(ASSERT_NO_EXCEPTION); in deleteFromDocument() 457 …setBaseAndExtent(selectedRange->startContainer(), selectedRange->startOffset(), selectedRange->sta… in deleteFromDocument() 471 RefPtrWillBeRawPtr<Range> selectedRange = selection.selection().toNormalizedRange(); in containsNode() local 478 … Range::compareBoundaryPoints(parentNode, nodeIndex, selectedRange->startContainer(), selectedRang… in containsNode() 479 …nge::compareBoundaryPoints(parentNode, nodeIndex + 1, selectedRange->endContainer(), selectedRange… in containsNode() 485 … (Range::compareBoundaryPoints(parentNode, nodeIndex, selectedRange->endContainer(), selectedRange… in containsNode() 486 …ge::compareBoundaryPoints(parentNode, nodeIndex + 1, selectedRange->startContainer(), selectedRang… in containsNode()
|
D | htmlediting.cpp | 555 RefPtrWillBeRawPtr<Range> selectedRange = Range::create(document); in createRange() local 556 …selectedRange->setStart(start.deepEquivalent().containerNode(), start.deepEquivalent().computeOffs… in createRange() 558 …selectedRange->setEnd(end.deepEquivalent().containerNode(), end.deepEquivalent().computeOffsetInCo… in createRange() 559 return selectedRange.release(); in createRange() 1146 bool isNodeVisiblyContainedWithin(Node& node, const Range& selectedRange) in isNodeVisiblyContainedWithin() argument 1149 if (selectedRange.compareNode(&node, IGNORE_EXCEPTION) == Range::NODE_INSIDE) in isNodeVisiblyContainedWithin() 1152 …bool startIsVisuallySame = visiblePositionBeforeNode(node) == VisiblePosition(selectedRange.startP… in isNodeVisiblyContainedWithin() 1153 …if (startIsVisuallySame && comparePositions(positionInParentAfterNode(node), selectedRange.endPosi… in isNodeVisiblyContainedWithin() 1156 …bool endIsVisuallySame = visiblePositionAfterNode(node) == VisiblePosition(selectedRange.endPositi… in isNodeVisiblyContainedWithin() 1157 …if (endIsVisuallySame && comparePositions(selectedRange.startPosition(), positionInParentBeforeNod… in isNodeVisiblyContainedWithin()
|
D | Editor.cpp | 302 addToKillRing(selectedRange().get(), false); in deleteWithDirection() 390 RefPtrWillBeRawPtr<Range> range = selectedRange(); in pasteWithPasteboard() 417 void Editor::writeSelectionToPasteboard(Pasteboard* pasteboard, Range* selectedRange, const String&… in writeSelectionToPasteboard() argument 419 … String html = createMarkup(selectedRange, 0, AnnotateForInterchange, false, ResolveNonLocalURLs); in writeSelectionToPasteboard() 420 KURL url = selectedRange->startContainer()->document().url(); in writeSelectionToPasteboard() 527 …replaceSelectionWithFragment(createFragmentFromText(selectedRange().get(), text), selectReplacemen… in replaceSelectionWithText() 530 PassRefPtrWillBeRawPtr<Range> Editor::selectedRange() in selectedRange() function in blink::Editor 830 RefPtrWillBeRawPtr<Range> selection = selectedRange(); in cut() 858 …writeSelectionToPasteboard(Pasteboard::generalPasteboard(), selectedRange().get(), frame().selecte… in copy() 892 addToKillRing(selectedRange().get(), false); in performDelete()
|
D | SpellChecker.cpp | 159 if (RefPtrWillBeRawPtr<Range> selectedRange = frame().selection().toNormalizedRange()) in ignoreSpelling() local 160 frame().document()->markers().removeMarkers(selectedRange.get(), DocumentMarker::Spelling); in ignoreSpelling() 341 RefPtrWillBeRawPtr<Range> selectedRange = movingSelection.toNormalizedRange(); in clearMisspellingsAndBadGrammar() local 342 if (selectedRange) in clearMisspellingsAndBadGrammar() 343 …frame().document()->markers().removeMarkers(selectedRange.get(), DocumentMarker::MisspellingMarker… in clearMisspellingsAndBadGrammar()
|
D | InputMethodController.cpp | 312 …RefPtrWillBeRawPtr<Range> selectedRange = Range::create(baseNode->document(), baseNode, start, bas… in setComposition() local 313 …frame().selection().setSelectedRange(selectedRange.get(), DOWNSTREAM, FrameSelection::NonDirection… in setComposition()
|
D | Editor.h | 194 PassRefPtrWillBeRawPtr<Range> selectedRange();
|
D | EditorCommand.cpp | 402 …election().setSelectedRange(unionDOMRanges(mark.get(), frame.editor().selectedRange().get()).get()… in executeDeleteToMark() 1049 RefPtrWillBeRawPtr<Range> selection = frame.editor().selectedRange(); in executeSelectToMark()
|
/external/chromium_org/chrome/browser/ui/cocoa/find_bar/ |
D | find_bar_cocoa_controller.h | 86 selectedRange:(const NSRange&)selectedRange; 88 - (NSRange)selectedRange;
|
D | find_bar_cocoa_controller_unittest.mm | 88 [controller_ setFindText:kFindText selectedRange:NSMakeRange(NSNotFound, 0)]; 118 [controller_ setFindText:kFindText selectedRange:NSMakeRange(NSNotFound, 0)]; 130 [controller_ setFindText:kFindText selectedRange:NSMakeRange(NSNotFound, 0)];
|
D | find_bar_bridge.mm | 60 selectedRange:selected_range.ToNSRange()]; 68 return gfx::Range([cocoa_controller_ selectedRange]);
|
D | find_bar_cocoa_controller.mm | 337 selectedRange:(const NSRange&)selectedRange { 348 if (selectedRange.location != NSNotFound) 349 [editor setSelectedRange:selectedRange]; 356 - (NSRange)selectedRange { method 358 return (editor != nil) ? [editor selectedRange] : NSMakeRange(NSNotFound, 0); 591 [self setFindText:text selectedRange:NSMakeRange(NSNotFound, 0)];
|
/external/chromium_org/ui/views/cocoa/ |
D | bridged_native_widget_unittest.mm | 352 selectedRange:NSMakeRange(0, 2) 357 EXPECT_EQ_RANGE(NSMakeRange(kTestString.size(), 2), [ns_view_ selectedRange]); 364 EXPECT_EQ_RANGE(NSMakeRange(GetText().size(), 0), [ns_view_ selectedRange]); 370 EXPECT_EQ_RANGE(NSMakeRange(3, 0), [ns_view_ selectedRange]); 374 EXPECT_EQ_RANGE(NSMakeRange(3, 0), [ns_view_ selectedRange]); 378 EXPECT_EQ_RANGE(NSMakeRange(2, 0), [ns_view_ selectedRange]); 382 EXPECT_EQ_RANGE(NSMakeRange(3, 0), [ns_view_ selectedRange]); 388 EXPECT_EQ_RANGE(NSMakeRange(1, 0), [ns_view_ selectedRange]); 393 EXPECT_EQ_RANGE(NSMakeRange(0, 0), [ns_view_ selectedRange]); 398 EXPECT_EQ_RANGE(NSMakeRange(0, 0), [ns_view_ selectedRange]); [all …]
|
D | bridged_content_view.mm | 185 [self selectedRange].length > 0; 278 - (NSRange)selectedRange { method 288 selectedRange:(NSRange)selectedRange 297 composition.selection = gfx::Range(selectedRange);
|
/external/chromium_org/chrome/browser/ui/cocoa/location_bar/ |
D | autocomplete_text_field_unittest.mm | 392 EXPECT_TRUE(NSEqualRanges(allRange, [[field_ currentEditor] selectedRange])); 407 [[field_ currentEditor] selectedRange])); 427 EXPECT_TRUE(NSEqualRanges(allRange, [[field_ currentEditor] selectedRange])); 442 [[field_ currentEditor] selectedRange])); 462 const NSRange selectedRange([[field_ currentEditor] selectedRange]); 463 EXPECT_EQ(selectedRange.location, 0U); 464 EXPECT_EQ(selectedRange.length, [[field_ stringValue] length]); 478 const NSRange selectedRange([[field_ currentEditor] selectedRange]); 479 EXPECT_EQ(selectedRange.location, 0U); 480 EXPECT_EQ(selectedRange.length, [[field_ stringValue] length]); [all …]
|
D | autocomplete_text_field_editor.mm | 393 - (void)setMarkedText:(id)aString selectedRange:(NSRange)selRange { 394 [super setMarkedText:aString selectedRange:selRange]; 512 return [self selectedRange].length > 0; 529 NSRange selectedRange = [self selectedRange]; 530 if (selectedRange.length == 0) 533 [self attributedSubstringForProposedRange:selectedRange
|
D | autocomplete_text_field.mm | 134 ![editor selectedRange].length &&
|
/external/chromium_org/third_party/WebKit/Source/core/clipboard/ |
D | DataTransfer.cpp | 352 void DataTransfer::writeRange(Range* selectedRange, LocalFrame* frame) in writeRange() argument 354 ASSERT(selectedRange); in writeRange() 358 …m_dataObject->setHTMLAndBaseURL(createMarkup(selectedRange, 0, AnnotateForInterchange, false, Reso… in writeRange()
|
/external/chromium_org/content/browser/renderer_host/ |
D | render_widget_host_view_mac_dictionary_helper.mm | 23 NSRange selection_range = [view_->cocoa_view() selectedRange];
|
D | render_widget_host_view_mac.h | 159 @property(nonatomic, readonly) NSRange selectedRange;
|
D | render_widget_host_view_mac.mm | 152 @property(nonatomic, assign) NSRange selectedRange; 1667 @synthesize selectedRange = selectedRange_; 2993 - (void)setMarkedText:(id)string selectedRange:(NSRange)newSelRange
|
/external/chromium_org/chrome/browser/ui/cocoa/ |
D | styled_text_field.mm | 52 [editor scrollRangeToVisible:[editor selectedRange]];
|
/external/chromium_org/third_party/WebKit/Source/web/ |
D | WebViewImpl.cpp | 2442 RefPtrWillBeRawPtr<Range> selectedRange = selection.toNormalizedRange(); in selectionBounds() local 2443 if (!selectedRange) in selectionBounds() 2446 RefPtrWillBeRawPtr<Range> range(Range::create(selectedRange->startContainer()->document(), in selectionBounds() 2447 selectedRange->startContainer(), in selectionBounds() 2448 selectedRange->startOffset(), in selectionBounds() 2449 selectedRange->startContainer(), in selectionBounds() 2450 selectedRange->startOffset())); in selectionBounds() 2453 range = Range::create(selectedRange->endContainer()->document(), in selectionBounds() 2454 selectedRange->endContainer(), in selectionBounds() 2455 selectedRange->endOffset(), in selectionBounds() [all …]
|
/external/chromium_org/chrome/browser/ui/cocoa/omnibox/ |
D | omnibox_view_mac.mm | 275 return [[field_ currentEditor] selectedRange]; 387 if (NSMaxRange([editor selectedRange]) < [[editor textStorage] length]) 391 model()->StartAutocomplete([editor selectedRange].length != 0, 917 const NSRange selectedRange = GetSelectedRange(); 918 if ([editor shouldChangeTextInRange:selectedRange replacementString:s]) { 927 [editor replaceCharactersInRange:selectedRange withString:s];
|
/external/chromium_org/chrome/browser/ui/cocoa/autofill/ |
D | autofill_textfield.mm | 90 NSRange selectionRange = [textView selectedRange];
|
/external/deqp/framework/randomshaders/ |
D | rsgExpression.cpp | 871 …ConstValueRangeAccess selectedRange = state.getRandom().choose<const ValueEntry*>(first, end)->get… in AssignOp() local 873 ValueRange::computeIntersection(m_valueRange, m_valueRange, selectedRange); in AssignOp()
|