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

1 2 3 4 5

  /external/chromium/chrome/browser/search_engines/
template_url_fetcher_callbacks.h 10 class TemplateURL;
22 TemplateURL* template_url,
28 TemplateURL* template_url,
search_host_to_urls_map.h 17 class TemplateURL;
24 typedef std::set<const TemplateURL*> TemplateURLSet;
30 void Init(const std::vector<const TemplateURL*>& template_urls,
33 // Adds a new TemplateURL to the map. Since |template_url| is owned
35 void Add(const TemplateURL* template_url,
38 // Removes the TemplateURL from the lookup.
39 void Remove(const TemplateURL* template_url);
41 // Updates information in an existing TemplateURL. Note: Using Remove and
44 void Update(const TemplateURL* existing_turl,
45 const TemplateURL& new_values
    [all...]
template_url_prepopulate_data.h 13 class TemplateURL;
29 std::vector<TemplateURL*>* t_urls,
34 TemplateURL* GetPrepopulatedDefaultSearch(PrefService* prefs);
36 // Returns a TemplateURL from the prepopulated data which has the same origin
38 // TemplateURL.
39 TemplateURL* GetEngineForOrigin(PrefService* prefs, const GURL& url_to_find);
util.h 16 class TemplateURL;
27 // TemplateURL* returned in template_urls.
39 std::vector<TemplateURL*>* template_urls,
40 const TemplateURL** default_search_provider,
template_url_model.h 54 // TemplateURLModel takes ownership of any TemplateURL passed to it. If there
62 typedef std::vector<const TemplateURL*> TemplateURLVector;
65 // Each initializer is mapped to a TemplateURL.
90 static GURL GenerateSearchURL(const TemplateURL* t_url);
96 const TemplateURL* t_url,
99 // Returns true if there is no TemplateURL that conflicts with the
105 // a TemplateURL for an existing TemplateURL that shares the same host.
108 const TemplateURL** template_url_to_replace);
121 const TemplateURL* GetTemplateURLForKeyword(const string16& keyword) const
    [all...]
template_url_parser.h 13 class TemplateURL;
29 // Decodes the chunk of data representing a TemplateURL. If data does
30 // not describe a valid TemplateURL false is returned. Additionally, if the
37 // NOTE: This does not clear all values of the supplied TemplateURL; it's
38 // expected callers will supply a new TemplateURL to this method.
42 TemplateURL* url);
search_provider_install_data.h 24 class TemplateURL;
75 void SetDefault(const TemplateURL* template_url);
98 ScopedVector<const TemplateURL> template_urls_;
search_host_to_urls_map.cc 20 const std::vector<const TemplateURL*>& template_urls,
31 void SearchHostToURLsMap::Add(const TemplateURL* template_url,
44 void SearchHostToURLsMap::Remove(const TemplateURL* template_url) {
63 void SearchHostToURLsMap::Update(const TemplateURL* existing_turl,
64 const TemplateURL& new_values,
73 TemplateURL* modifiable_turl = const_cast<TemplateURL*>(existing_turl);
85 std::vector<const TemplateURL*> t_urls_using_base_url;
91 const TemplateURL* t_url = *url_set_iterator;
107 const TemplateURL* SearchHostToURLsMap::GetTemplateURLForHost
    [all...]
util.cc 23 const TemplateURL* const default_provider =
40 std::vector<TemplateURL*>* template_urls,
46 for (std::vector<TemplateURL*>::iterator i = template_urls->begin();
70 std::vector<TemplateURL*>* template_urls,
71 const TemplateURL** default_search_provider) {
76 // Build a map from prepopulate id to TemplateURL of existing urls.
77 typedef std::map<int, TemplateURL*> IDMap;
79 for (std::vector<TemplateURL*>::iterator i(template_urls->begin());
86 std::vector<TemplateURL*> prepopulated_urls;
95 scoped_ptr<TemplateURL> prepopulated_url(prepopulated_urls[i])
    [all...]
search_host_to_urls_map_unittest.cc 30 TemplateURL t_urls_[2];
42 std::vector<const TemplateURL*> template_urls;
53 TemplateURL new_t_url;
64 const TemplateURL* found_url = provider_map_->GetTemplateURLForHost(host_);
81 TemplateURL new_values;
97 TemplateURL new_t_url;
111 const TemplateURL* found_url = provider_map_->GetTemplateURLForHost(host_);
116 const TemplateURL* found_url = provider_map_->GetTemplateURLForHost(
129 const TemplateURL* url = *i;
  /external/chromium/chrome/browser/ui/search_engines/
search_engine_tab_helper_delegate.h 11 class TemplateURL;
22 TemplateURL* template_url,
27 virtual void ConfirmAddSearchProvider(const TemplateURL* template_url,
keyword_editor_controller.h 17 class TemplateURL;
35 // Invoked when the user modifies a TemplateURL. Updates the TemplateURLModel
37 void ModifyTemplateURL(const TemplateURL* template_url,
43 bool CanEdit(const TemplateURL* url) const;
46 bool CanMakeDefault(const TemplateURL* url) const;
49 bool CanRemove(const TemplateURL* url) const;
51 // Remove the TemplateURL at the specified index in the TableModel.
54 // Make the TemplateURL at the specified index (into the TableModel) the
61 // Return the TemplateURL corresponding to the |index| in the model.
62 const TemplateURL* GetTemplateURL(int index) const
    [all...]
edit_search_engine_controller.h 15 class TemplateURL;
22 // indicates a new TemplateURL should be created rather than modifying an
23 // existing TemplateURL.
24 virtual void OnEditedKeyword(const TemplateURL* template_url,
39 const TemplateURL* template_url,
63 // Deletes an unused TemplateURL, if its add was cancelled and it's not
68 const TemplateURL* template_url() const { return template_url_; }
73 // suitable for use by TemplateURL.
76 // The TemplateURL we're displaying information for. It may be NULL. If we
77 // have a keyword_editor_view, we assume that this TemplateURL is already i
    [all...]
template_url_fetcher_ui_callbacks.cc 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,
keyword_editor_controller.cc 39 TemplateURL* template_url = new TemplateURL();
55 void KeywordEditorController::ModifyTemplateURL(const TemplateURL* template_url,
81 bool KeywordEditorController::CanEdit(const TemplateURL* url) const {
86 bool KeywordEditorController::CanMakeDefault(const TemplateURL* url) const {
90 bool KeywordEditorController::CanRemove(const TemplateURL* url) const {
108 const TemplateURL* KeywordEditorController::GetTemplateURL(int index) const {
template_url_table_model.h 19 class TemplateURL;
29 // each row in the tableview. Each ModelEntry wraps a TemplateURL, providing
57 void Add(int index, TemplateURL* template_url);
68 // Returns The TemplateURL at the specified index.
69 const TemplateURL& GetTemplateURL(int index);
71 // Returns the index of the TemplateURL, or -1 if it the TemplateURL is not
73 int IndexOfTemplateURL(const TemplateURL* template_url);
80 // Make the TemplateURL at |index| the default. Returns the new index, or -1
edit_search_engine_controller.cc 17 const TemplateURL* template_url,
54 return GURL(template_ref.ReplaceSearchTerms(TemplateURL(), ASCIIToUTF16("a"),
63 const TemplateURL* turl_with_keyword =
76 const TemplateURL* existing =
96 // does in a similar situation (updating an existing TemplateURL with
98 TemplateURL* modifiable_url = const_cast<TemplateURL*>(template_url_);
135 TemplateURL t_url;
template_url_table_model.cc 29 // ModelEntry wraps a TemplateURL as returned from the TemplateURL.
38 const TemplateURL& template_url)
48 const TemplateURL& template_url() {
88 favicon_url = TemplateURL::GenerateFaviconURL(url);
110 const TemplateURL& template_url_;
141 std::vector<const TemplateURL*> urls = template_url_model_->GetTemplateURLs();
144 for (std::vector<const TemplateURL*>::iterator i = urls.begin();
146 const TemplateURL& template_url = *(*i);
156 for (std::vector<const TemplateURL*>::iterator i = urls.begin()
    [all...]
  /external/chromium/chrome/browser/webdata/
keyword_table.h 15 class TemplateURL;
27 // TemplateURL. See TemplateURL for more details.
43 // prepopulate_id See TemplateURL::prepopulate_id.
45 // logo_id See TemplateURL::logo_id
46 // created_by_policy See TemplateURL::created_by_policy. This was added
48 // instant_url See TemplateURL::instant_url. This was added
61 bool AddKeyword(const TemplateURL& url);
70 bool GetKeywords(std::vector<TemplateURL*>* urls);
74 bool UpdateKeyword(const TemplateURL& url)
    [all...]
  /external/chromium/chrome/browser/ui/views/
default_search_view.h 21 class TemplateURL;
44 TemplateURL* ,
67 TemplateURL* proposed_default_turl,
83 scoped_ptr<TemplateURL> proposed_turl_;
first_run_search_engine_view.h 26 class TemplateURL;
29 // This class holds the logo and TemplateURL for a search engine and serves
38 const TemplateURL* search_engine,
54 const TemplateURL* GetSearchEngine() { return search_engine_; }
69 const TemplateURL* search_engine_;
  /external/chromium/chrome/browser/importer/
firefox_importer_utils.h 18 class TemplateURL;
74 std::vector<TemplateURL*>* search_engines);
79 const std::vector<TemplateURL*>& search_engines,
  /external/chromium/chrome/browser/ui/cocoa/
search_engine_dialog_controller.h 15 class TemplateURL;
34 std::vector<const TemplateURL*> choices_;
  /external/chromium/chrome/browser/autocomplete/
search_provider.h 99 bool equals(const TemplateURL* default_provider,
100 const TemplateURL* keyword_provider) {
106 void Set(const TemplateURL* default_provider,
107 const TemplateURL* keyword_provider);
109 const TemplateURL& default_provider() const {
114 const TemplateURL& keyword_provider() const {
146 TemplateURL cached_default_provider_;
147 TemplateURL cached_keyword_provider_;
150 const TemplateURL* default_provider_;
151 const TemplateURL* keyword_provider_
    [all...]

Completed in 292 milliseconds

1 2 3 4 5