Searched defs:suggestions (Results 1 - 15 of 15) sorted by relevance

/external/chromium/chrome/browser/
H A Dspellchecker_platform_engine_unittest.cc322 std::vector<string16> suggestions; local
323 SpellCheckerPlatform::FillSuggestionList(word, &suggestions);
326 for (size_t j = 0; j < suggestions.size(); j++) {
327 if (suggestions[j].compare(suggested_word) == 0) {
H A Dspellcheck_message_filter.cc46 std::vector<string16>* suggestions) {
47 SpellCheckerPlatform::FillSuggestionList(word, suggestions);
44 OnPlatformFillSuggestionList( const string16& word, std::vector<string16>* suggestions) argument
H A Dautocomplete_history_manager.cc25 // Limit on the number of suggestions to appear in the pop-up menu under an
190 std::vector<string16> suggestions = autofill_result->GetValue(); local
191 SendSuggestions(&suggestions);
217 const std::vector<string16>* suggestions) {
218 if (suggestions) {
220 for (size_t i = 0; i < suggestions->size(); ++i) {
224 if (autofill_values_[j] == (*suggestions)[i]) {
231 autofill_values_.push_back((*suggestions)[i]);
216 SendSuggestions( const std::vector<string16>* suggestions) argument
/external/chromium/chrome/browser/extensions/
H A Dextension_omnibox_api.h77 std::vector<ExtensionOmniboxSuggestion> suggestions; member in struct:ExtensionOmniboxSuggestions
H A Dextension_omnibox_unittest.cc57 ExtensionOmniboxSuggestion suggestions; local
58 suggestions.description.resize(10);
59 EXPECT_TRUE(suggestions.ReadStylesFromValue(styles_value));
60 CompareClassification(styles_expected, suggestions.description_styles);
66 EXPECT_TRUE(suggestions.ReadStylesFromValue(styles_value));
67 CompareClassification(styles_expected, suggestions.description_styles);
93 ExtensionOmniboxSuggestion suggestions; local
94 suggestions.description.resize(10);
95 EXPECT_TRUE(suggestions.ReadStylesFromValue(styles_value));
96 CompareClassification(styles_expected, suggestions
129 ExtensionOmniboxSuggestion suggestions; local
[all...]
H A Dextension_omnibox_api.cc111 ExtensionOmniboxSuggestions suggestions; local
113 EXTENSION_FUNCTION_VALIDATE(args_->GetInteger(0, &suggestions.request_id));
116 suggestions.suggestions.resize(suggestions_value->GetSize());
118 ExtensionOmniboxSuggestion& suggestion = suggestions.suggestions[i];
142 Details<ExtensionOmniboxSuggestions>(&suggestions));
/external/webkit/Tools/DumpRenderTree/chromium/
H A DMockSpellCheck.cpp94 void MockSpellCheck::fillSuggestionList(const WebString& word, Vector<WebString>* suggestions) argument
97 suggestions->append(WebString::fromUTF8("welcome"));
H A DEventSender.cpp757 Vector<WebString> suggestions; local
758 spellcheck->fillSuggestionList(contextMenu->misspelledWord, &suggestions);
759 for (size_t i = 0; i < suggestions.size(); ++i)
760 strings.append(suggestions[i]);
/external/chromium/chrome/browser/autocomplete/
H A Dkeyword_provider.cc62 // Extension suggestions always come from the original profile, since that's
64 // suggestions are meant for us.
140 // stale extension suggestions that may be incoming.
234 // suggestions from last time. We need to readjust the relevance to
479 const ExtensionOmniboxSuggestions& suggestions = local
481 if (suggestions.request_id != current_input_id_)
490 // TODO(mpcomplete): consider clamping the number of suggestions to
492 for (size_t i = 0; i < suggestions.suggestions.size(); ++i) {
494 suggestions
[all...]
/external/webkit/Source/WebKit/android/WebCoreSupport/autofill/
H A DWebAutofill.cpp134 // suggestions we told Java about them, clear that bit Java side now
171 bool suggestions = mAutofillManager->OnQueryFormFieldAutoFillWrapper(*form, *formField); local
174 if (!suggestions) {
176 // Tell Java no autofill suggestions for this form.
187 // Store the unique ID for the query and inform java that autofill suggestions for this form are available.
/external/webkit/Source/WebKit/gtk/WebCoreSupport/
H A DTextCheckerClientEnchant.cpp150 gchar** suggestions = enchant_dict_suggest(dict, word.utf8().data(), -1, &numberOfSuggestions); local
153 guesses.append(String::fromUTF8(suggestions[i]));
156 enchant_dict_free_suggestions(dict, suggestions);
/external/chromium/chrome/browser/ui/webui/options/
H A Dbrowser_options_handler.cc436 ListValue suggestions; local
450 suggestions.Append(entry);
454 "BrowserOptions.updateAutocompleteSuggestions", suggestions);
/external/webkit/Source/WebCore/editing/
H A DSpellingCorrectionController.cpp306 Vector<String> suggestions; local
307 textChecker()->getGuessesForWord(m_correctionPanelInfo.replacedString, paragraphText, suggestions);
308 if (suggestions.isEmpty()) {
312 String topSuggestion = suggestions.first();
313 suggestions.remove(0);
317 client()->showCorrectionPanel(m_correctionPanelInfo.panelType, boundingBox, m_correctionPanelInfo.replacedString, topSuggestion, suggestions);
/external/chromium/chrome/browser/autofill/
H A Dautofill_manager_unittest.cc601 // Test that we return all address profile suggestions when all form fields are
613 // No suggestions provided, so send an empty vector as the results.
643 // Test that we return only matching address profile suggestions when the
657 // No suggestions provided, so send an empty vector as the results.
679 // Test that we return no suggestions when the form has no relevant fields.
708 // Test that we cull duplicate profile suggestions.
726 // No suggestions provided, so send an empty vector as the results.
754 // Test that we return no suggestions when autofill is disabled.
770 // Test that we return a warning explaining that autofill suggestions are
783 // No suggestions provide
811 std::vector<string16> suggestions; local
999 std::vector<string16> suggestions; local
1238 std::vector<string16> suggestions; local
1328 std::vector<string16> suggestions; local
[all...]
/external/chromium/chrome/browser/instant/
H A Dinstant_loader.cc224 // Message from renderer indicating the page has suggestions.
227 const std::vector<std::string>& suggestions,
562 const std::vector<std::string>& suggestions,
569 if (suggestions.empty())
572 loader_->SetCompleteSuggestedText(UTF8ToUTF16(suggestions[0]), behavior);
560 OnSetSuggestions( int32 page_id, const std::vector<std::string>& suggestions, InstantCompleteBehavior behavior) argument

Completed in 3399 milliseconds