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

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

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.cc
diff --git a/chrome/browser/instant/instant_page.cc b/chrome/browser/instant/instant_page.cc
index 8343975f567aaa52896a14e50c1afb7072ca7874..3e2472346c14b0541673f680fe72b40e0784f391 100644
--- a/chrome/browser/instant/instant_page.cc
+++ b/chrome/browser/instant/instant_page.cc
@@ -63,6 +63,10 @@ void InstantPage::UpOrDownKeyPressed(int count) {
Send(new ChromeViewMsg_SearchBoxUpOrDownKeyPressed(routing_id(), count));
}
+void InstantPage::EscKeyPressed() {
+ Send(new ChromeViewMsg_SearchBoxEscKeyPressed(routing_id()));
+}
+
void InstantPage::SearchModeChanged(const chrome::search::Mode& mode) {
Send(new ChromeViewMsg_SearchBoxModeChanged(routing_id(), mode));
}

Powered by Google App Engine
This is Rietveld 408576698