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

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: Reverted back to asvitkine's fix. REALLY answered PK's 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..00d98ffa1c3dcec03d8ee00a46c81d5d8a52f361 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(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