| Index: chrome/browser/instant/instant_controller.h
|
| diff --git a/chrome/browser/instant/instant_controller.h b/chrome/browser/instant/instant_controller.h
|
| index 1a08425b39423b7f64eba611099f18fa94b632fc..89081358d56112d3a570889384ed2648c7cd2eb6 100644
|
| --- a/chrome/browser/instant/instant_controller.h
|
| +++ b/chrome/browser/instant/instant_controller.h
|
| @@ -111,6 +111,13 @@ class InstantController : public InstantPage::Delegate {
|
| // handled the key press.
|
| bool OnUpOrDownKeyPressed(int count);
|
|
|
| + // Called when the user has arrowed into the suggestions but wants to cancel,
|
| + // typically by pressing ESC. The omnibox text is expected to have been
|
| + // reverted to |full_text| by the OmniboxEditModel prior to calling this.
|
| + // |match| is the match reverted to.
|
| + void OnCancel(const AutocompleteMatch& match,
|
| + const string16& full_text);
|
| +
|
| // The preview WebContents. May be NULL. InstantController retains ownership.
|
| content::WebContents* GetPreviewContents() const;
|
|
|
|
|