Searched defs:badGrammarPhrase (Results 1 - 6 of 6) sorted by relevance

/external/webkit/Source/WebKit2/UIProcess/win/
H A DTextCheckerWin.cpp120 void TextChecker::updateSpellingUIWithGrammarString(int64_t spellDocumentTag, const String& badGrammarPhrase, const GrammarDetail& grammarDetail) argument
122 WebTextChecker::shared()->client().updateSpellingUIWithGrammarString(spellDocumentTag, badGrammarPhrase, grammarDetail);
H A DWebTextCheckerClient.cpp140 void WebTextCheckerClient::updateSpellingUIWithGrammarString(uint64_t tag, const String& badGrammarPhrase, const WebCore::GrammarDetail& grammarDetail) argument
145 m_client.updateSpellingUIWithGrammarString(tag, toAPI(badGrammarPhrase.impl()), toAPI(grammarDetail), m_client.clientInfo);
/external/webkit/Source/WebCore/editing/
H A DTextCheckingHelper.cpp230 String badGrammarPhrase; local
307 badGrammarPhrase = paragraphString.substring(result->location, result->length);
308 ASSERT(badGrammarPhrase.length());
313 if (!misspelledWord.isEmpty() && (!checkGrammar || badGrammarPhrase.isEmpty() || spellingLocation <= grammarDetailLocation)) {
324 if (checkGrammar && !badGrammarPhrase.isEmpty()) {
332 firstFoundItem = badGrammarPhrase;
481 String badGrammarPhrase = const_cast<TextCheckingHelper*>(this)->findFirstBadGrammar(grammarDetail, grammarPhraseOffset, false); local
484 if (badGrammarPhrase.isEmpty())
505 m_client->updateSpellingUIWithGrammarString(badGrammarPhrase, grammarDetail);
552 String badGrammarPhrase local
[all...]
H A DEditor.cpp1745 String badGrammarPhrase; local
1757 badGrammarPhrase = foundItem;
1775 badGrammarPhrase = TextCheckingHelper(client(), grammarSearchRange).findFirstBadGrammar(grammarDetail, grammarPhraseOffset, false);
1781 if (startedWithSelection && !misspelledWord && !badGrammarPhrase) {
1793 badGrammarPhrase = foundItem;
1809 badGrammarPhrase = TextCheckingHelper(client(), grammarSearchRange).findFirstBadGrammar(grammarDetail, grammarPhraseOffset, false);
1814 if (!badGrammarPhrase.isEmpty()) {
1820 ASSERT(badGrammarPhrase.length() > 0);
1828 client()->updateSpellingUIWithGrammarString(badGrammarPhrase, grammarDetail);
/external/webkit/Source/WebKit2/WebProcess/WebCoreSupport/
H A DWebEditorClient.cpp416 void WebEditorClient::updateSpellingUIWithGrammarString(const String& badGrammarPhrase, const GrammarDetail& grammarDetail) argument
418 m_page->send(Messages::WebPageProxy::UpdateSpellingUIWithGrammarString(badGrammarPhrase, grammarDetail));
/external/webkit/Source/WebKit2/UIProcess/
H A DWebPageProxy.cpp2485 void WebPageProxy::updateSpellingUIWithGrammarString(const String& badGrammarPhrase, const GrammarDetail& grammarDetail) argument
2487 TextChecker::updateSpellingUIWithGrammarString(spellDocumentTag(), badGrammarPhrase, grammarDetail); local

Completed in 148 milliseconds