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

1 2 3 4 5 6

  /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/chrome/browser/search_engines/
template_url_fetcher_callbacks.h 20 // described by |template_url|. Takes ownership of |template_url|.
22 TemplateURL* template_url,
26 // |template_url|. Takes ownership of |template_url|.
28 TemplateURL* template_url,
search_host_to_urls_map.h 33 // Adds a new TemplateURL to the map. Since |template_url| is owned
35 void Add(const TemplateURL* template_url,
39 void Remove(const TemplateURL* template_url);
64 // Removes the given template_url using only the pointer instead of the value.
67 void RemoveByPointer(const TemplateURL* template_url);
search_host_to_urls_map.cc 9 #include "chrome/browser/search_engines/template_url.h"
31 void SearchHostToURLsMap::Add(const TemplateURL* template_url,
34 DCHECK(template_url);
37 template_url, search_terms_data));
41 host_to_urls_map_[url.host()].insert(template_url);
44 void SearchHostToURLsMap::Remove(const TemplateURL* template_url) {
46 DCHECK(template_url);
48 const GURL url(TemplateURLModel::GenerateSearchURL(template_url));
56 DCHECK(urls.find(template_url) != urls.end());
58 urls.erase(urls.find(template_url));
    [all...]
  /external/chromium/chrome/browser/ui/search_engines/
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...]
search_engine_tab_helper_delegate.h 19 // described by |template_url|. Takes ownership of |template_url|.
22 TemplateURL* template_url,
26 // |template_url|. Takes ownership of |template_url|.
27 virtual void ConfirmAddSearchProvider(const TemplateURL* template_url,
template_url_fetcher_ui_callbacks.cc 9 #include "chrome/browser/search_engines/template_url.h"
30 TemplateURL* template_url,
32 scoped_ptr<TemplateURL> owned_template_url(template_url);
43 TemplateURL* template_url,
45 scoped_ptr<TemplateURL> owned_template_url(template_url);
template_url_fetcher_ui_callbacks.h 27 TemplateURL* template_url,
30 TemplateURL* template_url,
template_url_table_model.cc 13 #include "chrome/browser/search_engines/template_url.h"
38 const TemplateURL& template_url)
39 : template_url_(template_url),
48 const TemplateURL& template_url() { function in class:ModelEntry
82 GURL favicon_url = template_url().GetFaviconURL();
146 const TemplateURL& template_url = *(*i); local
149 if (template_url.show_in_default_list())
150 entries_.push_back(new ModelEntry(this, template_url));
158 const TemplateURL* template_url = *i; local
161 if (!template_url->show_in_default_list() &
241 const TemplateURL* template_url = &GetTemplateURL(index); local
272 const TemplateURL* template_url = &GetTemplateURL(index); local
    [all...]
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
  /external/chromium_org/chrome/browser/search_engines/
template_url_fetcher_callbacks.h 18 // |template_url|. Takes ownership of |template_url|.
19 virtual void ConfirmAddSearchProvider(TemplateURL* template_url,
search_host_to_urls_map.cc 8 #include "chrome/browser/search_engines/template_url.h"
26 void SearchHostToURLsMap::Add(TemplateURL* template_url,
29 DCHECK(template_url);
32 template_url, search_terms_data));
36 host_to_urls_map_[url.host()].insert(template_url);
39 void SearchHostToURLsMap::Remove(TemplateURL* template_url,
42 DCHECK(template_url);
45 template_url, search_terms_data));
53 DCHECK(urls.find(template_url) != urls.end());
55 urls.erase(urls.find(template_url));
    [all...]
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,
55 // Removes the given template_url using only the pointer instead of the value.
58 void RemoveByPointer(TemplateURL* template_url);
template_url_prepopulate_data.h 70 SearchEngineType GetEngineType(const TemplateURL& template_url);
76 // Returns the logo at the specified |size| for |template_url|. If no logo is
80 GURL GetLogoURL(const TemplateURL& template_url, LogoSize size);
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());
  /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 15 #include "chrome/browser/search_engines/template_url.h"
43 ModelEntry(TemplateURLTableModel* model, TemplateURL* template_url)
44 : template_url_(template_url),
53 TemplateURL* template_url() { function in class:ModelEntry
86 GURL favicon_url = template_url()->favicon_url();
151 TemplateURL* template_url = *i; local
154 if (template_url->show_in_default_list())
155 default_entries.push_back(new ModelEntry(this, template_url));
156 else if (template_url->IsExtensionKeyword())
157 extension_entries.push_back(new ModelEntry(this, template_url));
253 TemplateURL* template_url = GetTemplateURL(index); local
287 TemplateURL* template_url = GetTemplateURL(index); local
    [all...]
keyword_editor_controller.cc 10 #include "chrome/browser/search_engines/template_url.h"
48 void KeywordEditorController::ModifyTemplateURL(TemplateURL* template_url,
53 const int index = table_model_->IndexOfTemplateURL(template_url);
61 if ((template_url->short_name() == title) &&
62 (template_url->keyword() == keyword) && (template_url->url() == url))
template_url_fetcher_ui_callbacks.cc 9 #include "chrome/browser/search_engines/template_url.h"
32 TemplateURL* template_url,
34 scoped_ptr<TemplateURL> owned_template_url(template_url);
template_url_fetcher_ui_callbacks.h 29 virtual void ConfirmAddSearchProvider(TemplateURL* template_url,
  /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_org/chrome/browser/ui/omnibox/
omnibox_current_page_delegate.h 50 // Checks whether |template_url| is an extension keyword; if so, asks the
53 virtual bool ProcessExtensionKeyword(TemplateURL* template_url,

Completed in 263 milliseconds

1 2 3 4 5 6