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..b994e29ec94f134c83a369c27c5c4f1628158821 100644 |
--- a/chrome/browser/instant/instant_loader.cc |
+++ b/chrome/browser/instant/instant_loader.cc |
@@ -276,6 +276,16 @@ void InstantLoader::ShowInstantPreview(InstantShownReason reason, |
controller_->ShowInstantPreview(reason, height, units); |
} |
+void InstantLoader::StartCapturingKeyStrokes() { |
+ InstantSupportDetermined(true); |
+ controller_->StartCapturingKeyStrokes(contents()); |
+} |
+ |
+void InstantLoader::StopCapturingKeyStrokes() { |
+ InstantSupportDetermined(true); |
+ // NOTE(samarth): we don't do anything else yet in this case. |
sreeram
2012/12/04 21:54:58
Should this be a "TODO(samarth): Do something" ins
samarth
2012/12/04 22:13:43
Expanded the comment.
|
+} |
+ |
void InstantLoader::Observe(int type, |
const content::NotificationSource& source, |
const content::NotificationDetails& details) { |