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

1 2 3

  /external/chromium/chrome/browser/ui/omnibox/
location_bar_util.cc 10 #include "chrome/browser/search_engines/template_url.h"
20 const TemplateURL* template_url = local
23 if (template_url)
24 return UTF16ToWideHack(template_url->AdjustedShortNameForLocaleDirection());
  /external/chromium/chrome/browser/ui/views/
dialog_stubs_gtk.cc 33 const TemplateURL* template_url,
36 new EditSearchEngineDialog(GTK_WINDOW(parent), template_url, NULL, profile); local
  /external/chromium/chrome/browser/ui/search_engines/
edit_search_engine_controller.h 20 // edits. NOTE: |template_url| is the value supplied to
24 virtual void OnEditedKeyword(const TemplateURL* template_url,
37 // The |template_url| and/or |edit_keyword_delegate| may be NULL.
39 const TemplateURL* template_url,
68 const TemplateURL* template_url() const { return template_url_; } function in class:EditSearchEngineController
keyword_editor_controller.cc 11 #include "chrome/browser/search_engines/template_url.h"
39 TemplateURL* template_url = new TemplateURL(); local
40 template_url->set_short_name(title);
41 template_url->set_keyword(keyword);
42 template_url->SetURL(url, 0, 0);
50 table_model_->Add(new_index, template_url);
55 void KeywordEditorController::ModifyTemplateURL(const TemplateURL* template_url,
59 const int index = table_model_->IndexOfTemplateURL(template_url);
67 if (template_url->short_name() == title &&
68 template_url->keyword() == keyword &
    [all...]
  /external/chromium_org/chrome/browser/ui/search_engines/
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
  /external/chromium/chrome/browser/autocomplete/
keyword_provider_unittest.cc 9 #include "chrome/browser/search_engines/template_url.h"
204 TemplateURL* template_url = new TemplateURL(); local
207 template_url->SetURL(url, 0, 0);
208 template_url->set_keyword(keyword);
209 template_url->set_short_name(ASCIIToUTF16("Test"));
210 model_->Add(template_url);
211 ASSERT_TRUE(template_url == model_->GetTemplateURLForKeyword(keyword));
autocomplete_popup_model.cc 18 #include "chrome/browser/search_engines/template_url.h"
134 if (TemplateURL::SupportsReplacement(match.template_url)) {
135 keyword->assign(match.template_url->keyword());
158 const TemplateURL* const template_url = local
160 if (!TemplateURL::SupportsReplacement(template_url))
164 if (template_url->IsExtensionKeyword()) {
166 GetExtensionById(template_url->GetExtensionId(), false);
227 if (!match.template_url || !match.template_url->IsExtensionKeyword())
231 match.template_url->GetExtensionId())
    [all...]
autocomplete_match.h 182 const TemplateURL* template_url; member in struct:AutocompleteMatch
keyword_provider.cc 16 #include "chrome/browser/search_engines/template_url.h"
124 const TemplateURL* template_url = model->GetTemplateURLForKeyword(keyword); local
125 return TemplateURL::SupportsReplacement(template_url) ? template_url : NULL;
186 const TemplateURL* template_url(model->GetTemplateURLForKeyword(*i));
189 template_url->IsExtensionKeyword()) {
192 template_url->GetExtensionId(), false);
212 const TemplateURL* template_url(model->GetTemplateURLForKeyword(keyword));
214 // typed a scheme, that scheme matches the one in |template_url|.
221 template_url->IsExtensionKeyword())
    [all...]
  /external/chromium/chrome/browser/search_engines/
util.cc 11 #include "chrome/browser/search_engines/template_url.h"
136 const TemplateURL* template_url = i->second; local
137 if ((template_url->safe_for_autoreplace()) &&
138 (template_url != *default_search_provider)) {
141 template_url);
145 service->RemoveKeyword(*template_url);
146 delete template_url;
template_url_fetcher.cc 12 #include "chrome/browser/search_engines/template_url.h"
295 const TemplateURL* template_url = local
297 if (template_url && (!template_url->safe_for_autoreplace() ||
298 template_url->originating_url() == osdd_url)) {
search_provider_install_data.cc 15 #include "chrome/browser/search_engines/template_url.h"
150 // It is ok if |template_url| is NULL.
152 const TemplateURL* template_url,
155 return template_url && requested_origin ==
157 template_url,
223 const TemplateURL* template_url = *i; local
224 if (IsSameOrigin(requested_origin, template_url, search_terms_data))
270 void SearchProviderInstallData::SetDefault(const TemplateURL* template_url) {
273 if (!template_url) {
280 template_url, search_terms_data))
    [all...]
  /external/chromium/chrome/browser/webdata/
keyword_table_unittest.cc 11 #include "chrome/browser/search_engines/template_url.h"
64 TemplateURL template_url; local
65 template_url.set_short_name(ASCIIToUTF16("short_name"));
66 template_url.set_keyword(ASCIIToUTF16("keyword"));
69 template_url.SetFaviconURL(favicon_url);
70 template_url.SetURL("http://url/", 0, 0);
71 template_url.set_safe_for_autoreplace(true);
73 template_url.set_date_created(created_time);
74 template_url.set_show_in_default_list(true);
75 template_url.set_originating_url(originating_url)
157 TemplateURL template_url; local
227 TemplateURL template_url; local
    [all...]
keyword_table.cc 13 #include "chrome/browser/search_engines/template_url.h"
142 TemplateURL* template_url = new TemplateURL(); local
143 template_url->set_id(s.ColumnInt64(0));
148 template_url->set_short_name(UTF8ToUTF16(tmp));
150 template_url->set_keyword(UTF8ToUTF16(s.ColumnString(2)));
154 template_url->SetFaviconURL(GURL(tmp));
156 template_url->SetURL(s.ColumnString(4), 0, 0);
158 template_url->set_safe_for_autoreplace(s.ColumnInt(5) == 1);
162 template_url->set_originating_url(GURL(tmp));
164 template_url->set_date_created(Time::FromTimeT(s.ColumnInt64(7)))
    [all...]
  /external/chromium_org/chrome/browser/search_engines/
template_url_service_android.cc 15 #include "chrome/browser/search_engines/template_url.h"
72 TemplateURL* template_url = template_urls[selected_index_size_t]; local
73 DCHECK_GT(template_url->prepopulate_id(), 0) <<
75 template_url_service_->SetDefaultSearchProvider(template_url);
125 TemplateURL* template_url = template_url_service_->GetTemplateURLs()[index]; local
126 if (!IsPrepopulatedTemplate(template_url) &&
127 !template_url->created_by_policy())
133 ConvertUTF16ToJavaString(env, template_url->short_name()).obj(),
134 ConvertUTF16ToJavaString(env, template_url->keyword()).obj());
template_url_fetcher.cc 13 #include "chrome/browser/search_engines/template_url.h"
271 const TemplateURL* template_url = local
273 if (template_url && (!template_url->safe_for_autoreplace() ||
274 template_url->originating_url() == osdd_url))
util.cc 17 #include "chrome/browser/search_engines/template_url.h"
247 const TemplateURL* template_url = i->second; local
248 if ((template_url->safe_for_autoreplace()) &&
249 (template_url != *default_search_provider)) {
251 std::find(template_urls->begin(), template_urls->end(), template_url);
255 service->RemoveKeyword(template_url->id());
257 removed_keyword_guids->insert(template_url->sync_guid());
259 delete template_url;
  /external/chromium_org/chrome/browser/ui/
browser_instant_controller.cc 15 #include "chrome/browser/search_engines/template_url.h"
276 const TemplateURL* template_url = local
279 if (!template_url) {
280 // A NULL |template_url| could mean either this notification is sent during
  /external/chromium_org/chrome/browser/ui/omnibox/
omnibox_popup_model.cc 14 #include "chrome/browser/search_engines/template_url.h"
194 const TemplateURL* template_url = match.GetTemplateURL(profile, false); local
195 if (template_url && template_url->IsExtensionKeyword()) {
197 template_url->GetExtensionId());
  /external/chromium_org/chrome/browser/ui/search/
instant_test_utils.cc 54 TemplateURL* template_url = new TemplateURL(browser_->profile(), data); local
55 service->Add(template_url); // Takes ownership of |template_url|.
56 service->SetDefaultSearchProvider(template_url);
73 TemplateURL* template_url = new TemplateURL(browser_->profile(), data); local
74 service->Add(template_url); // Takes ownership of |template_url|.
75 service->SetDefaultSearchProvider(template_url);
  /external/chromium/chrome/browser/ui/webui/options/
search_engine_manager_handler.cc 12 #include "chrome/browser/search_engines/template_url.h"
147 const TemplateURL* template_url = list_controller_->GetTemplateURL(index); local
150 dict->SetString("name", template_url->short_name());
155 dict->SetString("url", template_url->url()->DisplayURL());
156 dict->SetBoolean("urlLocked", template_url->prepopulate_id() > 0);
157 GURL icon_url = template_url->GetFaviconURL();
162 if (list_controller_->CanRemove(template_url))
164 if (list_controller_->CanMakeDefault(template_url))
215 const TemplateURL* template_url,
219 if (template_url) {
    [all...]
  /external/chromium_org/chrome/browser/autocomplete/
history_quick_provider.cc 31 #include "chrome/browser/search_engines/template_url.h"
218 // |template_url_service| or |template_url| can be NULL in unit tests.
221 TemplateURL* template_url = template_url_service ? local
240 if (!template_url ||
241 !template_url->IsSearchURL(history_match.url_info.url())) {
keyword_provider_unittest.cc 10 #include "chrome/browser/search_engines/template_url.h"
251 TemplateURL* template_url = new TemplateURL(NULL, data); local
252 model_->Add(template_url);
253 ASSERT_TRUE(template_url == model_->GetTemplateURLForKeyword(keyword));
  /external/chromium_org/chrome/browser/importer/
in_process_importer_bridge.cc 11 #include "chrome/browser/search_engines/template_url.h"
127 TemplateURL* template_url = TemplateURLParser::Parse(NULL, true, local
129 if (template_url) {
131 search_engine_for_url.find(template_url->url());
134 std::make_pair(template_url->url(), template_url)).first;
141 iter->second = template_url;
  /external/chromium/chrome/browser/importer/
firefox_importer_utils.cc 18 #include "chrome/browser/search_engines/template_url.h"
200 TemplateURL* template_url = new TemplateURL(); local
204 content.length(), &param_filter, template_url) &&
205 template_url->url()) {
206 std::string url = template_url->url()->url();
219 template_url->set_keyword(
221 template_url->set_logo_id(
223 template_url->set_show_in_default_list(true);
224 search_engine_for_url[url] = template_url;
226 default_turl = template_url;
    [all...]

Completed in 296 milliseconds

1 2 3