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

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: Added issue number to TODO. 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..68969ebd35dda8f1b9002f59d03bd3909666e5d2 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::CancelSelection(const string16& user_text) {
+ Send(new ChromeViewMsg_SearchBoxCancelSelection(routing_id(), user_text));
+}
+
void InstantPage::SearchModeChanged(const chrome::search::Mode& mode) {
Send(new ChromeViewMsg_SearchBoxModeChanged(routing_id(), mode));
}

Powered by Google App Engine
This is Rietveld 408576698