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

123

/external/chromium_org/third_party/WebKit/Source/web/
H A DWebDateTimeSuggestion.cpp33 WebDateTimeSuggestion::WebDateTimeSuggestion(const DateTimeSuggestion& suggestion) argument
34 : value(suggestion.value)
35 , localizedValue(suggestion.localizedValue)
36 , label(suggestion.label)
40 WebDateTimeSuggestion& WebDateTimeSuggestion::operator=(const DateTimeSuggestion& suggestion) argument
42 value = suggestion.value;
43 localizedValue = suggestion.localizedValue;
44 label = suggestion.label;
H A DWebColorSuggestion.cpp40 WebColorSuggestion::WebColorSuggestion(const ColorSuggestion& suggestion) argument
41 : color(static_cast<WebColor>(suggestion.color.rgb()))
42 , label(suggestion.label)
46 WebColorSuggestion& WebColorSuggestion::operator=(const ColorSuggestion& suggestion) argument
48 color = static_cast<WebColor>(suggestion.color.rgb());
49 label = suggestion.label;
/external/chromium_org/content/public/common/
H A Dcolor_suggestion.cc11 ColorSuggestion::ColorSuggestion(const blink::WebColorSuggestion& suggestion) argument
12 : color(suggestion.color),
13 label(suggestion.label) {
H A Dcolor_suggestion.h18 // Container for information about datalist suggestion for the color input
22 explicit ColorSuggestion(const blink::WebColorSuggestion& suggestion);
/external/chromium_org/content/renderer/
H A Ddate_time_suggestion_builder.cc14 const blink::WebDateTimeSuggestion& suggestion) {
16 result.value = suggestion.value;
17 result.localized_value = suggestion.localizedValue;
18 result.label = suggestion.label;
13 Build( const blink::WebDateTimeSuggestion& suggestion) argument
H A Ddate_time_suggestion_builder.h18 const blink::WebDateTimeSuggestion& suggestion);
/external/chromium_org/components/omnibox/
H A Dbase_search_provider.cc103 const base::string16& suggestion,
113 suggestion, type, suggestion, base::string16(), base::string16(),
196 const SearchSuggestionParser::SuggestResult& suggestion,
201 AutocompleteMatch match(autocomplete_provider, suggestion.relevance(), false,
202 suggestion.type());
207 match.contents = suggestion.match_contents();
208 match.contents_class = suggestion.match_contents_class();
209 match.answer_contents = suggestion.answer_contents();
210 match.answer_type = suggestion
102 CreateSearchSuggestion( const base::string16& suggestion, AutocompleteMatchType::Type type, bool from_keyword_provider, const TemplateURL* template_url, const SearchTermsData& search_terms_data) argument
192 CreateSearchSuggestion( AutocompleteProvider* autocomplete_provider, const AutocompleteInput& input, const bool in_keyword_mode, const SearchSuggestionParser::SuggestResult& suggestion, const TemplateURL* template_url, const SearchTermsData& search_terms_data, int accepted_suggestion, bool append_extra_query_params) argument
[all...]
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/omnibox/
H A DOmniboxSuggestion.java12 * Container class with information about each omnibox suggestion item.
167 * @return Whether this suggestion represents a starred/bookmarked URL.
178 * @return The relevance score of this suggestion.
205 OmniboxSuggestion suggestion = (OmniboxSuggestion) obj;
208 (mAnswerContents == null && suggestion.mAnswerContents == null) ||
210 suggestion.mAnswerContents != null &&
211 mAnswerContents.equals(suggestion.mAnswerContents));
212 return mType == suggestion.mType
213 && mFillIntoEdit.equals(suggestion.mFillIntoEdit)
214 && mDisplayText.equals(suggestion
[all...]
/external/chromium_org/ui/android/java/src/org/chromium/ui/
H A DColorSuggestionListAdapter.java29 * The callback used to indicate the user has clicked on a suggestion.
34 * Called upon a click on a suggestion.
36 * @param suggestion The suggestion that was clicked.
38 void onColorSuggestionClick(ColorSuggestion suggestion); argument
49 * Sets the listener that will be notified upon a click on a suggestion.
56 * Sets up the color button to represent a color suggestion.
59 * @param index The index of the suggestion in mSuggestions.
70 ColorSuggestion suggestion = mSuggestions[index];
74 swatch.setColor(suggestion
[all...]
H A DColorPickerSimple.java83 public void onColorSuggestionClick(ColorSuggestion suggestion) { argument
84 mOnColorChangedListener.onColorChanged(suggestion.mColor);
/external/chromium_org/components/suggestions/
H A Dsuggestions_store.cc68 ChromeSuggestion* suggestion = suggestions->mutable_suggestions(i); local
69 if (!suggestion->has_expiry_ts() || suggestion->expiry_ts() > now_usec) {
70 filtered_suggestions.add_suggestions()->Swap(suggestion);
H A Dsuggestions_store_unittest.cc24 ChromeSuggestion* suggestion = suggestions->add_suggestions(); local
25 suggestion->set_url(title);
26 suggestion->set_title(url);
27 suggestion->set_expiry_ts(expiry_ts);
32 ChromeSuggestion* suggestion = suggestions.add_suggestions(); local
33 suggestion->set_url(kTestTitle);
34 suggestion->set_title(kTestUrl);
/external/chromium_org/chrome/browser/search/suggestions/
H A Dimage_manager_impl_browsertest.cc79 suggestions::ChromeSuggestion* suggestion = local
81 suggestion->set_url(kTestBitmapUrl);
82 suggestion->set_thumbnail(test_server_.GetURL(kTestImagePath).spec());
113 suggestions::ChromeSuggestion* suggestion = local
115 suggestion->set_url(kTestUrl1);
116 suggestion->set_thumbnail(test_server_.GetURL(kTestImagePath).spec());
223 ChromeSuggestion* suggestion = suggestions_profile.add_suggestions(); local
224 suggestion->set_url(kTestUrl1);
225 suggestion->set_thumbnail(test_server_.GetURL(kInvalidImagePath).spec());
250 ChromeSuggestion* suggestion local
[all...]
H A Dimage_manager_impl_unittest.cc48 ChromeSuggestion* suggestion = suggestions_profile.add_suggestions(); local
49 suggestion->set_url(kTestUrl);
50 suggestion->set_thumbnail(kTestImageUrl);
H A Dsuggestions_source.cc55 const ChromeSuggestion& suggestion = profile.suggestions(i); local
57 suggestion.expiry_ts() - now);
64 line += net::EscapeForHTML(suggestion.url());
66 line += net::EscapeForHTML(suggestion.title());
68 base64_encoded_pngs.find(GURL(suggestion.url()));
162 const ChromeSuggestion& suggestion = suggestions_profile.suggestions(i); local
169 GURL(suggestion.url()),
/external/chromium_org/components/web_contents_delegate_android/
H A Dcolor_chooser_android.cc35 const content::ColorSuggestion& suggestion = suggestions[i]; local
37 env, suggestion.label);
42 suggestion.color,
/external/chromium_org/chrome/browser/extensions/api/omnibox/
H A Domnibox_api.cc58 scoped_ptr<omnibox::SuggestResult> suggestion; local
63 suggestion.reset(new omnibox::SuggestResult);
64 omnibox::SuggestResult::Populate(*dict, suggestion.get());
66 return suggestion.Pass();
69 // Tries to set the omnibox default suggestion; returns true on success or
74 const omnibox::DefaultSuggestResult& suggestion) {
79 scoped_ptr<base::DictionaryValue> dict = suggestion.ToValue();
298 GetProfile(), extension_id(), params->suggestion)) {
311 const omnibox::SuggestResult &suggestion) {
313 if (suggestion
71 SetOmniboxDefaultSuggestion( Profile* profile, const std::string& extension_id, const omnibox::DefaultSuggestResult& suggestion) argument
310 StyleTypesToACMatchClassifications( const omnibox::SuggestResult &suggestion) argument
[all...]
/external/chromium_org/content/browser/android/
H A Ddate_time_chooser_android.cc94 const content::DateTimeSuggestion& suggestion = suggestions[i]; local
96 env, SanitizeSuggestionString(suggestion.localized_value));
98 env, SanitizeSuggestionString(suggestion.label));
101 suggestion.value, localized_value.obj(), label.obj());
/external/chromium_org/chrome/browser/metrics/
H A Domnibox_metrics_provider.cc157 OmniboxEventProto::Suggestion* suggestion = omnibox_event->add_suggestion(); local
158 suggestion->set_provider(i->provider->AsOmniboxEventProviderType());
159 suggestion->set_result_type(AsOmniboxEventResultType(i->type));
160 suggestion->set_relevance(i->relevance);
162 suggestion->set_typed_count(i->typed_count);
/external/chromium_org/chrome/browser/ui/omnibox/
H A Domnibox_current_page_delegate_impl.cc123 const InstantSuggestion& suggestion) {
130 SetSuggestionToPrefetch(suggestion);
136 prerenderer->Prerender(suggestion);
122 SetSuggestionToPrefetch( const InstantSuggestion& suggestion) argument
H A Domnibox_current_page_delegate.h69 // Sends the current SearchProvider suggestion to the Instant page if any.
70 virtual void SetSuggestionToPrefetch(const InstantSuggestion& suggestion) = 0;
H A Domnibox_current_page_delegate_impl.h38 const InstantSuggestion& suggestion) OVERRIDE;
/external/chromium_org/chrome/browser/autocomplete/
H A Dkeyword_extensions_delegate_impl.cc137 // It's possible to change the default suggestion while not in an editing
170 const omnibox_api::SuggestResult& suggestion = local
174 // and subtract 1 for each subsequent suggestion from the extension.
187 base::UTF8ToUTF16(suggestion.content), false,
191 match->contents.assign(base::UTF8ToUTF16(suggestion.description));
193 extensions::StyleTypesToACMatchClassifications(suggestion);
/external/chromium_org/chrome/browser/ui/search/
H A Dinstant_search_prerenderer.cc84 void InstantSearchPrerenderer::Prerender(const InstantSuggestion& suggestion) { argument
88 if (last_instant_suggestion_.text == suggestion.text)
98 last_instant_suggestion_ = suggestion;
100 SetSuggestionToPrefetch(suggestion);
/external/chromium_org/chrome/browser/resources/chromeos/
H A Dneterror.css87 .suggestion-header {
92 .suggestion-body {
123 .suggestion-header {

Completed in 4424 milliseconds

123