Home | History | Annotate | Download | only in search_engines

Lines Matching refs:TemplateURLRef

26 // The main use case for TemplateURL is to use the TemplateURLRef returned by
35 // TemplateURLRef.
40 // Both TemplateURL and TemplateURLRef have value semantics. This allows the
42 class TemplateURLRef {
53 TemplateURLRef();
55 TemplateURLRef(const std::string& url, int index_offset, int page_offset);
57 ~TemplateURLRef();
69 // If this TemplateURLRef does not support replacement (SupportsReplacement
98 // Returns true if the TemplateURLRef is valid. An invalid TemplateURLRef is
105 // Returns a string representation of this TemplateURLRef suitable for
110 // understood by TemplateURLRef.
113 // If this TemplateURLRef is valid and contains one search term, this returns
118 // If this TemplateURLRef is valid and contains one search term, this returns
127 // Returns true if this TemplateURLRef has a replacement term of
132 static bool SameUrlRefs(const TemplateURLRef* ref1,
133 const TemplateURLRef* ref2);
175 // TemplateURLRef internally caches values to make replacement quick. This
320 // Be sure and check the resulting TemplateURLRef for SupportsReplacement
325 const TemplateURLRef* suggestions_url() const {
330 // Be sure and check the resulting TemplateURLRef for SupportsReplacement
333 // Returns the TemplateURLRef that may be used for search results. This
335 const TemplateURLRef* url() const {
340 // the resulting TemplateURLRef for SupportsReplacement before using. See
341 // TemplateURLRef for a description of |index_offset| and |page_offset|.
343 // Returns the TemplateURLRef that may be used for search results. This
345 const TemplateURLRef* instant_url() const {
381 // a TemplateURLRef that supports replacement. Use ShowInDefaultList to
390 // TemplateURLRef that supports replacement.
495 TemplateURLRef suggestions_url_;
496 TemplateURLRef url_;
497 TemplateURLRef instant_url_;