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

Unified Diff: chrome/browser/instant/instant_controller.h

Issue 10918289: Instant extended API: Make arrow up/down work. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Hackiness noted Created 8 years, 3 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
« no previous file with comments | « no previous file | chrome/browser/instant/instant_controller.cc » ('j') | chrome/common/render_messages.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/instant/instant_controller.h
diff --git a/chrome/browser/instant/instant_controller.h b/chrome/browser/instant/instant_controller.h
index d2510e49414c8cbba18a91452fad8fba4bea810c..1d6930f6fea51a1a91c0917ebed6cd4106b0f145 100644
--- a/chrome/browser/instant/instant_controller.h
+++ b/chrome/browser/instant/instant_controller.h
@@ -110,6 +110,11 @@ class InstantController : public InstantLoaderDelegate {
void HandleAutocompleteResults(
const std::vector<AutocompleteProvider*>& providers);
+ // Called when the user presses up or down. |count| is a repeat count,
+ // negative for moving up, positive for moving down. Returns true if Instant
+ // handled the key press.
+ bool OnUpOrDownKeyPressed(int count);
+
// The preview TabContents. May be NULL if ReleasePreviewContents() has been
// called, with no subsequent successful call to Update(). InstantController
// retains ownership of the object.
« no previous file with comments | « no previous file | chrome/browser/instant/instant_controller.cc » ('j') | chrome/common/render_messages.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698