| Index: components/omnibox/autocomplete_match.h
|
| diff --git a/components/omnibox/autocomplete_match.h b/components/omnibox/autocomplete_match.h
|
| index 0464d73ac275e41a2c753bc5a6925828ddc70cbd..53fa3417db5cdf03c1460ecc2e346acc679887ce 100644
|
| --- a/components/omnibox/autocomplete_match.h
|
| +++ b/components/omnibox/autocomplete_match.h
|
| @@ -10,6 +10,7 @@
|
| #include <vector>
|
|
|
| #include "base/memory/scoped_ptr.h"
|
| +#include "components/omnibox/autocomplete_input.h"
|
| #include "components/omnibox/autocomplete_match_type.h"
|
| #include "components/search_engines/template_url.h"
|
| #include "ui/base/page_transition_types.h"
|
| @@ -259,6 +260,14 @@ struct AutocompleteMatch {
|
| // This is used to decide whether we should call DeleteMatch().
|
| bool SupportsDeletion() const;
|
|
|
| + // Swaps the contents and description fields, and their associated
|
| + // classifications, if this is a match for which we should emphasize the
|
| + // title (stored in the description field) over the URL (in the contents
|
| + // field). See the implementation for the conditions under which this is
|
| + // true.
|
| + void PossiblySwapContentsAndDescriptionForURLSuggestion(
|
| + const AutocompleteInput& input);
|
| +
|
| // The provider of this match, used to remember which provider the user had
|
| // selected when the input changes. This may be NULL, in which case there is
|
| // no provider (or memory of the user's selection).
|
|
|