/external/chromium_org/content/public/common/ |
H A D | color_suggestion.cc | 11 ColorSuggestion::ColorSuggestion(const blink::WebColorSuggestion& suggestion) argument 12 : color(suggestion.color), 13 label(suggestion.label) {
|
/external/chromium_org/content/renderer/ |
H A D | date_time_suggestion_builder.cc | 14 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
|
/external/chromium_org/third_party/WebKit/Source/web/ |
H A D | WebColorSuggestion.cpp | 40 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;
|
H A D | WebDateTimeSuggestion.cpp | 33 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;
|
/external/chromium_org/chrome/browser/search/suggestions/ |
H A D | image_manager_impl_unittest.cc | 48 ChromeSuggestion* suggestion = suggestions_profile.add_suggestions(); local 49 suggestion->set_url(kTestUrl); 50 suggestion->set_thumbnail(kTestImageUrl);
|
H A D | image_manager_impl.cc | 52 const ChromeSuggestion& suggestion = suggestions.suggestions(i); local 53 if (suggestion.has_thumbnail()) { 54 image_url_map_[GURL(suggestion.url())] = GURL(suggestion.thumbnail());
|
H A D | image_manager_impl_browsertest.cc | 79 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 D | suggestions_source.cc | 55 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/ui/android/java/src/org/chromium/ui/ |
H A D | ColorPickerSimple.java | 83 public void onColorSuggestionClick(ColorSuggestion suggestion) { argument 84 mOnColorChangedListener.onColorChanged(suggestion.mColor);
|
H A D | ColorSuggestionListAdapter.java | 29 * 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...] |
/external/chromium_org/components/suggestions/ |
H A D | suggestions_store.cc | 68 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 D | blacklist_store.cc | 117 // This suggestion is not blacklisted. 118 ChromeSuggestion* suggestion = filtered_profile.add_suggestions(); local 120 suggestion->Swap(profile->mutable_suggestions(i));
|
H A D | blacklist_store_unittest.cc | 32 ChromeSuggestion* suggestion = suggestions.add_suggestions(); local 33 suggestion->set_url(*it);
|
H A D | suggestions_store_unittest.cc | 24 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/components/web_contents_delegate_android/ |
H A D | color_chooser_android.cc | 35 const content::ColorSuggestion& suggestion = suggestions[i]; local 37 env, suggestion.label); 42 suggestion.color,
|
/external/chromium_org/chrome/browser/metrics/ |
H A D | omnibox_metrics_provider.cc | 157 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 D | omnibox_current_page_delegate_impl.cc | 123 const InstantSuggestion& suggestion) { 130 SetSuggestionToPrefetch(suggestion); 136 prerenderer->Prerender(suggestion); 122 SetSuggestionToPrefetch( const InstantSuggestion& suggestion) argument
|
/external/chromium_org/chrome/renderer/searchbox/ |
H A D | searchbox.h | 113 const InstantSuggestion& suggestion() const { return suggestion_; } function in class:SearchBox 131 void OnSetSuggestionToPrefetch(const InstantSuggestion& suggestion);
|
/external/chromium_org/chrome/browser/autocomplete/ |
H A D | keyword_extensions_delegate_impl.cc | 137 // 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/spellchecker/ |
H A D | spelling_service_client.cc | 154 // suggestion for auto-correction. 163 // "suggestions": [{ "suggestion": "quack" }], 199 // first one because SpellCheckResult can store only one suggestion. 213 base::DictionaryValue* suggestion = NULL; local 215 if (!suggestions->GetDictionary(0, &suggestion) || 216 !suggestion->GetString("suggestion", &replacement)) {
|
H A D | feedback_sender_unittest.cc | 188 // Send SELECT feedback message if the user has selected a spelling suggestion. 219 // Send PENDING feedback message if the user saw the spelling suggestion, but 229 // Send IGNORE feedback message if the user saw the spelling suggestion, but 424 base::DictionaryValue* suggestion = NULL; local 425 suggestions->GetDictionary(0, &suggestion); 426 suggestion->SetString("suggestionId", "42"); 427 suggestion->SetString("timestamp", "9001");
|
/external/chromium_org/chrome/browser/ui/search/ |
H A D | instant_search_prerenderer.cc | 84 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/content/browser/android/ |
H A D | date_time_chooser_android.cc | 94 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/extensions/api/omnibox/ |
H A D | omnibox_api.cc | 58 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/chrome/browser/renderer_context_menu/ |
H A D | spelling_menu_observer_browsertest.cc | 225 void InitMenu(const char* word, const char* suggestion) { argument 230 if (suggestion) 231 params.dictionary_suggestions.push_back(base::ASCIIToUTF16(suggestion)); 367 // service is enabled and that there is only one suggestion. 378 // The test should see a separator, a suggestion and another separator 470 // Case #3. Misspelled word, suggestion service is on. 475 // Should have at least 2 entries. Separator, suggestion.
|