/external/chromium/chrome/browser/webdata/ |
H A D | 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 157 TemplateURL template_url; local 227 TemplateURL template_url; local [all...] |
H A D | 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 [all...] |
/external/chromium/chrome/browser/ui/search_engines/ |
H A D | 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, argument 59 const int index = table_model_->IndexOfTemplateURL(template_url); 67 if (template_url->short_name() == title && 68 template_url [all...] |
H A D | 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,
|
H A D | 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); 29 ConfirmSetDefaultSearchProvider( TemplateURL* template_url, TemplateURLModel* template_url_model) argument 42 ConfirmAddSearchProvider( TemplateURL* template_url, Profile* profile) argument
|
H A D | 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 37 ModelEntry(TemplateURLTableModel* model, const TemplateURL& template_url) argument 241 const TemplateURL* template_url = &GetTemplateURL(index); local 256 Add(int index, TemplateURL* template_url) argument 272 const TemplateURL* template_url = &GetTemplateURL(index); local 298 IndexOfTemplateURL( const TemplateURL* template_url) argument [all...] |
H A D | 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
|
H A D | template_url_fetcher_ui_callbacks.h | 27 TemplateURL* template_url, 30 TemplateURL* template_url,
|
/external/chromium/chrome/browser/search_engines/ |
H A D | 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,
|
H A D | 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);
|
H A D | search_host_to_urls_map.cc | 9 #include "chrome/browser/search_engines/template_url.h" 31 void SearchHostToURLsMap::Add(const TemplateURL* template_url, argument 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) { argument 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)); 127 RemoveByPointer( const TemplateURL* template_url) argument [all...] |
/external/chromium_org/chrome/browser/search_engines/ |
H A D | template_url_fetcher_callbacks.h | 18 // |template_url|. Takes ownership of |template_url|. 19 virtual void ConfirmAddSearchProvider(TemplateURL* template_url,
|
H A D | search_host_to_urls_map.cc | 8 #include "chrome/browser/search_engines/template_url.h" 26 void SearchHostToURLsMap::Add(TemplateURL* template_url, argument 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, argument 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)); 88 RemoveByPointer(TemplateURL* template_url) argument [all...] |
H A D | 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);
|
H A D | template_url_prepopulate_data.h | 69 SearchEngineType GetEngineType(const TemplateURL& template_url); 75 // Returns the logo at the specified |size| for |template_url|. If no logo is 79 GURL GetLogoURL(const TemplateURL& template_url, LogoSize size);
|
/external/chromium/chrome/browser/ui/omnibox/ |
H A D | 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_org/chrome/browser/ui/search_engines/ |
H A D | 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
|
H A D | template_url_table_model.cc | 15 #include "chrome/browser/search_engines/template_url.h" 43 ModelEntry(TemplateURLTableModel* model, TemplateURL* template_url) argument 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->GetType() == TemplateURL::OMNIBOX_API_EXTENSION) 157 extension_entries.push_back(new ModelEntry(this, template_url)); 253 TemplateURL* template_url = GetTemplateURL(index); local 287 TemplateURL* template_url = GetTemplateURL(index); local 309 IndexOfTemplateURL( const TemplateURL* template_url) argument [all...] |
H A D | search_engine_tab_helper_delegate.h | 20 // |template_url|. Takes ownership of |template_url|. 21 virtual void ConfirmAddSearchProvider(TemplateURL* template_url,
|
H A D | keyword_editor_controller.cc | 10 #include "chrome/browser/search_engines/template_url.h" 48 void KeywordEditorController::ModifyTemplateURL(TemplateURL* template_url, argument 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))
|
H A D | 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); 31 ConfirmAddSearchProvider( TemplateURL* template_url, Profile* profile) argument
|
/external/chromium/chrome/browser/ui/views/ |
H A D | dialog_stubs_gtk.cc | 33 const TemplateURL* template_url, 36 new EditSearchEngineDialog(GTK_WINDOW(parent), template_url, NULL, profile); local 32 EditSearchEngine(gfx::NativeWindow parent, const TemplateURL* template_url, EditSearchEngineControllerDelegate* delegate, Profile* profile) argument
|
H A D | edit_search_engine_dialog.cc | 10 #include "chrome/browser/search_engines/template_url.h" 42 const TemplateURL* template_url, 45 EditSearchEngineDialog::Show(parent, template_url, delegate, profile); 51 const TemplateURL* template_url, 54 : controller_(new EditSearchEngineController(template_url, 62 const TemplateURL* template_url, 66 new EditSearchEngineDialog(template_url, delegate, profile); 81 return UTF16ToWide(l10n_util::GetStringUTF16(controller_->template_url() ? 126 if (controller_->template_url()) { 128 CreateTextfield(controller_->template_url() 41 EditSearchEngine(gfx::NativeWindow parent, const TemplateURL* template_url, EditSearchEngineControllerDelegate* delegate, Profile* profile) argument 50 EditSearchEngineDialog( const TemplateURL* template_url, EditSearchEngineControllerDelegate* delegate, Profile* profile) argument 61 Show(gfx::NativeWindow parent, const TemplateURL* template_url, EditSearchEngineControllerDelegate* delegate, Profile* profile) argument [all...] |
/external/chromium_org/chrome/browser/ui/views/ |
H A D | browser_dialogs.h | 29 // Shows a dialog box that allows a search engine to be edited. |template_url| 35 TemplateURL* template_url,
|
/external/chromium_org/chrome/browser/profile_resetter/ |
H A D | automatic_profile_resetter_delegate.cc | 43 const TemplateURL* template_url) { 45 tree->SetString("search_url", template_url->url()); 47 template_url->search_terms_replacement_key()); 48 tree->SetString("suggest_url", template_url->suggestions_url()); 49 tree->SetString("instant_url", template_url->instant_url()); 50 tree->SetString("image_url", template_url->image_url()); 51 tree->SetString("new_tab_url", template_url->new_tab_url()); 53 template_url->search_url_post_params()); 55 template_url->suggestions_url_post_params()); 57 template_url 42 BuildSubTreeFromTemplateURL( const TemplateURL* template_url) argument [all...] |