Chromium Code Reviews| Index: chrome/browser/autocomplete/autocomplete_edit.h |
| diff --git a/chrome/browser/autocomplete/autocomplete_edit.h b/chrome/browser/autocomplete/autocomplete_edit.h |
| index 90fc643b284cb9683c855333f1293f9862433328..b882e3cb5115a9eb5a594bb2bd30881c967cf09b 100644 |
| --- a/chrome/browser/autocomplete/autocomplete_edit.h |
| +++ b/chrome/browser/autocomplete/autocomplete_edit.h |
| @@ -50,6 +50,9 @@ class AutocompleteEditController { |
| // autocomplete. Returns true if the text was committed. |
| virtual bool OnCommitSuggestedText(const std::wstring& typed_text) = 0; |
| + // Accepts the currently showing instant preview, if any. |
|
sky
2010/12/01 15:53:16
Document return value. In facvt, do you even need
Evan Stade
2010/12/01 18:37:25
will do. We do need it because we need to know if
|
| + virtual bool AcceptCurrentInstantPreview() { return false; } |
| + |
| // Sets the suggested search text to |suggested_text|. |
| virtual void OnSetSuggestedSearchText(const string16& suggested_text) = 0; |