Home
last modified time | relevance | path

Searched refs:misspelledWord (Results 1 – 10 of 10) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/web/
DContextMenuClientImpl.cpp114 String misspelledWord = selectedFrame->selectedText().stripWhiteSpace(); in selectMisspelledWord() local
117 if (!misspelledWord.isEmpty()) { in selectMisspelledWord()
119 if (!isASingleWord(misspelledWord)) in selectMisspelledWord()
121 return misspelledWord; in selectMisspelledWord()
132 return misspelledWord; // It is empty. in selectMisspelledWord()
135 misspelledWord = selectedFrame->selectedText().stripWhiteSpace(); in selectMisspelledWord()
140 if (misspelledWord.isEmpty()) in selectMisspelledWord()
146 return misspelledWord; in selectMisspelledWord()
314 data.misspelledWord = selectMisspellingAsync(selectedFrame, marker); in showContextMenu()
322 …m_webView->spellCheckClient()->spellCheck(data.misspelledWord, misspelledOffset, misspelledLength,… in showContextMenu()
[all …]
DSpellCheckerClientImpl.cpp158 …ing SpellCheckerClientImpl::getAutoCorrectSuggestionForMisspelledWord(const String& misspelledWord) in getAutoCorrectSuggestionForMisspelledWord() argument
165 for (size_t i = 1; i < misspelledWord.length(); i++) { in getAutoCorrectSuggestionForMisspelledWord()
166 if (u_isupper(static_cast<UChar32>(misspelledWord[i]))) in getAutoCorrectSuggestionForMisspelledWord()
171 return m_webView->spellCheckClient()->autoCorrectWord(WebString(misspelledWord)); in getAutoCorrectSuggestionForMisspelledWord()
210 void SpellCheckerClientImpl::updateSpellingUIWithMisspelledWord(const String& misspelledWord) in updateSpellingUIWithMisspelledWord() argument
213 … m_webView->spellCheckClient()->updateSpellingUIWithMisspelledWord(WebString(misspelledWord)); in updateSpellingUIWithMisspelledWord()
/external/chromium_org/third_party/WebKit/Source/core/editing/
DSpellChecker.cpp218 String misspelledWord; in advanceToNextMisspelling() local
228 misspelledWord = foundItem; in advanceToNextMisspelling()
235misspelledWord = TextCheckingHelper(spellCheckerClient(), spellingSearchRange).findFirstMisspellin… in advanceToNextMisspelling()
237 if (!misspelledWord.isEmpty()) { in advanceToNextMisspelling()
250 if (startedWithSelection && !misspelledWord && !badGrammarPhrase) { in advanceToNextMisspelling()
259 misspelledWord = foundItem; in advanceToNextMisspelling()
266misspelledWord = TextCheckingHelper(spellCheckerClient(), spellingSearchRange).findFirstMisspellin… in advanceToNextMisspelling()
268 if (!misspelledWord.isEmpty()) { in advanceToNextMisspelling()
294 } else if (!misspelledWord.isEmpty()) { in advanceToNextMisspelling()
298 …ge = TextIterator::subrange(spellingSearchRange.get(), misspellingOffset, misspelledWord.length()); in advanceToNextMisspelling()
[all …]
DTextCheckingHelper.cpp295 String misspelledWord; in findFirstMisspellingOrBadGrammar() local
350misspelledWord = paragraphString.substring(result->location, result->length); in findFirstMisspellingOrBadGrammar()
351 ASSERT(misspelledWord.length()); in findFirstMisspellingOrBadGrammar()
378 …if (!misspelledWord.isEmpty() && (!checkGrammar || badGrammarPhrase.isEmpty() || spellingLocation … in findFirstMisspellingOrBadGrammar()
386 firstFoundItem = misspelledWord; in findFirstMisspellingOrBadGrammar()
/external/chromium_org/third_party/WebKit/Source/platform/text/
DTextCheckerClient.h45 virtual String getAutoCorrectSuggestionForMisspelledWord(const String& misspelledWord) = 0;
/external/chromium_org/third_party/WebKit/public/web/
DWebSpellCheckClient.h72 virtual WebString autoCorrectWord(const WebString& misspelledWord) { return WebString(); } in autoCorrectWord() argument
DWebContextMenuData.h121 WebString misspelledWord; member
/external/chromium/webkit/glue/
Dcontext_menu.cc35 misspelled_word(data.misspelledWord), in ContextMenuParams()
/external/chromium_org/content/renderer/
Dcontext_menu_params_builder.cc33 params.misspelled_word = data.misspelledWord; in Build()
/external/chromium_org/third_party/WebKit/Source/testing/runner/
DEventSender.cpp874 MockSpellCheck::fillSuggestionList(contextMenu->misspelledWord, &suggestions); in makeMenuItemStringsFor()