/external/chromium_org/chrome/browser/search/suggestions/ |
suggestions_service_factory.h | 13 namespace suggestions { namespace 22 static suggestions::SuggestionsService* GetForProfile(Profile* profile); 43 } // namespace suggestions
|
suggestions_store.h | 9 #include "chrome/browser/search/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...] |
suggestions_service_factory.cc | 5 #include "chrome/browser/search/suggestions/suggestions_service_factory.h" 10 #include "chrome/browser/search/suggestions/suggestions_service.h" 11 #include "chrome/browser/search/suggestions/suggestions_store.h" 16 namespace suggestions { namespace 58 } // namespace suggestions
|
suggestions_store.cc | 5 #include "chrome/browser/search/suggestions/suggestions_store.h" 14 namespace suggestions { namespace 23 bool SuggestionsStore::LoadSuggestions(SuggestionsProfile* suggestions) { 24 DCHECK(suggestions); 29 suggestions->Clear(); 36 !suggestions->ParseFromString(suggestions_data)) { 37 VLOG(1) << "Suggestions data in profile pref is corrupt, clearing it."; 38 suggestions->Clear(); 46 bool SuggestionsStore::StoreSuggestions(const SuggestionsProfile& suggestions) { 48 if (!suggestions.SerializeToString(&suggestions_data)) return false [all...] |
suggestions_store_unittest.cc | 5 #include "chrome/browser/search/suggestions/suggestions_store.h" 7 #include "chrome/browser/search/suggestions/proto/suggestions.pb.h" 11 namespace suggestions { namespace 19 SuggestionsProfile suggestions; local 20 ChromeSuggestion* suggestion = suggestions.add_suggestions(); 23 return suggestions; 30 EXPECT_EQ(expected.suggestions(i).url(), actual.suggestions(i).url()); 31 EXPECT_EQ(expected.suggestions(i).title(), actual.suggestions(i).title()) 46 const SuggestionsProfile suggestions = CreateTestSuggestions(); local [all...] |
thumbnail_manager_unittest.cc | 7 #include "chrome/browser/search/suggestions/proto/suggestions.pb.h" 8 #include "chrome/browser/search/suggestions/thumbnail_manager.h" 26 namespace suggestions { namespace 46 } // namespace suggestions
|
suggestions_source.h | 14 #include "chrome/browser/search/suggestions/proto/suggestions.pb.h" 25 namespace suggestions { namespace 49 const suggestions::SuggestionsProfile& suggestions_profile_in, 53 const suggestions::SuggestionsProfile suggestions_profile; 58 // Callback for suggestions from SuggestionsService. 80 } // namespace suggestions
|
thumbnail_manager.cc | 5 #include "chrome/browser/search/suggestions/thumbnail_manager.h" 8 #include "chrome/browser/search/suggestions/proto/suggestions.pb.h" 12 namespace suggestions { namespace 29 const SuggestionsProfile& suggestions) { 31 for (int i = 0; i < suggestions.suggestions_size(); ++i) { 32 const ChromeSuggestion& suggestion = suggestions.suggestions(i); 96 } // namespace suggestions
|
thumbnail_manager.h | 20 namespace suggestions { namespace 32 void InitializeThumbnailMap(const SuggestionsProfile& suggestions); 99 } // namespace suggestions
|
suggestions_service.h | 18 #include "chrome/browser/search/suggestions/proto/suggestions.pb.h" 19 #include "chrome/browser/search/suggestions/thumbnail_manager.h" 31 namespace suggestions { namespace 43 // An interface to fetch server suggestions asynchronously. 58 // Request suggestions data, which will be passed to |callback|. Initiates a 85 // Called to service the requestors if the issued suggestions request has 90 // Called when fetch request completes. Parses the received suggestions data, 100 // Creates a request to the suggestions service, properly setting headers. 103 // Load the cached suggestions and service the requestors with them [all...] |
thumbnail_manager_browsertest.cc | 8 #include "chrome/browser/search/suggestions/proto/suggestions.pb.h" 9 #include "chrome/browser/search/suggestions/thumbnail_manager.h" 71 namespace suggestions { namespace 155 } // namespace suggestions
|
/external/chromium_org/chrome/browser/spellchecker/ |
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
|
spellcheck_platform_mac_unittest.cc | 361 std::vector<base::string16> suggestions; local 362 spellcheck_mac::FillSuggestionList(word, &suggestions); 366 for (size_t j = 0; j < suggestions.size(); j++) { 367 if (suggestions[j].compare(suggested_word) == 0) {
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
SearchQueryResults.java | 97 // Record the query string in the recent queries suggestions provider. 98 SearchRecentSuggestions suggestions = new SearchRecentSuggestions(this, local 100 suggestions.saveRecentQuery(queryString, null);
|
SearchInvoke.java | 223 * Any application that implements search suggestions based on previous actions (such as 226 * searches to be replayed by other users of the device (via suggestions). 229 * android.provider.SearchRecentSuggestions. If you have developed a custom suggestions 236 SearchRecentSuggestions suggestions = new SearchRecentSuggestions(this, local 238 suggestions.clearHistory();
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
SuggestionsProviderImpl.java | 28 * Suggestions provider implementation. 61 public Suggestions getSuggestions(String query, Source sourceToQuery) { 63 final Suggestions suggestions = new Suggestions(query, sourceToQuery); local 68 receiver = new SuggestionCursorReceiver(suggestions); 71 suggestions.done(); 78 return suggestions; 93 private final Suggestions mSuggestions; 95 public SuggestionCursorReceiver(Suggestions suggestions) [all...] |
/external/chromium_org/chrome/browser/ui/webui/options/ |
home_page_overlay_handler.cc | 60 base::ListValue suggestions; local 61 OptionsUI::ProcessAutocompleteSuggestions(result, &suggestions); 63 "HomePageOverlay.updateAutocompleteSuggestions", suggestions);
|
/external/chromium_org/chrome/renderer/spellchecker/ |
hunspell_engine.cc | 26 // Maximum length of words we provide suggestions for. 80 // offer suggestions on them, either, there's no point in flagging them to 111 char** suggestions = NULL; local 113 hunspell_->suggest(&suggestions, wrong_word_utf8.c_str()); 118 optional_suggestions->push_back(base::UTF8ToUTF16(suggestions[i])); 119 free(suggestions[i]); 121 if (suggestions != NULL) 122 free(suggestions);
|
/external/chromium_org/components/autofill/core/browser/ |
autocomplete_history_manager.cc | 22 // Limit on the number of suggestions to appear in the pop-up menu under an 76 std::vector<base::string16> suggestions = autofill_result->GetValue(); local 77 SendSuggestions(&suggestions); 162 const std::vector<base::string16>* suggestions) { 163 if (suggestions) { 165 for (size_t i = 0; i < suggestions->size(); ++i) { 169 if (autofill_values_[j] == (*suggestions)[i]) { 176 autofill_values_.push_back((*suggestions)[i]);
|
/external/chromium_org/third_party/WebKit/public/web/ |
WebDateTimeChooserParams.h | 50 // <datalist> option suggestions associated to the requester element. The 52 WebVector<WebDateTimeSuggestion> suggestions; member in struct:blink::WebDateTimeChooserParams
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/suggestions/ |
SuggestionStripViewAccessor.java | 17 package com.android.inputmethod.latin.suggestions;
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/spellcheck/ |
AndroidSpellCheckerServiceTest.java | 37 final String[] suggestions = span.getSuggestions(); local 38 // For this test we consider "tgis" should yield at least 2 suggestions (at this moment 40 assertTrue(suggestions.length >= 2); 42 assertEquals("Test basic spell checking", "this", suggestions[0]); 57 final String[] suggestions = span.getSuggestions(); local 58 // For this test we consider "????" should yield at least 2 suggestions (at this moment 60 assertTrue(suggestions.length >= 2); 63 assertEquals("", "????", suggestions[0]); 77 final String[] suggestions = span.getSuggestions(); local 80 suggestions[0]) [all...] |
/external/chromium_org/chrome/browser/android/ |
most_visited_sites.h | 15 #include "chrome/browser/search/suggestions/proto/suggestions.pb.h" 19 namespace suggestions { namespace 70 const suggestions::SuggestionsProfile& suggestions_profile); 79 suggestions::SuggestionsService* suggestions_service, 114 // Copy of the server suggestions (if enabled). Used for logging. 115 suggestions::SuggestionsProfile server_suggestions_;
|
/external/chromium_org/third_party/libaddressinput/chromium/cpp/test/ |
address_validator_test.cc | 242 std::vector<AddressData> suggestions; local 244 validator_->GetSuggestions(address, POSTAL_CODE, 1, &suggestions)); 245 ASSERT_EQ(1U, suggestions.size()); 246 EXPECT_EQ("CA", suggestions[0].administrative_area); 247 EXPECT_EQ("90291", suggestions[0].postal_code); 257 std::vector<AddressData> suggestions; local 259 validator_->GetSuggestions(address, POSTAL_CODE, 1, &suggestions)); 260 ASSERT_EQ(1U, suggestions.size()); 261 EXPECT_EQ("Dacun Township", suggestions[0].locality); 262 EXPECT_EQ("Changhua County", suggestions[0].administrative_area) 273 std::vector<AddressData> suggestions; local 288 std::vector<AddressData> suggestions; local 300 std::vector<AddressData> suggestions; local 315 std::vector<AddressData> suggestions; local 331 std::vector<AddressData> suggestions; local 346 std::vector<AddressData> suggestions; local 364 std::vector<AddressData> suggestions; local 376 std::vector<AddressData> suggestions; local 387 std::vector<AddressData> suggestions; local 399 std::vector<AddressData> suggestions; local 411 std::vector<AddressData> suggestions; local 423 std::vector<AddressData> suggestions; local 449 std::vector<AddressData> suggestions; local 464 std::vector<AddressData> suggestions; local 479 std::vector<AddressData> suggestions; local 494 std::vector<AddressData> suggestions; local 505 std::vector<AddressData> suggestions; local 517 std::vector<AddressData> suggestions; local 551 std::vector<AddressData> suggestions; local [all...] |
/external/chromium_org/third_party/libaddressinput/chromium/ |
preload_address_validator_unittest.cc | 262 std::vector<AddressData> suggestions; local 264 validator_->GetSuggestions(address, POSTAL_CODE, 1, &suggestions)); 265 ASSERT_EQ(1U, suggestions.size()); 266 EXPECT_EQ("CA", suggestions[0].administrative_area); 267 EXPECT_EQ("90291", suggestions[0].postal_code); 277 std::vector<AddressData> suggestions; local 279 validator_->GetSuggestions(address, POSTAL_CODE, 1, &suggestions)); 280 ASSERT_EQ(1U, suggestions.size()); 281 EXPECT_EQ("Dacun Township", suggestions[0].locality); 282 EXPECT_EQ("Changhua County", suggestions[0].administrative_area) 293 std::vector<AddressData> suggestions; local 308 std::vector<AddressData> suggestions; local 320 std::vector<AddressData> suggestions; local 335 std::vector<AddressData> suggestions; local 351 std::vector<AddressData> suggestions; local 366 std::vector<AddressData> suggestions; local 384 std::vector<AddressData> suggestions; local 396 std::vector<AddressData> suggestions; local 407 std::vector<AddressData> suggestions; local 419 std::vector<AddressData> suggestions; local 431 std::vector<AddressData> suggestions; local 443 std::vector<AddressData> suggestions; local 469 std::vector<AddressData> suggestions; local 484 std::vector<AddressData> suggestions; local 499 std::vector<AddressData> suggestions; local 514 std::vector<AddressData> suggestions; local 525 std::vector<AddressData> suggestions; local 537 std::vector<AddressData> suggestions; local 570 std::vector<AddressData> suggestions; local [all...] |