Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1407)

Unified Diff: chrome/browser/instant/instant_page.h

Issue 11889003: Fixing ESC in instant-extended. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Minor correction to comments. Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/instant/instant_page.h
diff --git a/chrome/browser/instant/instant_page.h b/chrome/browser/instant/instant_page.h
index 1051b226cdeb2fcd4b6ac9c62b522b901c7e1bfa..78d586714db0448823cc7bbecf1d38d11aadea8d 100644
--- a/chrome/browser/instant/instant_page.h
+++ b/chrome/browser/instant/instant_page.h
@@ -147,6 +147,11 @@ class InstantPage : public content::WebContentsObserver {
// a repeat count, negative for moving up, positive for moving down.
void UpOrDownKeyPressed(int count);
+ // Tells the page that the user pressed Esc in the omnibox after having
+ // arrowed down in the suggestions. The page should reset the selection to
+ // the first suggestion.
+ void EscKeyPressed();
+
// Tells the page that the active tab's search mode has changed.
void SearchModeChanged(const chrome::search::Mode& mode);

Powered by Google App Engine
This is Rietveld 408576698