/external/chromium_org/chrome/browser/profile_resetter/ |
automatic_profile_resetter_unittest.cc | 586 mock_delegate().ExpectCallsToDependenciesSetUpMethods(); 587 mock_delegate().ExpectCallsToGetterMethods(); 588 mock_delegate().ExpectCallToShowPrompt(); 595 testing::Mock::VerifyAndClearExpectations(&mock_delegate()); 603 testing::Mock::VerifyAndClearExpectations(&mock_delegate()); 624 MockProfileResetterDelegate& mock_delegate() { return *mock_delegate_; } function in class:__anon9061::AutomaticProfileResetterTestBase 689 mock_delegate().ExpectCallsToDependenciesSetUpMethods(); 690 mock_delegate().ExpectCallsToGetterMethods(); 705 mock_delegate().ExpectCallsToDependenciesSetUpMethods(); 706 mock_delegate().ExpectCallsToGetterMethods() [all...] |
/external/chromium_org/chrome/browser/download/ |
download_test_file_activity_observer.cc | 72 scoped_ptr<MockDownloadManagerDelegate> mock_delegate( 74 test_delegate_ = mock_delegate->GetWeakPtr(); 77 mock_delegate.PassAs<ChromeDownloadManagerDelegate>());
|
/external/chromium_org/ash/sticky_keys/ |
sticky_keys_unittest.cc | 321 MockStickyKeysHandlerDelegate* mock_delegate = local 323 StickyKeysHandler sticky_key(ui::EF_SHIFT_DOWN, mock_delegate); 342 ASSERT_EQ(2U, mock_delegate->GetEventCount()); 343 EXPECT_EQ(ui::ET_KEY_PRESSED, mock_delegate->GetEvent(0)->type()); 345 static_cast<const ui::KeyEvent*>(mock_delegate->GetEvent(0)) 347 EXPECT_EQ(ui::ET_KEY_RELEASED, mock_delegate->GetEvent(1)->type()); 349 static_cast<const ui::KeyEvent*>(mock_delegate->GetEvent(1)) 364 MockStickyKeysHandlerDelegate* mock_delegate = local 366 StickyKeysHandler sticky_key(ui::EF_SHIFT_DOWN, mock_delegate); 407 MockStickyKeysHandlerDelegate* mock_delegate local 450 MockStickyKeysHandlerDelegate* mock_delegate = local 474 MockStickyKeysHandlerDelegate* mock_delegate = local 497 MockStickyKeysHandlerDelegate* mock_delegate = local 520 MockStickyKeysHandlerDelegate* mock_delegate = local 544 MockStickyKeysHandlerDelegate* mock_delegate = local 585 MockStickyKeysHandlerDelegate* mock_delegate = local 635 MockStickyKeysHandlerDelegate* mock_delegate = local 684 MockStickyKeysHandlerDelegate* mock_delegate = local 718 MockStickyKeysHandlerDelegate* mock_delegate = local 750 MockStickyKeysHandlerDelegate* mock_delegate = local 771 MockStickyKeysHandlerDelegate* mock_delegate = local [all...] |
/external/chromium_org/chrome/browser/ui/search/ |
search_ipc_router_unittest.cc | 141 search_tab_helper->ipc_router().set_delegate_for_testing(mock_delegate()); 167 MockSearchIPCRouterDelegate* mock_delegate() { return &delegate_; } function in class:SearchIPCRouterTest 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) [all...] |
search_tab_helper_unittest.cc | 113 MockSearchIPCRouterDelegate* mock_delegate() { return &delegate_; } function in class:SearchTabHelperTest 121 EXPECT_CALL(*mock_delegate(), OnInstantSupportDetermined(true)).Times(0); 126 search_tab_helper->ipc_router().set_delegate_for_testing(mock_delegate()); 133 EXPECT_CALL(*mock_delegate(), OnInstantSupportDetermined(true)).Times(1); 138 search_tab_helper->ipc_router().set_delegate_for_testing(mock_delegate()); 156 EXPECT_CALL(*mock_delegate(), OnInstantSupportDetermined(false)).Times(0); 161 search_tab_helper->ipc_router().set_delegate_for_testing(mock_delegate());
|
/external/chromium_org/content/renderer/media/ |
media_stream_video_capture_source_unittest.cc | 68 MockVideoCapturerDelegate& mock_delegate() { function in class:content::MediaStreamVideoCapturerSourceTest 88 EXPECT_CALL(mock_delegate(), StartCapture( 94 EXPECT_CALL(mock_delegate(), StopCapture()); 103 EXPECT_CALL(mock_delegate(), StartCapture( 109 EXPECT_CALL(mock_delegate(), StopCapture()); 166 EXPECT_CALL(mock_delegate(), StartCapture( 173 EXPECT_CALL(mock_delegate(), StopCapture());
|
/external/chromium_org/chrome/browser/local_discovery/ |
privet_device_lister_unittest.cc | 32 ServiceDiscoveryMockDelegate* mock_delegate) 34 mock_delegate_(mock_delegate) { 74 ServiceDiscoveryMockDelegate* mock_delegate) 76 callback_(callback), mock_delegate_(mock_delegate) { 108 ServiceDiscoveryMockDelegate* mock_delegate) 109 : mock_delegate_(mock_delegate) {
|
/external/chromium_org/content/browser/download/ |
download_item_impl_unittest.cc | 245 EXPECT_CALL(*mock_delegate(), DetermineDownloadTarget(item, _)) 249 EXPECT_CALL(*mock_delegate(), DetermineDownloadTarget(item, _)); 259 mock_delegate()->VerifyAndClearExpectations(); 260 EXPECT_CALL(*mock_delegate(), AssertStateConsistent(_)) 262 EXPECT_CALL(*mock_delegate(), ShouldOpenFileBasedOnExtension(_)) 264 EXPECT_CALL(*mock_delegate(), ShouldOpenDownload(_, _)) 316 MockDelegate* mock_delegate() { function in class:content::DownloadItemTest 395 EXPECT_CALL(*mock_delegate(), MockResumeInterruptedDownload(_,_)) 474 EXPECT_CALL(*mock_delegate(), ShouldCompleteDownload(item, _)) 507 EXPECT_CALL(*mock_delegate(), DetermineDownloadTarget(item, _) [all...] |
/external/chromium_org/chrome/browser/apps/ |
web_view_browsertest.cc | [all...] |