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

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

Issue 11889003: Fixing ESC in instant-extended. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Reworked to send ESC down to JS, added test. 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_loader.cc
diff --git a/chrome/browser/instant/instant_loader.cc b/chrome/browser/instant/instant_loader.cc
index 18f4bddad73187d4742700392e0a83348ee6f46c..85b1a4fea05331ecb05aa0c5f79e4b9ace55e112 100644
--- a/chrome/browser/instant/instant_loader.cc
+++ b/chrome/browser/instant/instant_loader.cc
@@ -261,6 +261,10 @@ void InstantLoader::UpOrDownKeyPressed(int count) {
client_.UpOrDownKeyPressed(count);
}
+void InstantLoader::EscKeyPressed() {
+ client_.EscKeyPressed();
+}
+
void InstantLoader::SearchModeChanged(const chrome::search::Mode& mode) {
client_.SearchModeChanged(mode);
}

Powered by Google App Engine
This is Rietveld 408576698