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

Unified Diff: chrome/browser/instant/instant_loader.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
Index: chrome/browser/instant/instant_loader.h
diff --git a/chrome/browser/instant/instant_loader.h b/chrome/browser/instant/instant_loader.h
index 64960326364437101011d5107a0194c41239e42c..2313542de9289470cde3312f72726043596ddc68 100644
--- a/chrome/browser/instant/instant_loader.h
+++ b/chrome/browser/instant/instant_loader.h
@@ -68,6 +68,10 @@ class InstantLoader : public content::NotificationObserver {
void SendAutocompleteResults(
const std::vector<InstantAutocompleteResult>& results);
+ // Tells the preview page that the user pressed the up or down key. |count|
+ // is a repeat count, negative for moving up, positive for moving down.
+ void OnUpOrDownKeyPressed(int count);
+
// Releases the preview TabContents passing ownership to the caller. This
// should be called when the preview is committed. Notifies the page but not
// the delegate. |text| is the final omnibox text being committed. NOTE: The

Powered by Google App Engine
This is Rietveld 408576698