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

1234

/external/chromium_org/chrome/browser/search/suggestions/
H A Dsuggestions_service_factory.h13 namespace suggestions { namespace
22 static suggestions::SuggestionsService* GetForProfile(Profile* profile);
43 } // namespace suggestions
H A Dimage_manager_impl_unittest.cc8 #include "chrome/browser/search/suggestions/image_manager_impl.h"
12 #include "components/suggestions/proto/suggestions.pb.h"
20 using suggestions::ImageData;
21 using suggestions::ImageManagerImpl;
44 namespace suggestions { namespace
64 } // namespace suggestions
H A Dsuggestions_service_factory.cc5 #include "chrome/browser/search/suggestions/suggestions_service_factory.h"
11 #include "chrome/browser/search/suggestions/image_manager_impl.h"
16 #include "components/suggestions/blacklist_store.h"
17 #include "components/suggestions/image_manager.h"
18 #include "components/suggestions/proto/suggestions.pb.h"
19 #include "components/suggestions/suggestions_service.h"
20 #include "components/suggestions/suggestions_store.h"
26 namespace suggestions { namespace
88 } // namespace suggestions
[all...]
H A Dsuggestions_source.h14 #include "components/suggestions/proto/suggestions.pb.h"
25 namespace suggestions { namespace
47 const suggestions::SuggestionsProfile& suggestions_profile_in,
51 const suggestions::SuggestionsProfile suggestions_profile;
56 // Callback for suggestions from SuggestionsService.
78 } // namespace suggestions
/external/chromium_org/components/suggestions/
H A Dsuggestions_pref_names.cc5 #include "components/suggestions/suggestions_pref_names.h"
7 namespace suggestions { namespace
10 // A cache of a suggestions blacklist, represented as a serialized
12 const char kSuggestionsBlacklist[] = "suggestions.blacklist";
14 // A cache of suggestions represented as a serialized SuggestionsProfile
16 const char kSuggestionsData[] = "suggestions.data";
19 } // namespace suggestions
H A Dsuggestions_pref_names.h8 namespace suggestions { namespace
17 } // namespace suggestions
H A Dblacklist_store.h9 #include "components/suggestions/proto/suggestions.pb.h"
18 namespace suggestions { namespace
39 // Applies the blacklist to |suggestions|.
40 virtual void FilterSuggestions(SuggestionsProfile* suggestions);
63 // The pref service used to persist the suggestions blacklist.
69 } // namespace suggestions
H A Dimage_manager.h10 #include "components/suggestions/proto/suggestions.pb.h"
14 namespace suggestions { namespace
24 virtual void Initialize(const SuggestionsProfile& suggestions) = 0;
36 } // namespace suggestions
H A Dsuggestions_store.h9 #include "components/suggestions/proto/suggestions.pb.h"
17 namespace suggestions { namespace
19 // A helper class for reading and writing the suggestions to the profile's
27 // |suggestions|. If there is a problem with loading, the pref value is
28 // cleared, false is returned and |suggestions| is cleared. If successful,
29 // |suggestions| will contain the loaded data and true is returned.
30 virtual bool LoadSuggestions(SuggestionsProfile* suggestions);
32 // Stores the provided |suggestions| to the profile's preferences, using
34 virtual bool StoreSuggestions(const SuggestionsProfile& suggestions);
[all...]
H A Dsuggestions_utils.cc5 #include "components/suggestions/suggestions_utils.h"
7 namespace suggestions { namespace
22 } // namespace suggestions
H A Dsuggestions_utils.h8 namespace suggestions { namespace
22 // Behavior: Update suggestions from the server. Serve from cache on timeout.
27 // suggestions.
36 } // namespace suggestions
H A Dsuggestions_store.cc5 #include "components/suggestions/suggestions_store.h"
13 #include "components/suggestions/suggestions_pref_names.h"
15 namespace suggestions { namespace
24 bool SuggestionsStore::LoadSuggestions(SuggestionsProfile* suggestions) { argument
25 DCHECK(suggestions);
30 suggestions->Clear();
37 !suggestions->ParseFromString(suggestions_data)) {
39 suggestions->Clear();
44 // Filter expired suggestions and update the stored suggestions i
61 FilterExpiredSuggestions( SuggestionsProfile* suggestions) argument
76 StoreSuggestions(const SuggestionsProfile& suggestions) argument
[all...]
/external/chromium_org/athena/content/chrome/
H A Ddialogs.cc15 const std::vector<content::ColorSuggestion>& suggestions) {
12 OpenColorChooser( content::WebContents* web_contents, SkColor initial_color, const std::vector<content::ColorSuggestion>& suggestions) argument
/external/chromium_org/athena/content/shell/
H A Ddialogs.cc13 const std::vector<content::ColorSuggestion>& suggestions) {
10 OpenColorChooser( content::WebContents* web_contents, SkColor initial_color, const std::vector<content::ColorSuggestion>& suggestions) argument
/external/chromium_org/chrome/browser/spellchecker/
H A Dmisspelling.h25 // misspelling.suggestions =
37 const std::vector<base::string16>& suggestions,
59 // Spelling suggestions.
60 std::vector<base::string16> suggestions; member in class:Misspelling
H A Dmisspelling.cc17 // Builds a value from a list of spellcheck suggestions. The caller owns the
41 const std::vector<base::string16>& suggestions,
46 suggestions(suggestions),
63 result->Set("suggestions", BuildSuggestionsValue(suggestions));
38 Misspelling(const base::string16& context, size_t location, size_t length, const std::vector<base::string16>& suggestions, uint32 hash) argument
H A Dspellcheck_platform_mac_unittest.cc364 std::vector<base::string16> suggestions; local
365 spellcheck_mac::FillSuggestionList(word, &suggestions);
369 for (size_t j = 0; j < suggestions.size(); j++) {
370 if (suggestions[j].compare(suggested_word) == 0) {
/external/chromium_org/chrome/android/shell/java/src/org/chromium/chrome/shell/omnibox/
H A DSuggestionArrayAdapter.java29 public SuggestionArrayAdapter(Context context, int res, List<OmniboxSuggestion> suggestions, argument
31 super(context, res, suggestions);
32 mSuggestions = suggestions;
/external/chromium_org/chrome/browser/ui/webui/options/
H A Dhome_page_overlay_handler.cc63 base::ListValue suggestions; local
64 OptionsUI::ProcessAutocompleteSuggestions(result, &suggestions);
66 "HomePageOverlay.updateAutocompleteSuggestions", suggestions);
/external/chromium_org/third_party/WebKit/public/web/
H A DWebDateTimeChooserParams.h50 // <datalist> option suggestions associated to the requester element. The
52 WebVector<WebDateTimeSuggestion> suggestions; member in struct:blink::WebDateTimeChooserParams
/external/chromium_org/ui/android/java/src/org/chromium/ui/
H A DColorPickerSimple.java57 * Initializes the listener and sets the adapter for the given list of suggestions. If the
58 * suggestions is null a default set of colors will be used.
60 * @param suggestions The list of suggestions that should be displayed.
64 public void init(ColorSuggestion[] suggestions, argument
68 if (suggestions == null) {
69 suggestions = new ColorSuggestion[DEFAULT_COLORS.length];
70 for (int i = 0; i < suggestions.length; ++i) {
71 suggestions[i] = new ColorSuggestion(DEFAULT_COLORS[i],
77 getContext(), suggestions);
[all...]
/external/chromium_org/chrome/browser/android/
H A Dmost_visited_sites.h16 #include "components/suggestions/proto/suggestions.pb.h"
20 namespace suggestions { namespace
75 const suggestions::SuggestionsProfile& suggestions_profile);
84 suggestions::SuggestionsService* suggestions_service,
119 // Copy of the server suggestions (if enabled). Used for logging.
120 suggestions::SuggestionsProfile server_suggestions_;
/external/chromium_org/chrome/renderer/spellchecker/
H A Dhunspell_engine.cc24 // Maximum length of words we provide suggestions for.
73 // offer suggestions on them, either, there's no point in flagging them to
104 char** suggestions = NULL; local
106 hunspell_->suggest(&suggestions, wrong_word_utf8.c_str());
111 optional_suggestions->push_back(base::UTF8ToUTF16(suggestions[i]));
112 free(suggestions[i]);
114 if (suggestions != NULL)
115 free(suggestions);
/external/chromium_org/components/web_contents_delegate_android/
H A Dcolor_chooser_android.cc21 const std::vector<content::ColorSuggestion>& suggestions)
30 if (suggestions.size() > 0) {
32 env, suggestions.size());
34 for (size_t i = 0; i < suggestions.size(); ++i) {
35 const content::ColorSuggestion& suggestion = suggestions[i];
18 ColorChooserAndroid( content::WebContents* web_contents, SkColor initial_color, const std::vector<content::ColorSuggestion>& suggestions) argument
/external/chromium_org/content/renderer/
H A Drenderer_webcolorchooser_impl.cc50 const std::vector<content::ColorSuggestion>& suggestions) {
54 suggestions));
48 Open( SkColor initial_color, const std::vector<content::ColorSuggestion>& suggestions) argument

Completed in 878 milliseconds

1234