Lines Matching defs:keyword

67     const char* const keyword;
77 // Generates a suitable keyword for the specified url. Returns an empty
78 // string if a keyword couldn't be generated. If |autodetected| is true, we
84 // Removes any unnecessary characters from a user input keyword.
86 static string16 CleanUserInputKeyword(const string16& keyword);
100 // keyword/url pair, or there is one but it can be replaced. If there is an
101 // existing keyword that can be replaced and template_url_to_replace is
102 // non-NULL, template_url_to_replace is set to the keyword to replace.
106 bool CanReplaceKeyword(const string16& keyword,
117 // Looks up |keyword| and returns the element it maps to. Returns NULL if
118 // the keyword was not found.
121 const TemplateURL* GetTemplateURLForKeyword(const string16& keyword) const;
131 // Removes the keyword from the model. This deletes the supplied TemplateURL.
144 // If the given extension has an omnibox keyword, adds a TemplateURL for that
145 // keyword. Only 1 keyword is allowed for a given extension. If the keyword
149 // Removes the TemplateURL containing the keyword for the given extension,
153 // Returns the TemplateURL associated with the keyword for this extension.
154 // This works by checking the extension ID, not the keyword, so it will work
155 // even if the user changed the keyword.
163 // Increment the usage count of a keyword.
164 // Called when a URL is loaded that was generated from a keyword.
167 // Resets the title, keyword and search url of the specified TemplateURL.
171 const string16& keyword,
211 // Returns the locale-direction-adjusted short name for the given keyword.
212 // Also sets the out param to indicate whether the keyword belongs to an
214 string16 GetKeywordShortName(const string16& keyword,
219 // . NOTIFY_HISTORY_URL_VISITED: adds keyword search terms if the visit
220 // corresponds to a keyword.
271 // Removes the supplied template_url from the keyword maps. This searches
272 // through all entries in the keyword map and does not generate the host or
273 // keyword. This is used when the cached content of the TemplateURL changes.
310 // uniqueness of the keyword or host and is intended to be called after those
330 // If necessary, generates a visit for the site http:// + t_url.keyword().
364 // Removes the keyword from the model. This deletes the supplied TemplateURL.
375 // Mapping from keyword to the TemplateURL.