Index: chrome/browser/instant/instant_controller.cc |
diff --git a/chrome/browser/instant/instant_controller.cc b/chrome/browser/instant/instant_controller.cc |
index f6c77257a3a0fc552bcbffa261dddca92df7700b..613584314977744b0bce880412250ee2851d7567 100644 |
--- a/chrome/browser/instant/instant_controller.cc |
+++ b/chrome/browser/instant/instant_controller.cc |
@@ -742,6 +742,12 @@ void InstantController::ShowInstantPreview(InstantShownReason reason, |
ShowLoader(reason, height, units); |
} |
+void InstantController::StartCapturingKeyStrokes() { |
+ // Ignore unless the loader is active and on the NTP. |
+ if (extended_enabled_ && !instant_tab_ && model_.mode().is_ntp()) |
+ browser_->FocusOmniboxInvisibly(); |
+} |
+ |
void InstantController::SwappedWebContents() { |
model_.SetPreviewContents(GetPreviewContents()); |
} |