| Index: chrome/browser/instant/instant_client.cc
|
| diff --git a/chrome/browser/instant/instant_client.cc b/chrome/browser/instant/instant_client.cc
|
| index eb045bc7e514b5860c439896fb8c7e0862b336d2..a57dd61e2b0cf8e1a324d987e61fbf1f18343c0a 100644
|
| --- a/chrome/browser/instant/instant_client.cc
|
| +++ b/chrome/browser/instant/instant_client.cc
|
| @@ -92,6 +92,8 @@ bool InstantClient::OnMessageReceived(const IPC::Message& message) {
|
| StartCapturingKeyStrokes);
|
| IPC_MESSAGE_HANDLER(ChromeViewHostMsg_StopCapturingKeyStrokes,
|
| StopCapturingKeyStrokes);
|
| + IPC_MESSAGE_HANDLER(ChromeViewHostMsg_SearchBoxNavigate,
|
| + SearchBoxNavigate);
|
| IPC_MESSAGE_UNHANDLED(handled = false)
|
| IPC_END_MESSAGE_MAP()
|
| return handled;
|
| @@ -126,3 +128,8 @@ void InstantClient::StopCapturingKeyStrokes(int page_id) {
|
| if (web_contents()->IsActiveEntry(page_id))
|
| delegate_->StopCapturingKeyStrokes();
|
| }
|
| +
|
| +void InstantClient::SearchBoxNavigate(int page_id, const GURL& url) {
|
| + if (web_contents()->IsActiveEntry(page_id))
|
| + delegate_->NavigateToURL(url);
|
| +}
|
|
|