| Index: chrome/browser/instant/instant_client.cc
|
| diff --git a/chrome/browser/instant/instant_client.cc b/chrome/browser/instant/instant_client.cc
|
| index 6f23d9a8540191e64a238431b00fd681ec830527..1582a97347321cdaf7f14ab84d93e2d8cf69cdc9 100644
|
| --- a/chrome/browser/instant/instant_client.cc
|
| +++ b/chrome/browser/instant/instant_client.cc
|
| @@ -97,6 +97,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;
|
| @@ -146,3 +148,10 @@ void InstantClient::StopCapturingKeyStrokes(int page_id) {
|
| if (web_contents()->IsActiveEntry(page_id))
|
| delegate_->StopCapturingKeyStrokes();
|
| }
|
| +
|
| +void InstantClient::SearchBoxNavigate(int page_id,
|
| + const GURL& url,
|
| + content::PageTransition transition) {
|
| + if (web_contents()->IsActiveEntry(page_id))
|
| + delegate_->NavigateToURL(url, transition);
|
| +}
|
|
|