Home | History | Annotate | Download | only in search

Lines Matching refs:mock_delegate

141     search_tab_helper->ipc_router().set_delegate_for_testing(mock_delegate());
167 MockSearchIPCRouterDelegate* mock_delegate() { return &delegate_; }
206 EXPECT_CALL(*mock_delegate(), NavigateToURL(destination_url, CURRENT_TAB,
226 EXPECT_CALL(*mock_delegate(), OnSetVoiceSearchSupport(true)).Times(1);
239 EXPECT_CALL(*mock_delegate(), OnSetVoiceSearchSupport(true)).Times(0);
256 EXPECT_CALL(*mock_delegate(), FocusOmnibox(OMNIBOX_FOCUS_VISIBLE)).Times(1);
275 EXPECT_CALL(*mock_delegate(), FocusOmnibox(OMNIBOX_FOCUS_VISIBLE)).Times(0);
314 EXPECT_CALL(*mock_delegate(), NavigateToURL(destination_url, CURRENT_TAB,
335 EXPECT_CALL(*mock_delegate(), NavigateToURL(destination_url, CURRENT_TAB,
356 EXPECT_CALL(*mock_delegate(), OnLogEvent(NTP_MOUSEOVER)).Times(1);
371 EXPECT_CALL(*mock_delegate(), OnLogEvent(NTP_MOUSEOVER)).Times(0);
386 EXPECT_CALL(*mock_delegate(),
405 EXPECT_CALL(*mock_delegate(),
425 EXPECT_CALL(*mock_delegate(), OnChromeIdentityCheck(test_identity)).Times(1);
441 EXPECT_CALL(*mock_delegate(), OnChromeIdentityCheck(test_identity)).Times(0);
456 EXPECT_CALL(*mock_delegate(), OnDeleteMostVisitedItem(item_url)).Times(1);
472 EXPECT_CALL(*mock_delegate(), OnDeleteMostVisitedItem(item_url)).Times(0);
488 EXPECT_CALL(*mock_delegate(), OnUndoMostVisitedDeletion(item_url)).Times(1);
504 EXPECT_CALL(*mock_delegate(), OnUndoMostVisitedDeletion(item_url)).Times(0);
519 EXPECT_CALL(*mock_delegate(), OnUndoAllMostVisitedDeletions()).Times(1);
534 EXPECT_CALL(*mock_delegate(), OnUndoAllMostVisitedDeletions()).Times(0);
554 EXPECT_CALL(*mock_delegate(), NavigateToURL(item_url, CURRENT_TAB,
567 EXPECT_CALL(*mock_delegate(), OnDeleteMostVisitedItem(item_url)).Times(0);
573 EXPECT_CALL(*mock_delegate(), OnUndoMostVisitedDeletion(item_url)).Times(0);
579 EXPECT_CALL(*mock_delegate(), OnUndoAllMostVisitedDeletions()).Times(0);
585 EXPECT_CALL(*mock_delegate(), FocusOmnibox(OMNIBOX_FOCUS_VISIBLE)).Times(0);
592 EXPECT_CALL(*mock_delegate(), OnLogEvent(NTP_MOUSEOVER)).Times(0);
600 EXPECT_CALL(*mock_delegate(), PasteIntoOmnibox(text)).Times(0);
617 EXPECT_CALL(*mock_delegate(), PasteIntoOmnibox(text)).Times(1);
629 EXPECT_CALL(*mock_delegate(), PasteIntoOmnibox(text)).Times(0);