/external/webkit/Source/WebKit2/WebProcess/InjectedBundle/ |
D | InjectedBundlePageEditorClient.cpp | 57 …PageEditorClient::shouldInsertNode(WebPage* page, Node* node, Range* rangeToReplace, EditorInsertA… in shouldInsertNode() argument 61 …edBundleRangeHandle> rangeToReplaceHandle = InjectedBundleRangeHandle::getOrCreate(rangeToReplace); in shouldInsertNode() 67 …itorClient::shouldInsertText(WebPage* page, StringImpl* text, Range* rangeToReplace, EditorInsertA… in shouldInsertText() argument 70 …edBundleRangeHandle> rangeToReplaceHandle = InjectedBundleRangeHandle::getOrCreate(rangeToReplace); in shouldInsertText()
|
D | InjectedBundlePageEditorClient.h | 50 …bool shouldInsertNode(WebPage*, WebCore::Node*, WebCore::Range* rangeToReplace, WebCore::EditorIns… 51 …bool shouldInsertText(WebPage*, StringImpl*, WebCore::Range* rangeToReplace, WebCore::EditorInsert…
|
/external/webkit/Source/WebCore/platform/mac/ |
D | HTMLConverter.mm | 734 …NSRange rangeToReplace = (suppress && _flags.isSoft && (lastChar == ' ' || lastChar == NSLineSepar… 739 [_attrStr replaceCharactersInRange:rangeToReplace withString:string]; 740 …if (rangeToReplace.location < _domRangeStartIndex) _domRangeStartIndex += [string length] - rangeT… 741 rangeToReplace.length = [string length]; 744 …if (!_flags.isTesting && rangeToReplace.length > 0) [_attrStr setAttributes:attrs range:rangeToRep… 755 NSRange rangeToReplace = NSMakeRange(textLength, 0); 756 [_attrStr replaceCharactersInRange:rangeToReplace withString:string]; 757 rangeToReplace.length = [string length]; 758 if (rangeToReplace.location < _domRangeStartIndex) _domRangeStartIndex += rangeToReplace.length; 761 …if (!_flags.isTesting && rangeToReplace.length > 0) [_attrStr setAttributes:attrs range:rangeToRep… [all …]
|
/external/webkit/Tools/WebKitTestRunner/InjectedBundle/ |
D | InjectedBundlePage.h | 129 …tNode(WKBundlePageRef, WKBundleNodeHandleRef, WKBundleRangeHandleRef rangeToReplace, WKInsertActio… 130 …houldInsertText(WKBundlePageRef, WKStringRef, WKBundleRangeHandleRef rangeToReplace, WKInsertActio… 140 …bool shouldInsertNode(WKBundleNodeHandleRef, WKBundleRangeHandleRef rangeToReplace, WKInsertAction… 141 bool shouldInsertText(WKStringRef, WKBundleRangeHandleRef rangeToReplace, WKInsertActionType);
|
D | InjectedBundlePage.cpp | 840 …ndlePageRef page, WKBundleNodeHandleRef node, WKBundleRangeHandleRef rangeToReplace, WKInsertActio… in shouldInsertNode() argument 842 …njectedBundlePage*>(const_cast<void*>(clientInfo))->shouldInsertNode(node, rangeToReplace, action); in shouldInsertNode() 845 …tText(WKBundlePageRef page, WKStringRef text, WKBundleRangeHandleRef rangeToReplace, WKInsertActio… in shouldInsertText() argument 847 …njectedBundlePage*>(const_cast<void*>(clientInfo))->shouldInsertText(text, rangeToReplace, action); in shouldInsertText() 905 …:shouldInsertNode(WKBundleNodeHandleRef node, WKBundleRangeHandleRef rangeToReplace, WKInsertActio… in shouldInsertNode() argument 917 …et(), node) << " replacingDOMRange:" << toStr(m_page, m_world.get(), rangeToReplace) << " givenAct… in shouldInsertNode() 921 bool InjectedBundlePage::shouldInsertText(WKStringRef text, WKBundleRangeHandleRef rangeToReplace, … in shouldInsertText() argument 933 …t:" << text << " replacingDOMRange:" << toStr(m_page, m_world.get(), rangeToReplace) << " givenAct… in shouldInsertText()
|
/external/webkit/Source/WebKit2/WebProcess/WebCoreSupport/ |
D | WebEditorClient.cpp | 136 bool WebEditorClient::shouldInsertNode(Node* node, Range* rangeToReplace, EditorInsertAction action) in shouldInsertNode() argument 138 …sult = m_page->injectedBundleEditorClient().shouldInsertNode(m_page, node, rangeToReplace, action); in shouldInsertNode() 143 bool WebEditorClient::shouldInsertText(const String& text, Range* rangeToReplace, EditorInsertActio… in shouldInsertText() argument 145 …m_page->injectedBundleEditorClient().shouldInsertText(m_page, text.impl(), rangeToReplace, action); in shouldInsertText()
|
/external/webkit/Source/WebCore/editing/ |
D | SpellingCorrectionController.h | 92 …void show(PassRefPtr<Range> rangeToReplace, const String& replacement) UNLESS_ENABLED({ UNUSED_PAR…
|
D | SpellingCorrectionController.cpp | 154 void SpellingCorrectionController::show(PassRefPtr<Range> rangeToReplace, const String& replacement) in show() argument 156 FloatRect boundingBox = windowRectForRange(rangeToReplace.get()); in show() 159 m_correctionPanelInfo.replacedString = plainText(rangeToReplace.get()); in show() 160 m_correctionPanelInfo.rangeToBeReplaced = rangeToReplace; in show()
|
D | Editor.cpp | 2228 RefPtr<Range> rangeToReplace = spellingParagraph.subrange(resultLocation, resultLength); in markAllMisspellingsAndBadGrammarInRanges() local 2229 VisibleSelection selectionToReplace(rangeToReplace.get(), DOWNSTREAM); in markAllMisspellingsAndBadGrammarInRanges() 2239 replacedString = plainText(rangeToReplace.get()); in markAllMisspellingsAndBadGrammarInRanges() 2241 if (markers->hasMarkers(rangeToReplace.get(), DocumentMarker::Replacement)) { in markAllMisspellingsAndBadGrammarInRanges() 2243 …m_spellingCorrector->recordSpellcheckerResponseForModifiedCorrection(rangeToReplace.get(), replace… in markAllMisspellingsAndBadGrammarInRanges() 2244 … } else if (markers->hasMarkers(rangeToReplace.get(), DocumentMarker::RejectedCorrection)) in markAllMisspellingsAndBadGrammarInRanges() 2256 m_spellingCorrector->show(rangeToReplace, result->replacement); in markAllMisspellingsAndBadGrammarInRanges() 2274 …} else if (canEdit() && shouldInsertText(result->replacement, rangeToReplace.get(), EditorInsertAc… in markAllMisspellingsAndBadGrammarInRanges() 2276 … applyCommand(SpellingCorrectionCommand::create(rangeToReplace, result->replacement)); in markAllMisspellingsAndBadGrammarInRanges()
|
/external/webkit/Source/WebKit/mac/WebView/ |
D | WebFramePrivate.h | 122 - (void)_smartInsertForString:(NSString *)pasteString replacingRange:(DOMRange *)rangeToReplace bef…
|
D | WebFrame.mm | 1095 - (void)_smartInsertForString:(NSString *)pasteString replacingRange:(DOMRange *)rangeToReplace bef… 1104 Node *startContainer = core([rangeToReplace startContainer]); 1105 Node *endContainer = core([rangeToReplace endContainer]); 1107 Position startPos(startContainer, [rangeToReplace startOffset]); 1108 Position endPos(endContainer, [rangeToReplace endOffset]);
|
D | WebHTMLView.mm | 1774 - (void)_smartInsertForString:(NSString *)pasteString replacingRange:(DOMRange *)rangeToReplace bef… 1776 if (!pasteString || !rangeToReplace || ![[self _webView] smartInsertDeleteEnabled]) { 1784 …[[self _frame] _smartInsertForString:pasteString replacingRange:rangeToReplace beforeString:before…
|
/external/webkit/Source/WebKit2/WebProcess/InjectedBundle/API/c/ |
D | WKBundlePage.h | 198 …ndlePageRef page, WKBundleNodeHandleRef node, WKBundleRangeHandleRef rangeToReplace, WKInsertActio… 199 …ck)(WKBundlePageRef page, WKStringRef string, WKBundleRangeHandleRef rangeToReplace, WKInsertActio…
|