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

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

Issue 11413217: Instant API: tell page whether the browser is capturing key strokes. (Closed) Base URL: http://git.chromium.org/chromium/src.git@focus
Patch Set: Fix js error. Created 8 years, 1 month 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 10a4e79880c92a3bc4e1062ed89ca7ff0e8760cd..0bde78417124f8212300921e9edc8550a510b770 100644
--- a/chrome/browser/instant/instant_loader.h
+++ b/chrome/browser/instant/instant_loader.h
@@ -84,6 +84,14 @@ class InstantLoader : public content::NotificationObserver {
// is a repeat count, negative for moving up, positive for moving down.
void OnUpOrDownKeyPressed(int count);
+ // Tells the preview page that the browser has started capturing user key
+ // strokes.
+ void OnStartedCapturingKeyStrokes();
+
+ // Tells the preview page that the browser has stopped capturing user key
+ // strokes.
+ void OnStoppedCapturingKeyStrokes();
+
// Tells the preview page that the active tab's search mode has changed.
void SearchModeChanged(const chrome::search::Mode& mode);

Powered by Google App Engine
This is Rietveld 408576698