Index: chrome/browser/instant/instant_controller.h |
diff --git a/chrome/browser/instant/instant_controller.h b/chrome/browser/instant/instant_controller.h |
index 40bbfc8d756f97df7cdb46831f7a3367d8040dc0..aae153ef318d025312b0143f4b8861cbd8eef9a2 100644 |
--- a/chrome/browser/instant/instant_controller.h |
+++ b/chrome/browser/instant/instant_controller.h |
@@ -90,6 +90,11 @@ class InstantController { |
// handled the key press. |
bool OnUpOrDownKeyPressed(int count); |
+ // Called when the user has arrowed into the selections but want to cancel, |
+ // typically by pressing ESC. The omnibox text is expected to have been |
+ // reverted by Chrome prior to calling this. |
+ bool OnCancel(); |
+ |
// The preview WebContents. May be NULL. InstantController retains ownership. |
content::WebContents* GetPreviewContents() const; |