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..030bec2dbba1519bf1466e8283da7f58b3dc7d26 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. |
+ virtual void AcceptCurrentInstantPreview() {} |
+ |
// Sets the suggested search text to |suggested_text|. |
virtual void OnSetSuggestedSearchText(const string16& suggested_text) = 0; |