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

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: Finish renaming. 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..9c4f33e0a40f770afedabbb7ba9b8a12630f88fb 100644
--- a/chrome/browser/instant/instant_loader.h
+++ b/chrome/browser/instant/instant_loader.h
@@ -84,6 +84,10 @@ 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 either started or stopped
+ // capturing user key strokes.
+ void OnKeyCaptureChange(bool is_key_capture_enabled);
+
// 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