HomeSort by relevance Sort by last modified time
    Searched refs:TemplateURL (Results 26 - 50 of 130) sorted by null

12 3 4 5 6

  /external/chromium_org/chrome/browser/search_engines/
util.cc 30 const TemplateURL* const default_provider =
47 const TemplateURL* default_provider = service->GetDefaultSearchProvider();
61 TemplateURL* default_search_provider,
68 // For convenience construct an ID->TemplateURL* map from |prepopulated_urls|.
78 typedef std::multimap<int, TemplateURL*> UncheckedURLMap;
83 TemplateURL* turl = *i;
153 // Returns the TemplateURL with id specified from the list of TemplateURLs.
155 TemplateURL* GetTemplateURLByID(
167 TemplateURL* FindURLByPrepopulateID(
170 for (std::vector<TemplateURL*>::const_iterator i = template_urls.begin()
    [all...]
search_provider_install_data.cc 36 const base::Callback<void(ScopedVector<TemplateURL>,
37 TemplateURL*)>& callback) {
38 ScopedVector<TemplateURL> template_url_copies;
39 TemplateURL* default_provider_copy = NULL;
42 TemplateURL* original_default_provider =
48 template_url_copies.push_back(new TemplateURL((*it)->data()));
177 TemplateURL* template_url,
180 DCHECK(template_url->GetType() != TemplateURL::OMNIBOX_API_EXTENSION);
262 ScopedVector<TemplateURL> template_urls,
263 TemplateURL* default_provider)
    [all...]
template_url_service_sync_unittest.cc 55 syncer::SyncData CreateCustomSyncData(const TemplateURL& turl,
171 // Create a TemplateURL with some test values. The caller owns the returned
172 // TemplateURL*.
173 TemplateURL* CreateTestTemplateURL(const base::string16& keyword,
182 void AssertEquals(const TemplateURL& expected,
183 const TemplateURL& actual) const;
193 TemplateURL* turl) const;
202 TemplateURL* Deserialize(const syncer::SyncData& sync_data);
204 // Creates a new TemplateURL copying the fields of |turl| but replacing
207 // TemplateURL*
    [all...]
template_url_service_android.cc 56 std::vector<TemplateURL*> template_urls =
62 TemplateURL* template_url = template_urls[selected_index_size_t];
70 std::vector<TemplateURL*> template_urls =
72 TemplateURL* default_search_provider =
96 const TemplateURL* default_search_provider =
106 TemplateURL* default_search_provider =
117 TemplateURL* template_url = template_url_service_->GetTemplateURLs()[index];
129 bool TemplateUrlServiceAndroid::IsPrepopulatedTemplate(TemplateURL* url) {
147 const TemplateURL* default_provider =
187 TemplateURL* default_provider
    [all...]
template_url_service_util_unittest.cc 27 // Creates a TemplateURL with default values except for the prepopulate ID,
30 scoped_ptr<TemplateURL> CreatePrepopulateTemplateURL(int prepopulate_id,
33 return make_scoped_ptr(new TemplateURL(
77 TemplateURL* default_turl =
search_host_to_urls_map.cc 25 void SearchHostToURLsMap::Add(TemplateURL* template_url,
37 void SearchHostToURLsMap::Remove(TemplateURL* template_url,
57 TemplateURL* SearchHostToURLsMap::GetTemplateURLForHost(
85 void SearchHostToURLsMap::RemoveByPointer(TemplateURL* template_url) {
93 // A given TemplateURL only occurs once in the map. As soon as we find the
template_url_fetcher.h 15 class TemplateURL;
23 // documents, creating a TemplateURL from the OSDD, and adding the TemplateURL
38 // it is downloaded. If successful and the result can be parsed, a TemplateURL
42 // and if there's already a non-replaceable TemplateURL in the model for
template_url_unittest.cc 99 TemplateURL url(data);
122 TemplateURL url(data);
135 TemplateURL url(data);
147 TemplateURL url(data);
159 TemplateURL url(data);
171 TemplateURL url(data);
183 TemplateURL url(data);
209 TemplateURL url_bad(data);
221 TemplateURL url(data);
299 // Test that setting the prepopulate ID from TemplateURL causes the store
    [all...]
template_url.cc 235 TemplateURLRef::TemplateURLRef(TemplateURL* owner, Type type)
249 TemplateURLRef::TemplateURLRef(TemplateURL* owner, size_t index_in_owner)
    [all...]
template_url.h 24 class TemplateURL;
29 // A TemplateURLRef represents a single URL within the larger TemplateURL class
34 // TemplateURLRefs always have a non-NULL |owner_| TemplateURL, which they
157 // indeed TemplateURL know whether a TemplateURL is the default search
185 TemplateURLRef(TemplateURL* owner, Type type);
186 TemplateURLRef(TemplateURL* owner, size_t index_in_owner);
268 friend class TemplateURL;
395 // The TemplateURL that contains us. This should outlive us.
396 TemplateURL* const owner_
    [all...]
  /external/chromium_org/chrome/browser/ui/search_engines/
template_url_fetcher_ui_callbacks.h 29 virtual void ConfirmAddSearchProvider(TemplateURL* template_url,
template_url_table_model.h 18 class TemplateURL;
32 // each row in the tableview. Each ModelEntry wraps a TemplateURL, providing
75 // Returns the TemplateURL at the specified index.
76 TemplateURL* GetTemplateURL(int index);
78 // Returns the index of the TemplateURL, or -1 if it the TemplateURL is not
80 int IndexOfTemplateURL(const TemplateURL* template_url);
87 // Make the TemplateURL at |index| the default. Returns the new index, or -1
template_url_table_model.cc 35 // ModelEntry wraps a TemplateURL as returned from the TemplateURL.
43 ModelEntry(TemplateURLTableModel* model, TemplateURL* template_url)
53 TemplateURL* template_url() {
93 favicon_url = TemplateURL::GenerateFaviconURL(url);
116 TemplateURL* template_url_;
154 TemplateURL* template_url = *i;
159 else if (template_url->GetType() == TemplateURL::OMNIBOX_API_EXTENSION)
191 const TemplateURL* url = entries_[row]->template_url();
256 TemplateURL* template_url = GetTemplateURL(index)
    [all...]
edit_search_engine_controller.cc 20 TemplateURL* template_url,
42 // TemplateURL owner because |template_url_| might be NULL and we can't call
46 TemplateURL t_url(data);
73 const TemplateURL* turl_with_keyword =
89 TemplateURL* existing =
140 TemplateURL t_url(data);
keyword_editor_controller_unittest.cc 128 // Tests adding a TemplateURL.
142 const TemplateURL* turl = util()->model()->GetTemplateURLForKeyword(kB);
149 // Tests modifying a TemplateURL.
155 TemplateURL* turl = util()->model()->GetTemplateURLs()[0];
165 // Tests making a TemplateURL the default search provider.
170 const TemplateURL* turl = util()->model()->GetTemplateURLForKeyword(kB);
184 // Tests that a TemplateURL can't be made the default if the default search
191 const TemplateURL* turl1 =
194 const TemplateURL* turl2 =
208 // Tests that a TemplateURL can't be edited if it is the managed default searc
    [all...]
search_engine_tab_helper.cc 61 return TemplateURL::GenerateKeyword(url);
174 TemplateURL* current_url;
201 current_favicon : TemplateURL::GenerateFaviconURL(params.referrer.url);
204 url_service->Add(new TemplateURL(data));
  /external/chromium_org/chrome/browser/ui/views/
edit_search_engine_dialog.h 24 class TemplateURL;
30 EditSearchEngineDialog(TemplateURL* template_url,
37 TemplateURL* template_url,
first_run_bubble_unittest.cc 28 TemplateURL* default_t_url_;
  /external/chromium_org/chrome/browser/autocomplete/
keyword_provider.cc 46 bool operator()(const TemplateURL* t_url1, const TemplateURL* t_url2) const {
139 const TemplateURL* KeywordProvider::GetSubstitutingTemplateURLForInput(
150 const TemplateURL* template_url = model->GetTemplateURLForKeyword(keyword);
194 const TemplateURL* const template_url =
201 if ((template_url->GetType() == TemplateURL::OMNIBOX_API_EXTENSION) &&
266 const TemplateURL* template_url = *i;
271 (template_url->GetType() == TemplateURL::OMNIBOX_API_EXTENSION) &&
299 const TemplateURL* template_url = matches.front();
301 template_url->GetType() == TemplateURL::OMNIBOX_API_EXTENSION
    [all...]
search_provider.h 106 const TemplateURL* GetDefaultProviderURL() const;
107 const TemplateURL* GetKeywordProviderURL() const;
153 virtual const TemplateURL* GetTemplateURL(bool is_keyword) const OVERRIDE;
195 const TemplateURL* template_url,
  /external/chromium_org/chrome/browser/importer/
in_process_importer_bridge.cc 90 // Creates a TemplateURL with the |keyword| and |url|. |title| may be empty.
91 // This function transfers ownership of the created TemplateURL to the caller.
92 TemplateURL* CreateTemplateURL(const base::string16& title,
101 data.SetKeyword(TemplateURL::GenerateKeyword(url));
109 return new TemplateURL(data);
116 std::vector<TemplateURL*>* search_engines) {
119 typedef std::map<std::string, TemplateURL*> SearchEnginesMap;
127 TemplateURL* template_url = TemplateURLParser::Parse(NULL, true,
221 ScopedVector<TemplateURL> owned_template_urls;
235 std::vector<TemplateURL*> search_engines
    [all...]
  /external/chromium_org/chrome/browser/extensions/api/settings_overrides/
settings_overrides_browsertest.cc 66 TemplateURL* default_provider = url_service->GetDefaultSearchProvider();
68 EXPECT_EQ(TemplateURL::NORMAL, default_provider->GetType());
83 TemplateURL* extension_provider = url_service->GetDefaultSearchProvider();
84 EXPECT_EQ(TemplateURL::NORMAL_CONTROLLED_BY_EXTENSION,
  /external/chromium_org/chrome/browser/ui/omnibox/
omnibox_current_page_delegate_impl.h 30 TemplateURL* template_url,
  /external/chromium_org/chrome/browser/ui/search/
instant_test_utils.cc 68 TemplateURL* template_url = new TemplateURL(data);
83 TemplateURL* template_url = new TemplateURL(data);
  /external/chromium_org/chrome/common/importer/
firefox_importer_utils.h 16 class TemplateURL;

Completed in 1447 milliseconds

12 3 4 5 6