Searched refs:badGrammarPhrase (Results 1 - 12 of 12) sorted by relevance

/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/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.h53 void updateSpellingUIWithGrammarString(uint64_t tag, const String& badGrammarPhrase, const WebCore::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/WebKit2/UIProcess/
H A DTextChecker.h72 static void updateSpellingUIWithGrammarString(int64_t spellDocumentTag, const String& badGrammarPhrase, const WebCore::GrammarDetail&);
H A DWebPageProxy.h655 void updateSpellingUIWithGrammarString(const String& badGrammarPhrase, const WebCore::GrammarDetail&);
H A DWebPageProxy.cpp2485 void WebPageProxy::updateSpellingUIWithGrammarString(const String& badGrammarPhrase, const GrammarDetail& grammarDetail) argument
2487 TextChecker::updateSpellingUIWithGrammarString(spellDocumentTag(), badGrammarPhrase, grammarDetail); local
/external/webkit/Source/WebKit2/UIProcess/API/C/win/
H A DWKTextChecker.h48 typedef void (*WKTextCheckerUpdateSpellingUIWithGrammarString)(uint64_t tag, WKStringRef badGrammarPhrase, WKGrammarDetailRef grammarDetail, const void *clientInfo);
/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/mac/
H A DTextCheckerMac.mm348 void TextChecker::updateSpellingUIWithGrammarString(int64_t, const String& badGrammarPhrase, const GrammarDetail& grammarDetail)
360 [[NSSpellChecker sharedSpellChecker] updateSpellingPanelWithGrammarString:badGrammarPhrase detail:grammarDetailDict.get()];
/external/webkit/Source/WebKit/mac/WebCoreSupport/
H A DWebEditorClient.mm871 void WebEditorClient::updateSpellingUIWithGrammarString(const String& badGrammarPhrase, const GrammarDetail& grammarDetail)
883 [[NSSpellChecker sharedSpellChecker] updateSpellingPanelWithGrammarString:badGrammarPhrase detail:grammarDetailDict];

Completed in 2347 milliseconds