Searched defs:misspelledWord (Results 1 - 11 of 11) sorted by relevance

/external/webkit/Source/WebKit/chromium/public/
H A DWebSpellCheckClient.h60 virtual WebString autoCorrectWord(const WebString& misspelledWord) { return WebString(); } argument
H A DWebContextMenuData.h112 WebString misspelledWord; member in struct:WebKit::WebContextMenuData
114 // If misspelledWord is not empty, holds suggestions from the dictionary.
/external/webkit/Source/WebKit/chromium/src/
H A DContextMenuClientImpl.cpp106 String misspelledWord = selectedFrame->editor()->selectedText().stripWhiteSpace(); local
109 if (!misspelledWord.isEmpty()) {
111 if (!isASingleWord(misspelledWord))
113 return misspelledWord;
124 return misspelledWord; // It is empty.
127 misspelledWord = selectedFrame->editor()->selectedText().stripWhiteSpace();
132 if (misspelledWord.isEmpty())
138 return misspelledWord;
261 data.misspelledWord = selectMisspelledWord(defaultMenu, selectedFrame);
265 data.misspelledWord, misspelledOffse
[all...]
H A DEditorClientImpl.cpp881 String EditorClientImpl::getAutoCorrectSuggestionForMisspelledWord(const String& misspelledWord) argument
888 for (size_t i = 1; i < misspelledWord.length(); i++) {
889 if (u_isupper(static_cast<UChar32>(misspelledWord[i])))
894 return m_webView->spellCheckClient()->autoCorrectWord(WebString(misspelledWord));
916 void EditorClientImpl::updateSpellingUIWithMisspelledWord(const String& misspelledWord) argument
919 m_webView->spellCheckClient()->updateSpellingUIWithMisspelledWord(WebString(misspelledWord));
/external/webkit/Source/WebKit2/UIProcess/win/
H A DTextCheckerWin.cpp115 void TextChecker::updateSpellingUIWithMisspelledWord(int64_t spellDocumentTag, const String& misspelledWord) argument
117 WebTextChecker::shared()->client().updateSpellingUIWithMisspelledWord(spellDocumentTag, misspelledWord);
H A DWebTextCheckerClient.cpp132 void WebTextCheckerClient::updateSpellingUIWithMisspelledWord(uint64_t tag, const String& misspelledWord) argument
137 m_client.updateSpellingUIWithMisspelledWord(tag, toAPI(misspelledWord.impl()), m_client.clientInfo);
/external/webkit/Source/WebKit/haiku/WebCoreSupport/
H A DEditorClientHaiku.cpp436 String EditorClientHaiku::getAutoCorrectSuggestionForMisspelledWord(const String& misspelledWord) argument
/external/webkit/Source/WebCore/editing/
H A DTextCheckingHelper.cpp229 String misspelledWord; local
285 misspelledWord = paragraphString.substring(result->location, result->length);
286 ASSERT(misspelledWord.length());
313 if (!misspelledWord.isEmpty() && (!checkGrammar || badGrammarPhrase.isEmpty() || spellingLocation <= grammarDetailLocation)) {
321 firstFoundItem = misspelledWord;
533 String misspelledWord = paragraph.checkingSubstring(); local
534 ASSERT(misspelledWord.length());
535 m_client->textChecker()->getGuessesForWord(misspelledWord, String(), guesses);
536 m_client->updateSpellingUIWithMisspelledWord(misspelledWord);
H A DEditor.cpp1746 String misspelledWord; local
1754 misspelledWord = foundItem;
1762 misspelledWord = TextCheckingHelper(client(), spellingSearchRange).findFirstMisspelling(misspellingOffset, false, firstMisspellingRange);
1767 if (!misspelledWord.isEmpty()) {
1781 if (startedWithSelection && !misspelledWord && !badGrammarPhrase) {
1790 misspelledWord = foundItem;
1797 misspelledWord = TextCheckingHelper(client(), spellingSearchRange).findFirstMisspelling(misspellingOffset, false, firstMisspellingRange);
1801 if (!misspelledWord.isEmpty()) {
1830 } else if (!misspelledWord.isEmpty()) {
1834 RefPtr<Range> misspellingRange = TextIterator::subrange(spellingSearchRange.get(), misspellingOffset, misspelledWord
[all...]
/external/webkit/Source/WebKit2/WebProcess/WebCoreSupport/
H A DWebEditorClient.cpp421 void WebEditorClient::updateSpellingUIWithMisspelledWord(const String& misspelledWord) argument
423 m_page->send(Messages::WebPageProxy::UpdateSpellingUIWithMisspelledWord(misspelledWord));
/external/webkit/Source/WebKit2/UIProcess/
H A DWebPageProxy.cpp2480 void WebPageProxy::updateSpellingUIWithMisspelledWord(const String& misspelledWord) argument
2482 TextChecker::updateSpellingUIWithMisspelledWord(spellDocumentTag(), misspelledWord); local

Completed in 296 milliseconds