Home
last modified time | relevance | path

Searched refs:AutocompleteProvider (Results 1 – 25 of 36) sorted by relevance

12

/external/chromium_org/components/omnibox/
Dautocomplete_provider.cc16 const size_t AutocompleteProvider::kMaxMatches = 3;
18 AutocompleteProvider::AutocompleteProvider(Type type) in AutocompleteProvider() function in AutocompleteProvider
24 const char* AutocompleteProvider::TypeToString(Type type) { in TypeToString()
48 void AutocompleteProvider::Stop(bool clear_cached_results) { in Stop()
52 const char* AutocompleteProvider::GetName() const { in GetName()
56 metrics::OmniboxEventProto_ProviderType AutocompleteProvider::
81 void AutocompleteProvider::DeleteMatch(const AutocompleteMatch& match) { in DeleteMatch()
86 void AutocompleteProvider::AddProviderInfo(ProvidersInfo* provider_info) const { in AddProviderInfo()
89 void AutocompleteProvider::ResetSession() { in ResetSession()
92 AutocompleteProvider::~AutocompleteProvider() { in ~AutocompleteProvider()
[all …]
Dautocomplete_provider.h123 class AutocompleteProvider
124 : public base::RefCountedThreadSafe<AutocompleteProvider> {
138 explicit AutocompleteProvider(Type type);
210 friend class base::RefCountedThreadSafe<AutocompleteProvider>;
215 virtual ~AutocompleteProvider();
245 DISALLOW_COPY_AND_ASSIGN(AutocompleteProvider);
Dautocomplete_result.h18 class AutocompleteProvider; variable
51 const AutocompleteProvider* provider_affinity;
161 typedef std::map<AutocompleteProvider*, ACMatches> ProviderToMatches;
Dbase_search_provider.h41 class BaseSearchProvider : public AutocompleteProvider {
54 AutocompleteProvider::Type type);
123 AutocompleteProvider* autocomplete_provider,
Dautocomplete_match.h18 class AutocompleteProvider; variable
89 AutocompleteMatch(AutocompleteProvider* provider,
264 AutocompleteProvider* provider;
Dbase_search_provider_unittest.cc59 AutocompleteProvider::Type type) in TestBaseSearchProvider()
111 AutocompleteProvider::TYPE_SEARCH); in SetUp()
Dbase_search_provider.cc88 AutocompleteProvider::Type type) in BaseSearchProvider()
89 : AutocompleteProvider(type), in BaseSearchProvider()
193 AutocompleteProvider* autocomplete_provider, in CreateSearchSuggestion()
Dkeyword_provider.h51 class KeywordProvider : public AutocompleteProvider {
Dkeyword_provider.cc75 : AutocompleteProvider(AutocompleteProvider::TYPE_KEYWORD), in KeywordProvider()
/external/chromium_org/chrome/browser/autocomplete/
Dautocomplete_classifier.cc17 AutocompleteProvider::TYPE_BOOKMARK |
18 AutocompleteProvider::TYPE_BUILTIN |
19 AutocompleteProvider::TYPE_HISTORY_QUICK |
20 AutocompleteProvider::TYPE_HISTORY_URL |
21 AutocompleteProvider::TYPE_KEYWORD |
22 AutocompleteProvider::TYPE_SEARCH |
23 AutocompleteProvider::TYPE_SHORTCUTS |
24 AutocompleteProvider::TYPE_ZERO_SUGGEST;
Dautocomplete_controller.cc45 const AutocompleteProvider* provider, in AutocompleteMatchToAssistedQuery()
58 (provider->type() == AutocompleteProvider::TYPE_ZERO_SUGGEST) && in AutocompleteMatchToAssistedQuery()
189 if (provider_types & AutocompleteProvider::TYPE_BOOKMARK) in AutocompleteController()
191 if (provider_types & AutocompleteProvider::TYPE_BUILTIN) in AutocompleteController()
193 if (provider_types & AutocompleteProvider::TYPE_HISTORY_QUICK) in AutocompleteController()
195 if (provider_types & AutocompleteProvider::TYPE_HISTORY_URL) { in AutocompleteController()
201 if (provider_types & AutocompleteProvider::TYPE_KEYWORD) { in AutocompleteController()
211 if (provider_types & AutocompleteProvider::TYPE_SEARCH) { in AutocompleteController()
217 if (provider_types & AutocompleteProvider::TYPE_SHORTCUTS) in AutocompleteController()
219 if (provider_types & AutocompleteProvider::TYPE_ZERO_SUGGEST) { in AutocompleteController()
Dhistory_provider.h18 class HistoryProvider : public AutocompleteProvider {
28 HistoryProvider(Profile* profile, AutocompleteProvider::Type type);
Dshortcuts_provider.cc56 : AutocompleteProvider(AutocompleteProvider::TYPE_SHORTCUTS), in ShortcutsProvider()
168 std::min(AutocompleteProvider::kMaxMatches, matches_.size()), in GetMatches()
170 if (matches_.size() > AutocompleteProvider::kMaxMatches) { in GetMatches()
171 matches_.erase(matches_.begin() + AutocompleteProvider::kMaxMatches, in GetMatches()
Dhistory_provider.cc49 AutocompleteProvider::Type type) in HistoryProvider()
50 : AutocompleteProvider(type), in HistoryProvider()
Dautocomplete_provider_unittest.cc47 class TestProvider : public AutocompleteProvider {
52 : AutocompleteProvider(AutocompleteProvider::TYPE_SEARCH), in TestProvider()
331 AutocompleteProvider::TYPE_KEYWORD | AutocompleteProvider::TYPE_SEARCH)); in ResetControllerWithKeywordAndSearchProviders()
369 AutocompleteProvider::TYPE_KEYWORD)); in ResetControllerWithKeywordProvider()
461 EXPECT_EQ(AutocompleteProvider::TYPE_SEARCH, in RunExactKeymatchTest()
Dbookmark_provider.cc57 : AutocompleteProvider(AutocompleteProvider::TYPE_BOOKMARK), in BookmarkProvider()
126 std::min(matches_.size(), AutocompleteProvider::kMaxMatches); in DoAutocomplete()
Dbuiltin_provider.h18 class BuiltinProvider : public AutocompleteProvider {
Dbookmark_provider.h30 class BookmarkProvider : public AutocompleteProvider {
Dbuiltin_provider.cc44 : AutocompleteProvider(AutocompleteProvider::TYPE_BUILTIN) { in BuiltinProvider()
Dshortcuts_provider.h24 : public AutocompleteProvider,
Dhistory_quick_provider.cc54 : HistoryProvider(profile, AutocompleteProvider::TYPE_HISTORY_QUICK), in HistoryQuickProvider()
95 AutocompleteProvider::kMaxMatches); in DoAutocomplete()
Dautocomplete_controller.h50 typedef std::vector<scoped_refptr<AutocompleteProvider> > Providers;
/external/chromium_org/athena/main/
Durl_search_provider.h14 class AutocompleteProvider; variable
44 scoped_refptr<AutocompleteProvider> provider_;
/external/chromium_org/chrome/browser/extensions/api/omnibox/
Domnibox_api_browsertest.cc84 EXPECT_EQ(AutocompleteProvider::TYPE_KEYWORD, in IN_PROC_BROWSER_TEST_F()
89 EXPECT_EQ(AutocompleteProvider::TYPE_KEYWORD, in IN_PROC_BROWSER_TEST_F()
94 EXPECT_EQ(AutocompleteProvider::TYPE_KEYWORD, in IN_PROC_BROWSER_TEST_F()
99 EXPECT_EQ(AutocompleteProvider::TYPE_KEYWORD, in IN_PROC_BROWSER_TEST_F()
139 EXPECT_EQ(AutocompleteProvider::TYPE_SEARCH, in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/chrome/browser/ui/webui/omnibox/
Domnibox_ui_handler.cc96 scoped_refptr<AutocompleteProvider> > {
98 const scoped_refptr<AutocompleteProvider>& input) { in Convert()

12