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

Unified Diff: chrome/browser/ui/search/instant_page.h

Issue 14562006: Handle Esc key press event in Local NTP. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: git cl upload Created 7 years, 7 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/ui/search/instant_page.h
diff --git a/chrome/browser/ui/search/instant_page.h b/chrome/browser/ui/search/instant_page.h
index bd42e86c94d6556097d479baf49cd01ebedb63d8..c4dd8968df8ff8f9c46e8c951f197dc6a816de9c 100644
--- a/chrome/browser/ui/search/instant_page.h
+++ b/chrome/browser/ui/search/instant_page.h
@@ -161,6 +161,9 @@ 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 key in the omnibox.
+ void EscKeyPressed();
+
// 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. Arguments are the same as those for Update().
« no previous file with comments | « chrome/browser/ui/search/instant_extended_interactive_uitest.cc ('k') | chrome/browser/ui/search/instant_page.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698