/external/chromium_org/components/suggestions/ |
H A D | suggestions_pref_names.cc | 5 #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 D | suggestions_pref_names.h | 8 namespace suggestions { namespace 17 } // namespace suggestions
|
H A D | suggestions_store.cc | 5 #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...] |
H A D | suggestions_store_unittest.cc | 5 #include "components/suggestions/suggestions_store.h" 9 #include "components/suggestions/proto/suggestions.pb.h" 14 namespace suggestions { namespace 22 void AddSuggestion(SuggestionsProfile* suggestions, const char *title, argument 24 ChromeSuggestion* suggestion = suggestions->add_suggestions(); 31 SuggestionsProfile suggestions; local 32 ChromeSuggestion* suggestion = suggestions.add_suggestions(); 35 return suggestions; 46 SuggestionsProfile suggestions; local 91 SuggestionsProfile suggestions = CreateTestSuggestionsProfileWithExpiry(5, 0); local 102 SuggestionsProfile suggestions = CreateTestSuggestionsProfileWithExpiry(5, 3); local 113 SuggestionsProfile suggestions = CreateTestSuggestionsProfileWithExpiry(5, 3); local 127 const SuggestionsProfile suggestions = CreateTestSuggestions(); local [all...] |
H A D | suggestions_store.h | 9 #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 D | suggestions_utils.cc | 5 #include "components/suggestions/suggestions_utils.h" 7 namespace suggestions { namespace 22 } // namespace suggestions
|
H A D | suggestions_utils.h | 8 namespace suggestions { namespace 22 // Behavior: Update suggestions from the server. Serve from cache on timeout. 27 // suggestions. 36 } // namespace suggestions
|
H A D | blacklist_store_unittest.cc | 5 #include "components/suggestions/blacklist_store.h" 14 #include "components/suggestions/proto/suggestions.pb.h" 19 namespace suggestions { namespace 29 SuggestionsProfile suggestions; local 32 ChromeSuggestion* suggestion = suggestions.add_suggestions(); 35 return suggestions; 42 EXPECT_EQ(expected.suggestions(i).url(), actual.suggestions(i).url()); 43 EXPECT_EQ(expected.suggestions( 84 SuggestionsProfile suggestions; local [all...] |
H A D | image_manager.h | 10 #include "components/suggestions/proto/suggestions.pb.h" 14 namespace suggestions { namespace 24 virtual void Initialize(const SuggestionsProfile& suggestions) = 0; 36 } // namespace suggestions
|
H A D | blacklist_store.h | 9 #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 D | suggestions_service.cc | 5 #include "components/suggestions/suggestions_service.h" 18 #include "components/suggestions/blacklist_store.h" 19 #include "components/suggestions/suggestions_store.h" 35 namespace suggestions { namespace 65 // Runs each callback in |requestors| on |suggestions|, then deallocates 68 const SuggestionsProfile& suggestions, 72 if (!it->is_null()) it->Run(suggestions); 164 // suggestions if available. 181 // Post a task to serve the cached suggestions if the request hasn't completed 241 SuggestionsProfile* suggestions, int6 67 DispatchRequestsAndClear( const SuggestionsProfile& suggestions, std::vector<SuggestionsService::ResponseCallback>* requestors) argument 240 SetDefaultExpiryTimestamp( SuggestionsProfile* suggestions, int64 default_timestamp_usec) argument 340 SuggestionsProfile suggestions; local 371 SuggestionsProfile suggestions; local 377 FilterAndServe(SuggestionsProfile* suggestions) argument [all...] |
/external/chromium_org/chrome/browser/resources/ntp4/ |
H A D | suggestions_page.css | 5 .suggestions { 10 .suggestions { 17 .suggestions:focus { 21 .suggestions .close-button { 30 html[dir=rtl] .suggestions .close-button { 35 .suggestions:hover .close-button { 40 .suggestions .close-button:hover { 44 .suggestions .favicon { 55 html[dir='rtl'] .suggestions .favicon { 59 .suggestions [all...] |
/external/chromium_org/third_party/libaddressinput/chromium/ |
H A D | chrome_address_validator_unittest.cc | 288 std::vector<AddressData> suggestions; local 290 validator_->GetSuggestions(address, POSTAL_CODE, 1, &suggestions)); 291 ASSERT_EQ(1U, suggestions.size()); 292 EXPECT_EQ("CA", suggestions[0].administrative_area); 293 EXPECT_EQ("90291", suggestions[0].postal_code); 303 std::vector<AddressData> suggestions; local 305 validator_->GetSuggestions(address, POSTAL_CODE, 1, &suggestions)); 306 ASSERT_EQ(1U, suggestions.size()); 307 EXPECT_EQ("Dacun Township", suggestions[0].locality); 308 EXPECT_EQ("Changhua County", suggestions[ 319 std::vector<AddressData> suggestions; local 334 std::vector<AddressData> suggestions; local 346 std::vector<AddressData> suggestions; local 361 std::vector<AddressData> suggestions; local 377 std::vector<AddressData> suggestions; local 392 std::vector<AddressData> suggestions; local 410 std::vector<AddressData> suggestions; local 422 std::vector<AddressData> suggestions; local 433 std::vector<AddressData> suggestions; local 445 std::vector<AddressData> suggestions; local 457 std::vector<AddressData> suggestions; local 469 std::vector<AddressData> suggestions; local 495 std::vector<AddressData> suggestions; local 509 std::vector<AddressData> suggestions; local 523 std::vector<AddressData> suggestions; local 535 std::vector<AddressData> suggestions; local 547 std::vector<AddressData> suggestions; local 559 std::vector<AddressData> suggestions; local 572 std::vector<AddressData> suggestions; local 604 std::vector<AddressData> suggestions; local 663 std::vector<AddressData> suggestions; local 686 std::vector<AddressData> suggestions; local [all...] |
/external/chromium_org/chrome/browser/resources/suggestions_internals/ |
H A D | suggestions_internals.css | 5 .suggestions-debug-table { 10 .suggestions-debug-table th { 14 .suggestions-debug-table td {
|
/external/chromium_org/components/web_contents_delegate_android/ |
H A D | color_chooser_android.cc | 21 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/chrome/renderer/spellchecker/ |
H A D | hunspell_engine.cc | 24 // 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/ui/android/java/src/org/chromium/ui/ |
H A D | ColorPickerSimple.java | 57 * 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/search/suggestions/ |
H A D | suggestions_service_factory.h | 13 namespace suggestions { namespace 22 static suggestions::SuggestionsService* GetForProfile(Profile* profile); 43 } // namespace suggestions
|
/external/chromium_org/chrome/browser/spellchecker/ |
H A D | misspelling.h | 25 // misspelling.suggestions = 37 const std::vector<base::string16>& suggestions, 59 // Spelling suggestions. 60 std::vector<base::string16> suggestions; member in class:Misspelling
|
H A D | misspelling.cc | 17 // 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
|
/external/chromium_org/athena/content/chrome/ |
H A D | dialogs.cc | 15 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 D | dialogs.cc | 13 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/components/web_contents_delegate_android/android/java/src/org/chromium/components/web_contents_delegate_android/ |
H A D | ColorChooserAndroid.java | 26 Context context, int initialColor, ColorSuggestion[] suggestions) { 36 mDialog = new ColorPickerDialog(context, listener, initialColor, suggestions); 53 ColorSuggestion[] suggestions) { 55 contentViewCore.getContext(), initialColor, suggestions); 25 ColorChooserAndroid(long nativeColorChooserAndroid, Context context, int initialColor, ColorSuggestion[] suggestions) argument 49 createColorChooserAndroid( long nativeColorChooserAndroid, ContentViewCore contentViewCore, int initialColor, ColorSuggestion[] suggestions) argument
|
/external/chromium_org/third_party/WebKit/Source/core/html/forms/ |
H A D | ColorChooserClient.h | 54 virtual Vector<ColorSuggestion> suggestions() const = 0;
|
/external/chromium_org/third_party/WebKit/public/web/ |
H A D | WebDateTimeChooserParams.h | 50 // <datalist> option suggestions associated to the requester element. The 52 WebVector<WebDateTimeSuggestion> suggestions; member in struct:blink::WebDateTimeChooserParams
|