HomeSort by relevance Sort by last modified time
    Searched refs:template_url (Results 1 - 25 of 81) sorted by null

1 2 3 4

  /external/chromium_org/chrome/browser/ui/search_engines/
search_engine_tab_helper_delegate.h 20 // |template_url|. Takes ownership of |template_url|.
21 virtual void ConfirmAddSearchProvider(TemplateURL* template_url,
edit_search_engine_controller.h 19 // edits. NOTE: |template_url| is the value supplied to
23 virtual void OnEditedKeyword(TemplateURL* template_url,
36 // The |template_url| and/or |edit_keyword_delegate| may be NULL.
38 TemplateURL* template_url,
67 const TemplateURL* template_url() const { return template_url_; } function in class:EditSearchEngineController
template_url_table_model.cc 13 #include "components/search_engines/template_url.h"
36 ModelEntry(TemplateURLTableModel* model, TemplateURL* template_url)
37 : template_url_(template_url),
46 TemplateURL* template_url() { function in class:TemplateURLTableModel::ModelEntry
77 GURL favicon_url = template_url()->favicon_url();
145 TemplateURL* template_url = *i; local
148 if (template_url->show_in_default_list())
149 default_entries.push_back(new ModelEntry(this, template_url));
150 else if (template_url->GetType() == TemplateURL::OMNIBOX_API_EXTENSION)
151 extension_entries.push_back(new ModelEntry(this, template_url));
247 TemplateURL* template_url = GetTemplateURL(index); local
281 TemplateURL* template_url = GetTemplateURL(index); local
    [all...]
keyword_editor_controller.cc 12 #include "components/search_engines/template_url.h"
41 void KeywordEditorController::ModifyTemplateURL(TemplateURL* template_url,
46 const int index = table_model_->IndexOfTemplateURL(template_url);
54 if ((template_url->short_name() == title) &&
55 (template_url->keyword() == keyword) && (template_url->url() == url))
  /external/chromium_org/chrome/browser/profile_resetter/
automatic_profile_resetter_delegate.cc 43 const TemplateURL* template_url) {
51 tree->SetString("name", template_url->short_name());
52 tree->SetString("short_name", template_url->short_name());
53 tree->SetString("keyword", template_url->keyword());
54 tree->SetString("search_url", template_url->url());
55 tree->SetString("url", template_url->url());
56 tree->SetString("suggestions_url", template_url->suggestions_url());
57 tree->SetString("instant_url", template_url->instant_url());
58 tree->SetString("image_url", template_url->image_url());
59 tree->SetString("new_tab_url", template_url->new_tab_url())
    [all...]
  /external/chromium_org/components/search_engines/
search_host_to_urls_map.cc 8 #include "components/search_engines/template_url.h"
25 void SearchHostToURLsMap::Add(TemplateURL* template_url,
28 DCHECK(template_url);
30 const GURL url(template_url->GenerateSearchURL(search_terms_data));
34 host_to_urls_map_[url.host()].insert(template_url);
37 void SearchHostToURLsMap::Remove(TemplateURL* template_url) {
39 DCHECK(template_url);
43 TemplateURLSet::iterator url_set_iterator = i->second.find(template_url);
template_url_service_client.h 37 virtual void RestoreExtensionInfoIfNecessary(TemplateURL* template_url) = 0;
search_host_to_urls_map.h 29 // Adds a new TemplateURL to the map. Since |template_url| is owned
31 void Add(TemplateURL* template_url,
35 void Remove(TemplateURL* template_url);
template_url_prepopulate_data.h 67 SearchEngineType GetEngineType(const TemplateURL& template_url,
template_url_service.cc 28 #include "components/search_engines/template_url.h"
540 bool TemplateURLService::Add(TemplateURL* template_url) {
542 if (!AddNoNotify(template_url, true))
548 void TemplateURLService::AddWithOverrides(TemplateURL* template_url,
554 template_url->data_.short_name = short_name;
555 template_url->data_.SetKeyword(keyword);
556 template_url->SetURL(url);
557 Add(template_url);
561 TemplateURL* template_url,
564 DCHECK(template_url);
901 const TemplateURL* template_url = GetTemplateURLForKeyword(keyword); local
1455 TemplateURL* template_url = new TemplateURL(data); local
2083 TemplateURL* template_url = *i; local
2288 TemplateURL* template_url = *i; local
    [all...]
  /external/chromium_org/chrome/browser/ui/views/
browser_dialogs.h 29 // Shows a dialog box that allows a search engine to be edited. |template_url|
35 TemplateURL* template_url,
edit_search_engine_dialog.cc 15 #include "components/search_engines/template_url.h"
35 TemplateURL* template_url,
38 EditSearchEngineDialog::Show(parent, template_url, delegate, profile);
44 TemplateURL* template_url,
47 : controller_(new EditSearchEngineController(template_url,
58 TemplateURL* template_url,
62 new EditSearchEngineDialog(template_url, delegate, profile);
77 return l10n_util::GetStringUTF16(controller_->template_url() ?
126 if (controller_->template_url()) {
127 title_tf_ = CreateTextfield(controller_->template_url()->short_name())
    [all...]
  /external/chromium_org/components/omnibox/
keyword_extensions_delegate.cc 24 const TemplateURL* template_url,
keyword_provider.cc 17 #include "components/search_engines/template_url.h"
132 const TemplateURL* template_url = model->GetTemplateURLForKeyword(keyword); local
133 if (template_url &&
134 template_url->SupportsReplacement(model->search_terms_data())) {
158 return template_url;
176 const TemplateURL* const template_url = local
178 if (!template_url ||
179 !template_url->SupportsReplacement(url_service->search_terms_data()))
183 if ((template_url->GetType() == TemplateURL::OMNIBOX_API_EXTENSION) &&
185 !extensions_delegate_->IsEnabledExtension(template_url->GetExtensionId())
247 const TemplateURL* template_url = *i; local
279 const TemplateURL* template_url = matches.front(); local
    [all...]
keyword_extensions_delegate.h 38 // the existing suggestions or asks the |template_url|'s extension to provide
43 const TemplateURL* template_url,
base_search_provider.h 68 const TemplateURL* template_url,
107 // for the search |suggestion|, which represents a search via |template_url|.
108 // If |template_url| is NULL, returns a match with an invalid destination URL.
119 // |append_extra_query_params| should be set if |template_url| is the default
127 const TemplateURL* template_url,
145 const TemplateURL* template_url,
169 const TemplateURL* template_url,
base_search_provider.cc 15 #include "components/search_engines/template_url.h"
106 const TemplateURL* template_url,
119 template_url, search_terms_data, 0, false);
132 TemplateURL* template_url = local
136 if (template_url != NULL) {
137 client_->DeleteMatchingURLsForKeywordFromHistory(template_url->id(),
197 const TemplateURL* template_url,
204 if (!template_url)
206 match.keyword = template_url->keyword();
251 const TemplateURLRef& search_url = template_url->url_ref()
    [all...]
  /external/chromium_org/chrome/browser/autocomplete/
keyword_extensions_delegate_impl.cc 65 const TemplateURL* template_url,
67 DCHECK(template_url);
70 std::string extension_id = template_url->GetExtensionId();
78 profile_, template_url, remaining_input, &matches()->front());
95 profile_, template_url->GetExtensionId(),
145 const TemplateURL* template_url(
148 profile_, template_url, remaining_input, &matches()->front());
164 const TemplateURL* template_url = local
186 template_url, input, keyword.length(),
  /external/chromium_org/chrome/browser/ui/omnibox/
omnibox_current_page_delegate.h 52 // Checks whether |template_url| is an extension keyword; if so, asks the
55 virtual bool ProcessExtensionKeyword(TemplateURL* template_url,
  /external/chromium_org/chrome/browser/search/
instant_unittest_base.cc 23 #include "components/search_engines/template_url.h"
63 TemplateURL* template_url = new TemplateURL(data); local
64 // Takes ownership of |template_url|.
65 template_url_service_->Add(template_url);
66 template_url_service_->SetUserSelectedDefaultSearchProvider(template_url);
search.cc 153 TemplateURL* template_url,
155 GURL search_url = TemplateURLRefToGURL(template_url->url_ref(),
162 for (size_t i = 0; i < template_url->URLCount() - 1; ++i) {
163 TemplateURLRef ref(template_url, i);
178 bool IsSuitableURLForInstant(const GURL& url, const TemplateURL* template_url) {
179 return template_url->HasSearchTermsReplacementKey(url) &&
197 TemplateURL* template_url = GetDefaultSearchProviderTemplateURL(profile);
198 if (!template_url)
201 if (!IsSuitableURLForInstant(url, template_url))
204 const TemplateURLRef& instant_url_ref = template_url->instant_url_ref()
284 TemplateURL* template_url = GetDefaultSearchProviderTemplateURL(profile); local
355 TemplateURL* template_url = GetDefaultSearchProviderTemplateURL(profile); local
364 TemplateURL* template_url = GetDefaultSearchProviderTemplateURL(profile); local
513 TemplateURL* template_url = GetDefaultSearchProviderTemplateURL(profile); local
    [all...]
  /external/chromium_org/chrome/browser/ui/webui/options/
search_engine_manager_handler.cc 19 #include "components/search_engines/template_url.h"
173 const TemplateURL* template_url = list_controller_->GetTemplateURL(index); local
180 dict->SetString("name", template_url->short_name());
185 dict->SetString("url", template_url->url_ref().DisplayURL(
187 dict->SetBoolean("urlLocked", template_url->prepopulate_id() > 0);
188 GURL icon_url = template_url->favicon_url();
194 list_controller_->CanRemove(template_url) && !is_extension);
196 list_controller_->CanMakeDefault(template_url) && !is_extension);
198 dict->SetBoolean("canBeEdited", list_controller_->CanEdit(template_url));
200 if (template_url->GetType() == TemplateURL::NORMAL_CONTROLLED_BY_EXTENSION)
    [all...]
  /external/chromium_org/chrome/browser/ui/search/
instant_test_utils.cc 68 TemplateURL* template_url = new TemplateURL(data); local
69 service->Add(template_url); // Takes ownership of |template_url|.
70 service->SetUserSelectedDefaultSearchProvider(template_url);
83 TemplateURL* template_url = new TemplateURL(data); local
84 service->Add(template_url); // Takes ownership of |template_url|.
85 service->SetUserSelectedDefaultSearchProvider(template_url);
  /external/chromium_org/chrome/browser/search_engines/
chrome_template_url_service_client.cc 69 TemplateURL* template_url) {
70 const TemplateURLData& data = template_url->data();
74 template_url->set_extension_info(make_scoped_ptr(
template_url_service_android.cc 15 #include "components/search_engines/template_url.h"
58 TemplateURL* template_url = template_urls[selected_index_size_t]; local
59 DCHECK_GT(template_url->prepopulate_id(), 0) <<
61 template_url_service_->SetUserSelectedDefaultSearchProvider(template_url);
113 TemplateURL* template_url = template_url_service_->GetTemplateURLs()[index]; local
114 if (!IsPrepopulatedTemplate(template_url) &&
115 !template_url->created_by_policy())
122 env, template_url->short_name()).obj(),
124 env, template_url->keyword()).obj());

Completed in 1820 milliseconds

1 2 3 4