Searched defs:suggestion (Results 1 - 25 of 25) sorted by relevance

/external/chromium_org/chrome/browser/spellchecker/
H A Dspelling_service_client.cc155 // suggestion for auto-correction.
164 // "suggestions": [{ "suggestion": "quack" }],
200 // first one because SpellCheckResult can store only one suggestion.
214 DictionaryValue* suggestion = NULL; local
216 if (!suggestions->GetDictionary(0, &suggestion) ||
217 !suggestion->GetString("suggestion", &replacement)) {
H A Dfeedback_sender.cc10 // misspelling-suggestion pair. If the spelling service identifies the same
90 // Builds suggestion info from |suggestions|. The caller owns the result.
99 base::DictionaryValue* suggestion = suggestion_it->Serialize(); local
100 suggestion->SetBoolean("isFirstInSession", is_first_feedback_batch);
101 suggestion->SetBoolean("isAutoCorrection", false);
102 list->Append(suggestion);
H A Dfeedback_sender_unittest.cc172 // Send SELECT feedback message if the user has selected a spelling suggestion.
203 // Send PENDING feedback message if the user saw the spelling suggestion, but
213 // Send IGNORE feedback message if the user saw the spelling suggestion, but
408 base::DictionaryValue* suggestion = NULL; local
409 suggestions->GetDictionary(0, &suggestion);
410 suggestion->SetString("suggestionId", "42");
411 suggestion->SetString("timestamp", "9001");
/external/chromium_org/chrome/common/extensions/
H A Dcommand.cc180 std::string NormalizeShortcutSuggestion(const std::string& suggestion, argument
192 return suggestion;
195 base::SplitString(suggestion, '+', &tokens);
/external/chromium/chrome/browser/autocomplete/
H A Dkeyword_provider.cc462 // It's possible to change the default suggestion while not in an editing
493 const ExtensionOmniboxSuggestion& suggestion = local
497 // and subtract 1 for each subsequent suggestion from the extension.
504 suggestion.content, first_relevance - (i + 1)));
507 match->contents.assign(suggestion.description);
508 match->contents_class = suggestion.description_styles;
H A Dautocomplete_edit.cc197 const string16 suggestion = view_->GetInstantSuggestion(); local
198 if (suggestion.empty())
201 FinalizeInstantQuery(view_->GetText(), suggestion, skip_inline_autocomplete);
285 // autocomplete suggestion of "foo.net". He now presses ctrl-a (e.g. to
811 // Return true if the suggestion type warrants a TCP/IP preconnection.
H A Dautocomplete_edit_view_gtk.cc361 // Setup for the Instant suggestion text view.
765 void AutocompleteEditViewGtk::SetInstantSuggestion(const string16& suggestion, argument
767 std::string suggestion_utf8 = UTF16ToUTF8(suggestion);
773 if (suggestion.empty()) {
792 const gchar* suggestion = gtk_label_get_text(GTK_LABEL(instant_view_)); local
793 return suggestion ? UTF8ToUTF16(suggestion) : string16();
816 // Use the real end iterator here to take the width of instant suggestion
H A Dautocomplete_edit_view_win.cc931 void AutocompleteEditViewWin::SetInstantSuggestion(const string16& suggestion, argument
933 parent_view_->SetInstantSuggestion(suggestion, animate_to_complete);
/external/chromium/chrome/browser/extensions/
H A Dextension_omnibox_api.cc46 // Returns the suggestion object set by the extension via the
118 ExtensionOmniboxSuggestion& suggestion = suggestions.suggestions[i]; local
123 kSuggestionContent, &suggestion.content));
125 kSuggestionDescription, &suggestion.description));
131 EXTENSION_FUNCTION_VALIDATE(suggestion.ReadStylesFromValue(*styles));
133 suggestion.description_styles.clear();
134 suggestion.description_styles.push_back(
148 ExtensionOmniboxSuggestion suggestion; local
152 kSuggestionDescription, &suggestion.description));
158 EXTENSION_FUNCTION_VALIDATE(suggestion
238 const ExtensionOmniboxSuggestion* suggestion = local
[all...]
/external/chromium_org/chrome/browser/extensions/api/omnibox/
H A Domnibox_api.cc76 scoped_ptr<omnibox::SuggestResult> suggestion; local
81 suggestion.reset(new omnibox::SuggestResult);
82 omnibox::SuggestResult::Populate(*dict, suggestion.get());
84 return suggestion.Pass();
87 // Tries to set the omnibox default suggestion; returns true on success or
92 const omnibox::DefaultSuggestResult& suggestion) {
98 scoped_ptr<base::DictionaryValue> dict = suggestion.ToValue();
304 params->suggestion)) {
317 const omnibox::SuggestResult &suggestion) {
319 if (suggestion
89 SetOmniboxDefaultSuggestion( Profile* profile, const std::string& extension_id, const omnibox::DefaultSuggestResult& suggestion) argument
316 StyleTypesToACMatchClassifications( const omnibox::SuggestResult &suggestion) argument
[all...]
/external/chromium_org/chrome/browser/tab_contents/
H A Dspelling_menu_observer_browsertest.cc220 void InitMenu(const char* word, const char* suggestion) { argument
225 if (suggestion)
226 params.dictionary_suggestions.push_back(ASCIIToUTF16(suggestion));
360 // service is enabled and that there is only one suggestion.
371 // The test should see a separator, a suggestion and another separator
465 // Case #3. Misspelled word, suggestion service is on.
472 // Should have at least 2 entries. Separator, suggestion.
/external/chromium_org/chrome/renderer/spellchecker/
H A Dspellcheck_unittest.cc1216 const char* suggestion; member in struct:__anon6945
1239 if (kTestCases[i].suggestion != NULL)
1240 suggestion_length = strlen(kTestCases[i].suggestion);
1247 ASCIIToUTF16(kTestCases[i].suggestion).c_str(),
1253 EXPECT_EQ(kTestCases[i].should_pass, result) << kTestCases[i].suggestion <<
1256 // Now verify that this test case does not show up as a suggestion.
1276 suggestions.at(j).compare(ASCIIToUTF16(kTestCases[t].suggestion));
1277 EXPECT_FALSE(compare_result == 0) << kTestCases[t].suggestion <<
1341 const char* suggestion; member in struct:__anon6947
1360 EXPECT_EQ(suggestions[0], ASCIIToUTF16(kTestCases[i].suggestion));
[all...]
/external/chromium_org/chrome/browser/autocomplete/
H A Dkeyword_provider.cc407 // themselves and the suggestion of the verbatim query on an
539 // It's possible to change the default suggestion while not in an editing
572 const omnibox_api::SuggestResult& suggestion = local
576 // and subtract 1 for each subsequent suggestion from the extension.
587 UTF8ToUTF16(suggestion.content), false, first_relevance - (i + 1)));
590 match->contents.assign(UTF8ToUTF16(suggestion.description));
592 extensions::StyleTypesToACMatchClassifications(suggestion);
H A Dsearch_provider.h69 // |query_string|; e.g. the user typed "foo" and got a search suggestion of
213 SuggestResult(const string16& suggestion,
219 const string16& suggestion() const { return suggestion_; } function in class:SearchProvider::SuggestResult
228 // The search suggestion string.
457 // Returns an AutocompleteMatch for a navigational suggestion.
H A Dsearch_provider_unittest.cc1083 // Ensure that incorrectly sized suggestion relevance lists are ignored.
1309 // Ensure that incorrectly sized suggestion relevance lists are ignored.
1597 // Ensure that incorrectly sized suggestion relevance lists are ignored.
1691 // suggestion but it scores lower.
1712 // Check when navsuggest scores more than a query suggestion. There is
1754 // Check when there is neither verbatim nor a query suggestion that,
1755 // because we can't demote navsuggestions below a query suggestion,
1913 // highest-ranking result. If the query was provided by a suggestion, we
2320 const std::string suggestion; member in struct:__anon4228::__anon4229
2338 // Similarly simple cases, but the query suggestion appear
2445 const std::string& suggestion = cases[i].results[j].suggestion; local
2477 const std::string& suggestion = cases[i].results[j].suggestion; local
[all...]
H A Dsearch_provider.cc136 SearchProvider::SuggestResult::SuggestResult(const string16& suggestion, argument
141 suggestion_(suggestion) {
280 // will be highlighted, e.g. for input_text = "you" the suggestion may be
295 // short as a single character highlighted in a query suggestion result,
321 // suggestion, non-Search results will suddenly appear.
394 // suggestion "foobar" will be suggested on every keystroke. If the
409 // The current top result is a search suggestion.
424 // The current top result is a navigational suggestion.
440 // suggestion of a query on a keyword search engine). These two
839 // Bail if the suggestion UR
[all...]
/external/oprofile/libpp/
H A Darrange_profiles.cpp105 string suggestion; member in struct:__anon23762::axis_t
206 str += axes[classes.axis].suggestion;
/external/chromium/chrome/browser/instant/
H A Dinstant_loader.cc641 // If state hasn't changed, reuse the last suggestion. There are two cases:
856 string16 suggestion = complete_suggested_text_.substr(user_text_.size()); local
858 delegate_->SetSuggestedTextFor(this, suggestion, behavior);
/external/chromium_org/chrome/browser/metrics/
H A Dmetrics_log.cc873 OmniboxEventProto::Suggestion* suggestion = omnibox_event->add_suggestion(); local
874 suggestion->set_provider(i->provider->AsOmniboxEventProviderType());
875 suggestion->set_result_type(AsOmniboxEventResultType(i->type));
876 suggestion->set_relevance(i->relevance);
878 suggestion->set_typed_count(i->typed_count);
879 suggestion->set_is_starred(i->starred);
/external/chromium_org/chrome/browser/ui/omnibox/
H A Domnibox_edit_model.cc256 // same user text and the same instant suggestion, even if the auto-commit
283 const string16 suggestion = view_->GetGrayTextAutocompletion(); local
284 if (suggestion.empty())
287 const string16 final_text = view_->GetText() + suggestion;
/external/chromium_org/chrome/browser/ui/gtk/omnibox/
H A Domnibox_view_gtk.cc365 // Setup for the gray suggestion text view.
717 void OmniboxViewGtk::SetGrayTextAutocompletion(const string16& suggestion) { argument
718 std::string suggestion_utf8 = UTF16ToUTF8(suggestion);
722 if (suggestion.empty()) {
733 const gchar* suggestion = gtk_label_get_text(GTK_LABEL(gray_text_view_)); local
734 return suggestion ? UTF8ToUTF16(suggestion) : string16();
757 // Use the real end iterator here to take the width of gray suggestion text
/external/chromium_org/chrome/browser/ui/views/omnibox/
H A Domnibox_view_win.cc1025 void OmniboxViewWin::SetGrayTextAutocompletion(const string16& suggestion) { argument
1026 location_bar_->SetGrayTextAutocompletion(suggestion);
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.help_3.5.0.v20100524.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.eclipse.pde.core_3.6.1.v20100902_r361.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
/external/chromium_org/third_party/WebKit/Source/devtools/scripts/closure/
H A Dcompiler.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/debugging/ com/google/debugging/sourcemap/ ...

Completed in 4822 milliseconds