| Index: chrome/browser/ui/search/instant_page.cc
|
| diff --git a/chrome/browser/ui/search/instant_page.cc b/chrome/browser/ui/search/instant_page.cc
|
| index f4fb89f0f6407d23f4e18c2aa9cda09fe1161519..9c322934f17c9814ff59a9f6d81c4c757ac03c4f 100644
|
| --- a/chrome/browser/ui/search/instant_page.cc
|
| +++ b/chrome/browser/ui/search/instant_page.cc
|
| @@ -207,6 +207,8 @@ bool InstantPage::OnMessageReceived(const IPC::Message& message) {
|
| IPC_MESSAGE_HANDLER(ChromeViewHostMsg_FocusOmnibox, OnFocusOmnibox)
|
| IPC_MESSAGE_HANDLER(ChromeViewHostMsg_SearchBoxNavigate,
|
| OnSearchBoxNavigate);
|
| + IPC_MESSAGE_HANDLER(ChromeViewHostMsg_SearchBoxLogIframeHover,
|
| + OnSearchBoxLogIframeHover);
|
| IPC_MESSAGE_HANDLER(ChromeViewHostMsg_SearchBoxDeleteMostVisitedItem,
|
| OnDeleteMostVisitedItem);
|
| IPC_MESSAGE_HANDLER(ChromeViewHostMsg_SearchBoxUndoMostVisitedDeletion,
|
| @@ -322,6 +324,13 @@ void InstantPage::OnSearchBoxNavigate(int page_id,
|
| contents(), url, transition, disposition, is_search_type);
|
| }
|
|
|
| +void InstantPage::OnSearchBoxLogIframeHover(int page_id, int pos) {
|
| + if (!contents()->IsActiveEntry(page_id))
|
| + return;
|
| +
|
| + delegate_->LogIframeHover(pos);
|
| +}
|
| +
|
| void InstantPage::OnDeleteMostVisitedItem(int page_id, const GURL& url) {
|
| if (!contents()->IsActiveEntry(page_id))
|
| return;
|
|
|