Searched refs:misspelledWord (Results 1 - 9 of 9) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/platform/text/
H A DTextCheckerClient.h45 virtual String getAutoCorrectSuggestionForMisspelledWord(const String& misspelledWord) = 0;
/external/chromium_org/third_party/WebKit/Source/web/
H A DSpellCheckerClientImpl.cpp164 String SpellCheckerClientImpl::getAutoCorrectSuggestionForMisspelledWord(const String& misspelledWord) argument
171 for (size_t i = 1; i < misspelledWord.length(); i++) {
172 if (u_isupper(static_cast<UChar32>(misspelledWord[i])))
177 return m_webView->spellCheckClient()->autoCorrectWord(WebString(misspelledWord));
216 void SpellCheckerClientImpl::updateSpellingUIWithMisspelledWord(const String& misspelledWord) argument
219 m_webView->spellCheckClient()->updateSpellingUIWithMisspelledWord(WebString(misspelledWord));
H A DContextMenuClientImpl.cpp116 String misspelledWord = selectedFrame->selectedText().stripWhiteSpace(); local
119 if (!misspelledWord.isEmpty()) {
121 if (!isASingleWord(misspelledWord))
123 return misspelledWord;
134 return misspelledWord; // It is empty.
137 misspelledWord = selectedFrame->selectedText().stripWhiteSpace();
142 if (misspelledWord.isEmpty())
148 return misspelledWord;
323 data.misspelledWord = selectMisspellingAsync(selectedFrame, marker);
331 m_webView->spellCheckClient()->spellCheck(data.misspelledWord, misspelledOffse
[all...]
/external/chromium_org/third_party/WebKit/public/web/
H A DWebSpellCheckClient.h72 virtual WebString autoCorrectWord(const WebString& misspelledWord) { return WebString(); } argument
H A DWebContextMenuData.h121 WebString misspelledWord; member in struct:blink::WebContextMenuData
126 // If misspelledWord is not empty, holds suggestions from the dictionary.
/external/chromium_org/third_party/WebKit/Source/core/editing/
H A DSpellChecker.cpp220 String misspelledWord; local
230 misspelledWord = foundItem;
237 misspelledWord = TextCheckingHelper(spellCheckerClient(), spellingSearchRange).findFirstMisspelling(misspellingOffset, false, firstMisspellingRange);
239 if (!misspelledWord.isEmpty()) {
252 if (startedWithSelection && !misspelledWord && !badGrammarPhrase) {
261 misspelledWord = foundItem;
268 misspelledWord = TextCheckingHelper(spellCheckerClient(), spellingSearchRange).findFirstMisspelling(misspellingOffset, false, firstMisspellingRange);
270 if (!misspelledWord.isEmpty()) {
296 } else if (!misspelledWord.isEmpty()) {
300 RefPtrWillBeRawPtr<Range> misspellingRange = TextIterator::subrange(spellingSearchRange.get(), misspellingOffset, misspelledWord
368 const String misspelledWord = plainText(misspellingRange.get()); local
[all...]
H A DTextCheckingHelper.cpp295 String misspelledWord;
350 misspelledWord = paragraphString.substring(result->location, result->length);
351 ASSERT(misspelledWord.length());
378 if (!misspelledWord.isEmpty() && (!checkGrammar || badGrammarPhrase.isEmpty() || spellingLocation <= grammarDetailLocation)) {
386 firstFoundItem = misspelledWord;
/external/chromium_org/content/renderer/
H A Dcontext_menu_params_builder.cc33 params.misspelled_word = data.misspelledWord;
/external/chromium_org/content/shell/renderer/test_runner/
H A Devent_sender.cc181 context_menu->misspelledWord, &suggestions);

Completed in 196 milliseconds