Index: chrome/browser/instant/instant_loader.cc |
diff --git a/chrome/browser/instant/instant_loader.cc b/chrome/browser/instant/instant_loader.cc |
index 34fa5c0f0d600c5ed7764dfcd3ecdaa5af4ed9bc..6db80904534a8acdad3f0182ac1e32ab47fb1dfa 100644 |
--- a/chrome/browser/instant/instant_loader.cc |
+++ b/chrome/browser/instant/instant_loader.cc |
@@ -276,6 +276,17 @@ void InstantLoader::ShowInstantPreview(InstantShownReason reason, |
controller_->ShowInstantPreview(reason, height, units); |
} |
+void InstantLoader::StartCapturingKeyStrokes() { |
+ InstantSupportDetermined(true); |
+ controller_->StartCapturingKeyStrokes(); |
+} |
+ |
+void InstantLoader::StopCapturingKeyStrokes() { |
+ InstantSupportDetermined(true); |
+ // NOTE(samarth): the current implementation of the key capturing (invisible |
+ // focus) doesn't require doing anything explicitly here. |
+} |
+ |
void InstantLoader::Observe(int type, |
const content::NotificationSource& source, |
const content::NotificationDetails& details) { |