/external/webkit/Source/WebCore/page/ |
D | DOMSelection.cpp | 447 RefPtr<Range> selectedRange = selection->selection().toNormalizedRange(); in deleteFromDocument() local 448 if (!selectedRange) in deleteFromDocument() 452 selectedRange->deleteContents(ec); in deleteFromDocument() 455 …setBaseAndExtent(selectedRange->startContainer(ec), selectedRange->startOffset(ec), selectedRange-… in deleteFromDocument() 471 RefPtr<Range> selectedRange = selection->selection().toNormalizedRange(); in containsNode() local 477 …Range::compareBoundaryPoints(parentNode, nodeIndex, selectedRange->startContainer(ec), selectedRan… in containsNode() 478 …ge::compareBoundaryPoints(parentNode, nodeIndex + 1, selectedRange->endContainer(ec), selectedRang… in containsNode() 483 …(Range::compareBoundaryPoints(parentNode, nodeIndex, selectedRange->endContainer(ec), selectedRang… in containsNode() 484 …e::compareBoundaryPoints(parentNode, nodeIndex + 1, selectedRange->startContainer(ec), selectedRan… in containsNode()
|
D | ContextMenuController.cpp | 321 RefPtr<Range> selectedRange = frame->selection()->toNormalizedRange(); in contextMenuItemSelected() local 322 if (!selectedRange || selectedRange->collapsed(ec)) { in contextMenuItemSelected() 324 selectedRange = document->createRange(); in contextMenuItemSelected() 325 selectedRange->selectNode(document->documentElement(), ec); in contextMenuItemSelected() 327 m_client->speak(plainText(selectedRange.get())); in contextMenuItemSelected()
|
/external/chromium/chrome/browser/ui/cocoa/location_bar/ |
D | autocomplete_text_field_unittest.mm | 362 EXPECT_TRUE(NSEqualRanges(allRange, [[field_ currentEditor] selectedRange])); 377 [[field_ currentEditor] selectedRange])); 397 EXPECT_TRUE(NSEqualRanges(allRange, [[field_ currentEditor] selectedRange])); 412 [[field_ currentEditor] selectedRange])); 432 const NSRange selectedRange([[field_ currentEditor] selectedRange]); 433 EXPECT_EQ(selectedRange.location, 0U); 434 EXPECT_EQ(selectedRange.length, [[field_ stringValue] length]); 448 const NSRange selectedRange([[field_ currentEditor] selectedRange]); 449 EXPECT_EQ(selectedRange.location, 0U); 450 EXPECT_EQ(selectedRange.length, [[field_ stringValue] length]); [all …]
|
/external/webkit/Examples/NetscapeInputMethodPlugin/ |
D | main.m | 55 NSRange selectedRange; field 153 obj->selectedRange.location = [obj->textStorage length]; 252 NSRect *rectArray = [obj->layoutManager rectArrayForCharacterRange:obj->selectedRange 253 withinSelectedCharacterRange:obj->selectedRange 315 if (obj->selectedRange.location > 0) { 316 obj->selectedRange.location--; 322 if (obj->selectedRange.location < [obj->textStorage length]) { 323 obj->selectedRange.location++; 339 NSRange range = obj->selectedRange; 343 obj->selectedRange.location = range.location + [string length]; [all …]
|
/external/webkit/Source/WebCore/platform/android/ |
D | ClipboardAndroid.cpp | 106 void ClipboardAndroid::writeRange(Range* selectedRange, Frame*) in writeRange() argument 108 ASSERT(selectedRange); in writeRange()
|
/external/webkit/Source/WebCore/platform/brew/ |
D | ClipboardBrew.cpp | 108 void ClipboardBrew::writeRange(Range* selectedRange, Frame*) in writeRange() argument 110 ASSERT(selectedRange); in writeRange()
|
D | PasteboardBrew.cpp | 55 void Pasteboard::writeSelection(Range* selectedRange, bool canSmartCopyOrDelete, Frame* frame) in writeSelection() argument
|
/external/webkit/Source/WebCore/platform/chromium/ |
D | PasteboardChromium.cpp | 83 void Pasteboard::writeSelection(Range* selectedRange, bool canSmartCopyOrDelete, Frame* frame) in writeSelection() argument 85 String html = createMarkup(selectedRange, 0, AnnotateForInterchange, false, AbsoluteURLs); in writeSelection() 87 KURL url = selectedRange->startContainer(ec)->document()->url(); in writeSelection()
|
D | ClipboardChromium.cpp | 308 void ClipboardChromium::writeRange(Range* selectedRange, Frame* frame) in writeRange() argument 310 ASSERT(selectedRange); in writeRange() 314 …m_dataObject->setData(mimeTypeTextHTML, createMarkup(selectedRange, 0, AnnotateForInterchange, fal… in writeRange()
|
/external/webkit/Source/WebCore/editing/ |
D | htmlediting.cpp | 553 RefPtr<Range> selectedRange = Range::create(document); in createRange() local 554 …selectedRange->setStart(start.deepEquivalent().containerNode(), start.deepEquivalent().computeOffs… in createRange() 556 …selectedRange->setEnd(end.deepEquivalent().containerNode(), end.deepEquivalent().computeOffsetInCo… in createRange() 557 return selectedRange.release(); in createRange() 1060 bool isNodeVisiblyContainedWithin(Node* node, const Range* selectedRange) in isNodeVisiblyContainedWithin() argument 1063 ASSERT(selectedRange); in isNodeVisiblyContainedWithin() 1066 if (selectedRange->compareNode(node, ec) == Range::NODE_INSIDE) in isNodeVisiblyContainedWithin() 1069 bool startIsVisuallySame = visiblePositionBeforeNode(node) == selectedRange->startPosition(); in isNodeVisiblyContainedWithin() 1070 …if (startIsVisuallySame && comparePositions(positionInParentAfterNode(node), selectedRange->endPos… in isNodeVisiblyContainedWithin() 1073 bool endIsVisuallySame = visiblePositionAfterNode(node) == selectedRange->endPosition(); in isNodeVisiblyContainedWithin() [all …]
|
D | Editor.cpp | 302 addToKillRing(selectedRange().get(), false); in deleteWithDirection() 368 … if (client() && client()->shouldInsertText(text, selectedRange().get(), EditorInsertActionPasted)) in pasteAsPlainTextWithPasteboard() 375 RefPtr<Range> range = selectedRange(); in pasteWithPasteboard() 424 …replaceSelectionWithFragment(createFragmentFromText(selectedRange().get(), text), selectReplacemen… in replaceSelectionWithText() 427 PassRefPtr<Range> Editor::selectedRange() in selectedRange() function in WebCore::Editor 479 pasteboard->writeSelection(selectedRange().get(), canSmartCopyOrDelete(), m_frame); in writeSelectionToPasteboard() 1173 RefPtr<Range> selection = selectedRange(); in cut() 1201 …Pasteboard::generalPasteboard()->writeSelection(selectedRange().get(), canSmartCopyOrDelete(), m_f… in copy() 1241 addToKillRing(selectedRange().get(), false); in performDelete() 1635 …RefPtr<Range> selectedRange = Range::create(baseNode->document(), baseNode, start, baseNode, end);… in setComposition() local [all …]
|
/external/webkit/Source/WebCore/platform/wince/ |
D | PasteboardWinCE.cpp | 111 void Pasteboard::writeSelection(Range* selectedRange, bool canSmartCopyOrDelete, Frame* frame) in writeSelection() argument 119 …markupToCF_HTML(createMarkup(selectedRange, 0, AnnotateForInterchange), selectedRange->startContai… in writeSelection()
|
/external/webkit/Source/WebCore/platform/gtk/ |
D | PasteboardGtk.cpp | 66 void Pasteboard::writeSelection(Range* selectedRange, bool canSmartCopyOrDelete, Frame* frame) in writeSelection() argument 71 …dataObject->setMarkup(createMarkup(selectedRange, 0, AnnotateForInterchange, false, AbsoluteURLs)); in writeSelection()
|
/external/webkit/Source/WebCore/platform/mac/ |
D | PasteboardMac.mm | 131 …eSelection(NSPasteboard* pasteboard, NSArray* pasteboardTypes, Range* selectedRange, bool canSmart… 135 ASSERT(selectedRange); 142 Node* commonAncestor = selectedRange->commonAncestorContainer(ec); 145 …& comparePositions(firstPositionInOrBeforeNode(selectedRange->startPosition().anchorNode()), selec… 146 selectedRange->setStart(enclosingAnchor, 0, ec); 151 …attributedString = [[[NSAttributedString alloc] _initWithDOMRange:kit(selectedRange)] autorelease]; 155 …inPtr<WebHTMLConverter> converter = [[WebHTMLConverter alloc] initWithDOMRange:kit(selectedRange)]; 227 void Pasteboard::writeSelection(Range* selectedRange, bool canSmartCopyOrDelete, Frame* frame) 229 Pasteboard::writeSelection(m_pasteboard.get(), 0, selectedRange, canSmartCopyOrDelete, frame);
|
/external/webkit/Source/WebCore/platform/win/ |
D | PasteboardWin.cpp | 117 void Pasteboard::writeSelection(Range* selectedRange, bool canSmartCopyOrDelete, Frame* frame) in writeSelection() argument 125 markupToCFHTML(createMarkup(selectedRange, 0, AnnotateForInterchange), in writeSelection() 126 selectedRange->startContainer(ec)->document()->url().string(), data); in writeSelection()
|
/external/webkit/Tools/DumpRenderTree/qt/ |
D | TextInputControllerQt.cpp | 150 QVariantList TextInputController::selectedRange() in selectedRange() function in TextInputController 152 return DumpRenderTreeSupportQt::selectedRange(qobject_cast<QWebPage*>(parent())); in selectedRange()
|
D | TextInputControllerQt.h | 49 QVariantList selectedRange();
|
/external/webkit/Source/WebCore/platform/haiku/ |
D | PasteboardHaiku.cpp | 86 void Pasteboard::writeSelection(Range* selectedRange, bool canSmartCopyOrDelete, Frame* frame) in writeSelection() argument 105 … BString markupString(createMarkup(selectedRange, 0, AnnotateForInterchange, false, AbsoluteURLs)); in writeSelection()
|
/external/webkit/Source/WebCore/platform/qt/ |
D | PasteboardQt.cpp | 60 void Pasteboard::writeSelection(Range* selectedRange, bool canSmartCopyOrDelete, Frame* frame) in writeSelection() argument 67 QString markup = createMarkup(selectedRange, 0, AnnotateForInterchange, false, AbsoluteURLs); in writeSelection()
|
/external/webkit/Source/WebCore/platform/efl/ |
D | PasteboardEfl.cpp | 54 void Pasteboard::writeSelection(Range* selectedRange, bool canSmartCopyOrDelete, Frame* frame) in writeSelection() argument
|
/external/webkit/Tools/DumpRenderTree/chromium/ |
D | TextInputController.cpp | 65 bindMethod("selectedRange", &TextInputController::selectedRange); in TextInputController() 165 void TextInputController::selectedRange(const CppArgumentList&, CppVariant* result) in selectedRange() function in TextInputController
|
D | TextInputController.h | 59 void selectedRange(const CppArgumentList&, CppVariant*);
|
/external/webkit/Source/WebKit/chromium/src/ |
D | WebViewImpl.cpp | 1446 RefPtr<Range> selectedRange = frame->selection()->toNormalizedRange(); in selectionRange() local 1447 RefPtr<Range> range(Range::create(selectedRange->startContainer()->document(), in selectionRange() 1448 selectedRange->startContainer(), in selectionRange() 1449 selectedRange->startOffset(), in selectionRange() 1450 selectedRange->startContainer(), in selectionRange() 1451 selectedRange->startOffset())); in selectionRange() 1457 range = Range::create(selectedRange->endContainer()->document(), in selectionRange() 1458 selectedRange->endContainer(), in selectionRange() 1459 selectedRange->endOffset(), in selectionRange() 1460 selectedRange->endContainer(), in selectionRange() [all …]
|
/external/webkit/Source/WebCore/platform/wx/ |
D | PasteboardWx.cpp | 53 void Pasteboard::writeSelection(Range* selectedRange, bool canSmartCopyOrDelete, Frame* frame) in writeSelection() argument
|
/external/webkit/Tools/DumpRenderTree/mac/ |
D | TextInputController.m | 168 || aSelector == @selector(selectedRange) 246 [textInput setMarkedText:aString selectedRange:NSMakeRange(from, length)]; 311 - (NSArray *)selectedRange 316 NSRange range = [textInput selectedRange];
|