Searched refs:guesses (Results 1 - 25 of 42) sorted by relevance

12

/external/webkit/Source/WebKit2/UIProcess/win/
H A DWebGrammarDetail.cpp35 PassRefPtr<WebGrammarDetail> WebGrammarDetail::create(int location, int length, ImmutableArray* guesses, const String& userDescription) argument
37 return adoptRef(new WebGrammarDetail(location, length, guesses, userDescription));
45 WebGrammarDetail::WebGrammarDetail(int location, int length, ImmutableArray* guesses, const String& userDescription) argument
50 size_t numGuesses = guesses->size();
51 m_grammarDetail.guesses.reserveCapacity(numGuesses);
53 m_grammarDetail.guesses.uncheckedAppend(guesses->at<WebString>(i)->string());
58 PassRefPtr<ImmutableArray> WebGrammarDetail::guesses() const function in class:WebKit::WebGrammarDetail
60 size_t numGuesses = m_grammarDetail.guesses.size();
63 wkGuesses[i] = WebString::create(m_grammarDetail.guesses[
[all...]
H A DWebGrammarDetail.h41 static PassRefPtr<WebGrammarDetail> create(int location, int length, ImmutableArray* guesses, const String& userDescription);
46 PassRefPtr<ImmutableArray> guesses() const;
52 WebGrammarDetail(int location, int length, ImmutableArray* guesses, const String& userDescription);
H A DTextCheckerWin.cpp125 void TextChecker::getGuessesForWord(int64_t spellDocumentTag, const String& word, const String& context, Vector<String>& guesses) argument
127 WebTextChecker::shared()->client().guessesForWord(spellDocumentTag, word, guesses);
H A DWebTextCheckerClient.h54 void guessesForWord(uint64_t tag, const String& word, Vector<String>& guesses);
H A DWebTextCheckerClient.cpp148 void WebTextCheckerClient::guessesForWord(uint64_t tag, const String& word, Vector<String>& guesses) argument
156 guesses.append(wkGuesses->at<WebString>(i)->string());
/external/webkit/Source/WebKit2/UIProcess/API/C/win/
H A DWKGrammarDetail.cpp41 WKGrammarDetailRef WKGrammarDetailCreate(int location, int length, WKArrayRef guesses, WKStringRef userDescription) argument
43 RefPtr<WebGrammarDetail> detail = WebGrammarDetail::create(location, length, toImpl(guesses), toWTFString(userDescription));
59 return toAPI(toImpl(grammarDetailRef)->guesses().leakRef());
H A DWKGrammarDetail.h36 WK_EXPORT WKGrammarDetailRef WKGrammarDetailCreate(int location, int length, WKArrayRef guesses, WKStringRef userDescription);
/external/webkit/Source/WebCore/platform/text/
H A DTextCheckerClient.h44 Vector<String> guesses; member in struct:WebCore::GrammarDetail
73 virtual void getGuessesForWord(const String& word, const String& context, Vector<String>& guesses) = 0;
/external/webkit/Source/WebKit/gtk/WebCoreSupport/
H A DTextCheckerClientEnchant.h51 virtual void getGuessesForWord(const WTF::String& word, const WTF::String& context, WTF::Vector<WTF::String>& guesses);
H A DTextCheckerClientEnchant.cpp140 void TextCheckerClientEnchant::getGuessesForWord(const String& word, const String& context, WTF::Vector<String>& guesses) argument
143 guesses.clear();
153 guesses.append(String::fromUTF8(suggestions[i]));
/external/webkit/Source/WebCore/editing/
H A DTextCheckingHelper.cpp238 outGrammarDetail.guesses.clear();
409 outGrammarDetail.guesses.clear();
513 Vector<String> guesses; local
519 return guesses;
524 return guesses;
535 m_client->textChecker()->getGuessesForWord(misspelledWord, String(), guesses);
538 return guesses;
543 return guesses;
554 for (unsigned k = 0; k < detail->guesses.size(); k++)
555 guesses
[all...]
/external/webkit/Source/WebKit/win/Interfaces/
H A DIWebEditingDelegate.idl75 HRESULT guesses([out, retval] IEnumSpellingGuesses** guesses);
181 HRESULT updateSpellingUIWithGrammarString([in] BSTR string, [in] int location, [in] int length, [in] BSTR userDescription, [in] BSTR* guesses, [in] int guessesCount);
185 HRESULT guessesForWord([in] BSTR word, [out, retval] IEnumSpellingGuesses** guesses);
/external/webkit/Source/WebKit2/UIProcess/
H A DTextChecker.h73 static void getGuessesForWord(int64_t spellDocumentTag, const String& word, const String& context, Vector<String>& guesses);
/external/webkit/Source/WebKit2/UIProcess/gtk/
H A DTextCheckerGtk.cpp103 void TextChecker::getGuessesForWord(int64_t spellDocumentTag, const String& word, const String& context, Vector<String>& guesses) argument
/external/webkit/Source/WebKit2/UIProcess/qt/
H A DTextCheckerQt.cpp104 void TextChecker::getGuessesForWord(int64_t spellDocumentTag, const String& word, const String& context, Vector<String>& guesses) argument
/external/webkit/Source/WebKit2/UIProcess/mac/
H A DTextCheckerMac.mm268 NSArray *guesses = [incomingDetail objectForKey:NSGrammarCorrections];
269 for (NSString *guess in guesses)
270 detail.guesses.append(String(guess));
351 for (size_t i = 0; i < grammarDetail.guesses.size(); ++i) {
352 NSString *guess = grammarDetail.guesses[i];
363 void TextChecker::getGuessesForWord(int64_t spellDocumentTag, const String& word, const String& context, Vector<String>& guesses)
379 guesses.append(guess);
/external/webkit/Tools/DumpRenderTree/win/
H A DEditingDelegate.h145 /* [in] */ BSTR *guesses,
159 /* [retval][out] */ IEnumSpellingGuesses **guesses) { return E_NOTIMPL; }
140 updateSpellingUIWithGrammarString( BSTR string, int location, int length, BSTR userDescription, BSTR *guesses, int guessesCount) argument
157 guessesForWord( BSTR word, IEnumSpellingGuesses **guesses) argument
/external/webkit/Source/WebKit/win/WebCoreSupport/
H A DWebEditorClient.cpp699 if (FAILED(detailObj->guesses(&enumGuessesObj)))
705 detail.guesses.append(String(guess, SysStringLen(guess)));
720 for (unsigned i = 0; i < detail.guesses.size(); i++) {
721 BString guess(detail.guesses[i]);
761 void WebEditorClient::getGuessesForWord(const String& word, const String& context, Vector<String>& guesses) argument
763 guesses.clear();
778 guesses.append(String(guess, SysStringLen(guess)));
/external/webkit/Source/WebKit/android/WebCoreSupport/
H A DEditorClientAndroid.h115 virtual void getGuessesForWord(const String&, const String& context, WTF::Vector<String>& guesses);
/external/webkit/Source/WebKit/efl/WebCoreSupport/
H A DEditorClientEfl.h114 virtual void getGuessesForWord(const String& word, const String& context, WTF::Vector<String>& guesses);
/external/webkit/Source/WebKit/haiku/WebCoreSupport/
H A DEditorClientHaiku.h111 virtual void getGuessesForWord(const String& word, const String& context, Vector<String>& guesses);
/external/webkit/Source/WebKit/qt/WebCoreSupport/
H A DEditorClientQt.h109 virtual void getGuessesForWord(const String& word, const String& context, Vector<String>& guesses);
/external/webkit/Source/WebKit/wx/WebKitSupport/
H A DEditorClientWx.h112 virtual void getGuessesForWord(const String& word, const String& context, Vector<String>& guesses);
/external/webkit/Source/WebKit/mac/WebCoreSupport/
H A DWebEditorClient.mm772 NSArray *guesses = [detail objectForKey:NSGrammarCorrections];
773 for (NSString *guess in guesses)
774 grammarDetail.guesses.append(String(guess));
813 NSArray *guesses = [incomingDetail objectForKey:NSGrammarCorrections];
814 for (NSString *guess in guesses)
815 detail.guesses.append(String(guess));
875 for (unsigned i = 0; i < grammarDetail.guesses.size(); i++) {
876 NSString* guess = grammarDetail.guesses[i];
929 void WebEditorClient::getGuessesForWord(const String& word, const String& context, Vector<String>& guesses) {
930 guesses
[all...]
/external/webkit/Source/WebKit/chromium/src/
H A DEditorClientImpl.h114 WTF::Vector<WTF::String>& guesses);

Completed in 1940 milliseconds

12