Searched defs:grammarDetail (Results 1 - 9 of 9) sorted by relevance

/external/webkit/Source/WebKit2/UIProcess/API/C/win/
H A DWKAPICastWin.h47 inline ProxyingRefPtr<WebGrammarDetail> toAPI(const WebCore::GrammarDetail& grammarDetail) argument
49 return ProxyingRefPtr<WebGrammarDetail>(WebGrammarDetail::create(grammarDetail));
/external/webkit/Source/WebKit2/UIProcess/win/
H A DWebGrammarDetail.cpp40 PassRefPtr<WebGrammarDetail> WebGrammarDetail::create(const WebCore::GrammarDetail& grammarDetail) argument
42 return adoptRef(new WebGrammarDetail(grammarDetail));
67 WebGrammarDetail::WebGrammarDetail(const WebCore::GrammarDetail& grammarDetail) argument
68 : m_grammarDetail(grammarDetail)
H A DWebGrammarDetail.h49 const WebCore::GrammarDetail& grammarDetail() { return m_grammarDetail; } function in class:WebKit::WebGrammarDetail
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.cpp113 grammarDetails.append(wkGrammarDetails->at<WebGrammarDetail>(i)->grammarDetail());
140 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.cpp480 GrammarDetail grammarDetail; local
481 String badGrammarPhrase = const_cast<TextCheckingHelper*>(this)->findFirstBadGrammar(grammarDetail, grammarPhraseOffset, false);
491 ASSERT(grammarDetail.location >= 0 && grammarDetail.length > 0);
494 if (grammarDetail.location + grammarPhraseOffset)
498 if (grammarDetail.length != TextIterator::rangeLength(m_range.get()))
505 m_client->updateSpellingUIWithGrammarString(badGrammarPhrase, grammarDetail);
H A DEditor.cpp1742 GrammarDetail grammarDetail; local
1752 String foundItem = TextCheckingHelper(client(), spellingSearchRange).findFirstMisspellingOrBadGrammar(isGrammarCheckingEnabled(), isSpelling, foundOffset, grammarDetail);
1775 badGrammarPhrase = TextCheckingHelper(client(), grammarSearchRange).findFirstBadGrammar(grammarDetail, grammarPhraseOffset, false);
1788 foundItem = TextCheckingHelper(client(), spellingSearchRange).findFirstMisspellingOrBadGrammar(isGrammarCheckingEnabled(), isSpelling, foundOffset, grammarDetail);
1809 badGrammarPhrase = TextCheckingHelper(client(), grammarSearchRange).findFirstBadGrammar(grammarDetail, grammarPhraseOffset, false);
1821 ASSERT(grammarDetail.location != -1 && grammarDetail.length > 0);
1824 RefPtr<Range> badGrammarRange = TextIterator::subrange(grammarSearchRange.get(), grammarPhraseOffset + grammarDetail.location, grammarDetail.length);
1828 client()->updateSpellingUIWithGrammarString(badGrammarPhrase, grammarDetail);
[all...]
/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 165 milliseconds