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

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

Issue 14562006: Handle Esc key press event in Local NTP. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: '' Created 7 years, 8 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_controller.h
diff --git a/chrome/browser/ui/search/instant_controller.h b/chrome/browser/ui/search/instant_controller.h
index 3030b7a68252c7187c4fb3ea3984b60db1fd88e1..f5a90696e6224c6e3b246e7838bfd1aefb6339f3 100644
--- a/chrome/browser/ui/search/instant_controller.h
+++ b/chrome/browser/ui/search/instant_controller.h
@@ -378,6 +378,9 @@ class InstantController : public InstantPage::Delegate,
// Returns true if the local page is being used.
bool UsingLocalPage() const;
+ // Sends the Escape key press event to the InstantPage.
+ void OnEscKeyPressed() const;
+
BrowserInstantController* const browser_;
// Whether the extended API and regular API are enabled. If both are false,

Powered by Google App Engine
This is Rietveld 408576698