Lines Matching refs:Times

154     EXPECT_CALL(*policy, ShouldSendSetDisplayInstantResults()).Times(1)
207 true)).Times(0);
213 EXPECT_CALL(*policy, ShouldProcessNavigateToURL(is_active_tab)).Times(0);
226 EXPECT_CALL(*mock_delegate(), OnSetVoiceSearchSupport(true)).Times(1);
227 EXPECT_CALL(*(policy), ShouldProcessSetVoiceSearchSupport()).Times(1)
239 EXPECT_CALL(*mock_delegate(), OnSetVoiceSearchSupport(true)).Times(0);
242 EXPECT_CALL(*policy, ShouldProcessSetVoiceSearchSupport()).Times(1)
256 EXPECT_CALL(*mock_delegate(), FocusOmnibox(OMNIBOX_FOCUS_VISIBLE)).Times(1);
261 EXPECT_CALL(*policy, ShouldProcessFocusOmnibox(is_active_tab)).Times(1)
275 EXPECT_CALL(*mock_delegate(), FocusOmnibox(OMNIBOX_FOCUS_VISIBLE)).Times(0);
280 EXPECT_CALL(*policy, ShouldProcessFocusOmnibox(is_active_tab)).Times(1)
315 true)).Times(1);
321 EXPECT_CALL(*policy, ShouldProcessNavigateToURL(is_active_tab)).Times(1)
336 true)).Times(0);
342 EXPECT_CALL(*policy, ShouldProcessNavigateToURL(is_active_tab)).Times(1)
356 EXPECT_CALL(*mock_delegate(), OnLogEvent(NTP_MOUSEOVER)).Times(1);
357 EXPECT_CALL(*policy, ShouldProcessLogEvent()).Times(1)
371 EXPECT_CALL(*mock_delegate(), OnLogEvent(NTP_MOUSEOVER)).Times(0);
372 EXPECT_CALL(*policy, ShouldProcessLogEvent()).Times(1)
387 OnLogMostVisitedImpression(3, base::ASCIIToUTF16("Server"))).Times(1);
388 EXPECT_CALL(*policy, ShouldProcessLogEvent()).Times(1)
406 OnLogMostVisitedNavigation(3, base::ASCIIToUTF16("Server"))).Times(1);
407 EXPECT_CALL(*policy, ShouldProcessLogEvent()).Times(1)
425 EXPECT_CALL(*mock_delegate(), OnChromeIdentityCheck(test_identity)).Times(1);
426 EXPECT_CALL(*policy, ShouldProcessChromeIdentityCheck()).Times(1)
441 EXPECT_CALL(*mock_delegate(), OnChromeIdentityCheck(test_identity)).Times(0);
442 EXPECT_CALL(*policy, ShouldProcessChromeIdentityCheck()).Times(1)
456 EXPECT_CALL(*mock_delegate(), OnDeleteMostVisitedItem(item_url)).Times(1);
457 EXPECT_CALL(*policy, ShouldProcessDeleteMostVisitedItem()).Times(1)
472 EXPECT_CALL(*mock_delegate(), OnDeleteMostVisitedItem(item_url)).Times(0);
473 EXPECT_CALL(*policy, ShouldProcessDeleteMostVisitedItem()).Times(1)
488 EXPECT_CALL(*mock_delegate(), OnUndoMostVisitedDeletion(item_url)).Times(1);
489 EXPECT_CALL(*policy, ShouldProcessUndoMostVisitedDeletion()).Times(1)
504 EXPECT_CALL(*mock_delegate(), OnUndoMostVisitedDeletion(item_url)).Times(0);
505 EXPECT_CALL(*policy, ShouldProcessUndoMostVisitedDeletion()).Times(1)
519 EXPECT_CALL(*mock_delegate(), OnUndoAllMostVisitedDeletions()).Times(1);
520 EXPECT_CALL(*policy, ShouldProcessUndoAllMostVisitedDeletions()).Times(1)
534 EXPECT_CALL(*mock_delegate(), OnUndoAllMostVisitedDeletions()).Times(0);
535 EXPECT_CALL(*policy, ShouldProcessUndoAllMostVisitedDeletions()).Times(1)
555 true)).Times(0);
560 EXPECT_CALL(*policy, ShouldProcessNavigateToURL(is_active_tab)).Times(0);
567 EXPECT_CALL(*mock_delegate(), OnDeleteMostVisitedItem(item_url)).Times(0);
568 EXPECT_CALL(*policy, ShouldProcessDeleteMostVisitedItem()).Times(0);
573 EXPECT_CALL(*mock_delegate(), OnUndoMostVisitedDeletion(item_url)).Times(0);
574 EXPECT_CALL(*policy, ShouldProcessUndoMostVisitedDeletion()).Times(0);
579 EXPECT_CALL(*mock_delegate(), OnUndoAllMostVisitedDeletions()).Times(0);
580 EXPECT_CALL(*policy, ShouldProcessUndoAllMostVisitedDeletions()).Times(0);
585 EXPECT_CALL(*mock_delegate(), FocusOmnibox(OMNIBOX_FOCUS_VISIBLE)).Times(0);
586 EXPECT_CALL(*policy, ShouldProcessFocusOmnibox(is_active_tab)).Times(0);
592 EXPECT_CALL(*mock_delegate(), OnLogEvent(NTP_MOUSEOVER)).Times(0);
593 EXPECT_CALL(*policy, ShouldProcessLogEvent()).Times(0);
600 EXPECT_CALL(*mock_delegate(), PasteIntoOmnibox(text)).Times(0);
601 EXPECT_CALL(*policy, ShouldProcessPasteIntoOmnibox(is_active_tab)).Times(0);
617 EXPECT_CALL(*mock_delegate(), PasteIntoOmnibox(text)).Times(1);
618 EXPECT_CALL(*policy, ShouldProcessPasteIntoOmnibox(is_active_tab)).Times(1)
629 EXPECT_CALL(*mock_delegate(), PasteIntoOmnibox(text)).Times(0);
636 EXPECT_CALL(*policy, ShouldProcessPasteIntoOmnibox(is_active_tab)).Times(1)
648 EXPECT_CALL(*policy, ShouldSendSetPromoInformation()).Times(1)
659 EXPECT_CALL(*policy, ShouldSendSetPromoInformation()).Times(1)
704 EXPECT_CALL(*policy, ShouldSendSetDisplayInstantResults()).Times(1)
717 EXPECT_CALL(*policy, ShouldSendSetSuggestionToPrefetch()).Times(1)
731 EXPECT_CALL(*policy, ShouldSendSetSuggestionToPrefetch()).Times(1)
745 EXPECT_CALL(*policy, ShouldSendSetOmniboxStartMargin()).Times(1)
757 EXPECT_CALL(*policy, ShouldSendSetOmniboxStartMargin()).Times(1)
769 EXPECT_CALL(*policy, ShouldSendOmniboxFocusChanged()).Times(1)
782 EXPECT_CALL(*policy, ShouldSendOmniboxFocusChanged()).Times(1)
795 EXPECT_CALL(*policy, ShouldSendSetInputInProgress(true)).Times(1)
807 EXPECT_CALL(*policy, ShouldSendSetInputInProgress(true)).Times(1)
819 EXPECT_CALL(*policy, ShouldSendMostVisitedItems()).Times(1)
833 EXPECT_CALL(*policy, ShouldSendMostVisitedItems()).Times(1)
847 EXPECT_CALL(*policy, ShouldSendThemeBackgroundInfo()).Times(1)
859 EXPECT_CALL(*policy, ShouldSendThemeBackgroundInfo()).Times(1)
871 EXPECT_CALL(*policy, ShouldSubmitQuery()).Times(1)
883 EXPECT_CALL(*policy, ShouldSubmitQuery()).Times(1)
895 EXPECT_CALL(*policy, ShouldSendToggleVoiceSearch()).Times(1)
907 EXPECT_CALL(*policy, ShouldSendToggleVoiceSearch()).Times(1)