| Index: chrome/browser/autocomplete/keyword_provider.h
|
| ===================================================================
|
| --- chrome/browser/autocomplete/keyword_provider.h (revision 95169)
|
| +++ chrome/browser/autocomplete/keyword_provider.h (working copy)
|
| @@ -71,6 +71,16 @@
|
| const AutocompleteInput& input,
|
| string16* remaining_input);
|
|
|
| + // If |text| corresponds (in the sense of
|
| + // TemplateURLModel::CleanUserInputKeyword()) to an enabled, substituting
|
| + // keyword, returns that keyword; returns the empty string otherwise.
|
| + string16 GetKeywordForText(const string16& text) const;
|
| +
|
| + // Creates a fully marked-up AutocompleteMatch for a specific keyword.
|
| + AutocompleteMatch CreateAutocompleteMatch(
|
| + const string16& keyword,
|
| + const AutocompleteInput& input);
|
| +
|
| // AutocompleteProvider
|
| virtual void Start(const AutocompleteInput& input, bool minimal_changes);
|
| virtual void Stop();
|
| @@ -137,6 +147,8 @@
|
| const NotificationSource& source,
|
| const NotificationDetails& details);
|
|
|
| + TemplateURLService* GetTemplateURLService() const;
|
| +
|
| // Model for the keywords. This is only non-null when testing, otherwise the
|
| // TemplateURLService from the Profile is used.
|
| TemplateURLService* model_;
|
|
|