/external/chromium_org/chrome/browser/ui/search_engines/ |
keyword_editor_controller_unittest.cc | 122 // Tests adding a TemplateURL. 138 const TemplateURL* turl = model_->GetTemplateURLs()[0]; 144 // Tests modifying a TemplateURL. 150 TemplateURL* turl = model_->GetTemplateURLs()[0]; 160 // Tests making a TemplateURL the default search provider. 165 const TemplateURL* turl = model_->GetTemplateURLs()[0]; 179 // Tests that a TemplateURL can't be made the default if the default search 186 const TemplateURL* turl1 = 189 const TemplateURL* turl2 = 203 // Tests that a TemplateURL can't be edited if it is the managed default searc [all...] |
/external/chromium_org/chrome/browser/search_engines/ |
template_url_unittest.cc | 77 TemplateURL url(NULL, data); 100 TemplateURL url(NULL, data); 113 TemplateURL url(NULL, data); 125 TemplateURL url(NULL, data); 137 TemplateURL url(NULL, data); 149 TemplateURL url(NULL, data); 161 TemplateURL url(NULL, data); 187 TemplateURL url_bad(NULL, data); 199 TemplateURL url(NULL, data); 272 // Test that setting the prepopulate ID from TemplateURL causes the store [all...] |
template_url_service_android.h | 13 class TemplateURL; 48 bool IsPrepopulatedTemplate(TemplateURL* url);
|
template_url.h | 23 class TemplateURL; 28 // A TemplateURLRef represents a single URL within the larger TemplateURL class 33 // TemplateURLRefs always have a non-NULL |owner_| TemplateURL, which they 116 // indeed TemplateURL know whether a TemplateURL is the default search 138 TemplateURLRef(TemplateURL* owner, Type type); 139 TemplateURLRef(TemplateURL* owner, size_t index_in_owner); 237 friend class TemplateURL; 364 // The TemplateURL that contains us. This should outlive us. 365 TemplateURL* const owner_ [all...] |
/external/chromium/chrome/browser/importer/ |
profile_import_process_client.h | 17 class TemplateURL; 74 const std::vector<TemplateURL>& template_urls,
|
profile_writer.h | 20 class TemplateURL; 101 // TemplateURL at |default_keyword_index| the default keyword (does not set 107 // If unique_on_host_and_path a TemplateURL is only added if there is not an 108 // existing TemplateURL that has a replaceable search url with the same 111 virtual void AddKeywords(const std::vector<TemplateURL*>& template_urls,
|
profile_writer.cc | 156 typedef std::map<std::string, const TemplateURL*> HostPathMap; 164 // Builds the key to use in HostPathMap for the specified TemplateURL. Returns 165 // an empty string if a host+path can't be generated for the TemplateURL. 166 // If an empty string is returned, the TemplateURL should not be added to 170 // from the raw TemplateURL string. Use a value of true for |try_url_if_invalid| 176 // the TemplateURL is invalid. 177 static std::string BuildHostPathKey(const TemplateURL* t_url, 193 // Builds a set that contains an entry of the host+path for each TemplateURL in 197 std::vector<const TemplateURL*> template_urls = model.GetTemplateURLs(); 201 const TemplateURL* existing_turl = (*host_path_map)[host_path] [all...] |
external_process_importer_client.cc | 226 const std::vector<TemplateURL>& template_urls, 231 std::vector<TemplateURL*> template_url_vec; 233 std::vector<TemplateURL>::const_iterator iter; 237 template_url_vec.push_back(new TemplateURL(*iter));
|
importer_bridge.h | 42 virtual void SetKeywords(const std::vector<TemplateURL*>& template_urls,
|
/external/chromium/chrome/browser/search_engines/ |
search_provider_install_data_unittest.cc | 25 // Create a TemplateURL. The caller owns the returned TemplateURL*. 26 static TemplateURL* CreateTemplateURL(const std::string& url, 28 TemplateURL* t_url = new TemplateURL(); 228 TemplateURL* t_url = CreateTemplateURL("http://" + host + "/path", 243 TemplateURL* default_url = CreateTemplateURL("http://" + default_host + "/", 256 TemplateURL* t_url = CreateTemplateURL("http://" + host + "/path", 290 TemplateURL* t_url = CreateTemplateURL("{google:baseURL}?q={searchTerms}", 293 TemplateURL* default_url = CreateTemplateURL("http://d.com/" [all...] |
template_url_unittest.cc | 57 TemplateURL url; 85 TemplateURL t_url; 98 TemplateURL t_url; 109 TemplateURL t_url; 120 TemplateURL t_url; 132 TemplateURL t_url; 143 TemplateURL t_url; 155 TemplateURL t_url; 167 TemplateURL t_url; 193 TemplateURL t_url [all...] |
template_url_prepopulate_data_unittest.cc | 79 ScopedVector<TemplateURL> urls; 117 ScopedVector<TemplateURL> t_urls; 142 ScopedVector<TemplateURL> urls; 161 scoped_ptr<TemplateURL> found_url(
|
/external/chromium/chrome/browser/ui/views/ |
browser_dialogs.h | 29 class TemplateURL; 76 const TemplateURL* template_url,
|
/external/chromium_org/chrome/browser/ |
chrome_content_browser_client_unittest.cc | 56 TemplateURL* template_url = new TemplateURL(browser()->profile(), data);
|
/external/chromium/chrome/browser/webdata/ |
web_data_service.h | 40 class TemplateURL; 107 std::vector<TemplateURL*> keywords; 108 // Identifies the ID of the TemplateURL that is the default search. A value of 317 void AddKeyword(const TemplateURL& url); 319 void RemoveKeyword(const TemplateURL& url); 321 void UpdateKeyword(const TemplateURL& url); 324 // On success, consumer is notified with WDResult<std::vector<TemplateURL*>. 328 void SetDefaultSearchProvider(const TemplateURL* url); 529 typedef GenericRequest2<std::vector<const TemplateURL*>, 530 std::vector<TemplateURL*> > SetKeywordsRequest [all...] |
/external/chromium/chrome/browser/ui/ |
browser_window.h | 25 class TemplateURL; 199 TemplateURL* template_url, 207 virtual void ConfirmAddSearchProvider(const TemplateURL* template_url,
|
/external/chromium/chrome/browser/extensions/ |
extension_omnibox_api.h | 88 const TemplateURL* keyword,
|
/external/chromium/chrome/browser/ui/omnibox/ |
location_bar_util.cc | 17 // Make sure the TemplateURL still exists. 20 const TemplateURL* template_url =
|
/external/chromium/chrome/browser/ui/search_engines/ |
search_engine_tab_helper.cc | 167 const TemplateURL* current_url; 180 TemplateURL* new_url = new TemplateURL(); 196 new_url->SetFaviconURL(TemplateURL::GenerateFaviconURL(params.referrer));
|
/external/chromium/chrome/browser/ui/webui/options/ |
search_engine_manager_handler.h | 33 virtual void OnEditedKeyword(const TemplateURL* template_url,
|
/external/chromium_org/chrome/browser/autocomplete/ |
keyword_provider.cc | 90 bool operator()(const TemplateURL* t_url1, const TemplateURL* t_url2) const { 142 const TemplateURL* KeywordProvider::GetSubstitutingTemplateURLForInput( 153 const TemplateURL* template_url = model->GetTemplateURLForKeyword(keyword); 196 const TemplateURL* const template_url = 202 if (template_url->GetType() == TemplateURL::OMNIBOX_API_EXTENSION) { 276 const TemplateURL* template_url = *i; 281 (template_url->GetType() == TemplateURL::OMNIBOX_API_EXTENSION)) { 314 const TemplateURL* template_url = matches.front(); 316 template_url->GetType() == TemplateURL::OMNIBOX_API_EXTENSION [all...] |
/external/chromium_org/chrome/browser/extensions/api/settings_overrides/ |
settings_overrides_api.h | 17 class TemplateURL;
|
settings_overrides_browsertest.cc | 66 TemplateURL* default_provider = url_service->GetDefaultSearchProvider(); 68 EXPECT_EQ(TemplateURL::NORMAL, default_provider->GetType()); 79 TemplateURL* extension_provider = url_service->GetDefaultSearchProvider(); 80 EXPECT_EQ(TemplateURL::NORMAL_CONTROLLED_BY_EXTENSION,
|
/external/chromium_org/chrome/browser/ui/views/ |
first_run_bubble_unittest.cc | 28 TemplateURL* default_t_url_;
|
/external/chromium_org/chrome/common/importer/ |
firefox_importer_utils.h | 16 class TemplateURL;
|