Home
last modified time | relevance | path

Searched refs:test_delegate (Results 1 – 13 of 13) sorted by relevance

/external/chromium/chrome/browser/tab_contents/
Dtab_specific_content_settings_unittest.cc40 TestContentSettingsDelegate test_delegate; in TEST() local
42 TabSpecificContentSettings content_settings(&test_delegate, &profile); in TEST()
58 EXPECT_TRUE(test_delegate.SettingsChanged()); in TEST()
59 EXPECT_FALSE(test_delegate.ContentBlocked()); in TEST()
60 test_delegate.Reset(); in TEST()
63 EXPECT_TRUE(test_delegate.SettingsChanged()); in TEST()
64 EXPECT_TRUE(test_delegate.ContentBlocked()); in TEST()
65 test_delegate.Reset(); in TEST()
67 EXPECT_TRUE(test_delegate.SettingsChanged()); in TEST()
68 EXPECT_TRUE(test_delegate.ContentBlocked()); in TEST()
[all …]
/external/chromium_org/chrome/browser/safe_browsing/
Dprotocol_manager_unittest.cc315 testing::StrictMock<MockProtocolDelegate> test_delegate; in TEST_F() local
316 EXPECT_CALL(test_delegate, UpdateStarted()).Times(1); in TEST_F()
317 EXPECT_CALL(test_delegate, GetChunks(_)).WillOnce( in TEST_F()
321 EXPECT_CALL(test_delegate, UpdateFinished(false)).Times(1); in TEST_F()
324 CreateProtocolManager(&test_delegate)); in TEST_F()
352 testing::StrictMock<MockProtocolDelegate> test_delegate; in TEST_F() local
353 EXPECT_CALL(test_delegate, UpdateStarted()).Times(1); in TEST_F()
354 EXPECT_CALL(test_delegate, GetChunks(_)).WillOnce( in TEST_F()
358 EXPECT_CALL(test_delegate, UpdateFinished(true)).Times(1); in TEST_F()
361 CreateProtocolManager(&test_delegate)); in TEST_F()
[all …]
/external/chromium_org/chrome/browser/ui/cocoa/browser/
Dzoom_bubble_controller_unittest.mm41 TestZoomBubbleControllerDelegate test_delegate;
45 delegate:&test_delegate];
50 EXPECT_FALSE(test_delegate.did_close());
55 EXPECT_TRUE(test_delegate.did_close());
59 TestZoomBubbleControllerDelegate test_delegate;
63 delegate:&test_delegate];
69 EXPECT_FALSE(test_delegate.did_close());
71 EXPECT_TRUE(test_delegate.did_close());
75 TestZoomBubbleControllerDelegate test_delegate;
79 delegate:&test_delegate];
[all …]
/external/chromium/webkit/glue/
Dcontext_menu_unittest.cc42 TestWebViewDelegate* test_delegate = test_shell_->delegate(); in TEST_F() local
43 test_delegate->clear_captured_context_menu_events(); in TEST_F()
44 EXPECT_EQ(0U, test_delegate->captured_context_menu_events().size()); in TEST_F()
67 EXPECT_EQ(1U, test_delegate->captured_context_menu_events().size()); in TEST_F()
/external/chromium_org/ui/views/corewm/
Dinput_method_event_filter_unittest.cc63 aura::test::TestWindowDelegate test_delegate; in TEST_F() local
65 &test_delegate, in TEST_F()
/external/chromium_org/content/shell/renderer/
Dshell_content_renderer_client.cc91 ShellRenderProcessObserver::GetInstance()->test_delegate(); in RenderViewCreated()
174 if (!ShellRenderProcessObserver::GetInstance()->test_delegate()) in WebTestProxyCreated()
179 ShellRenderProcessObserver::GetInstance()->test_delegate()); in WebTestProxyCreated()
Dshell_render_process_observer.h44 WebTestRunner::WebTestDelegate* test_delegate() const { in test_delegate() function
/external/chromium/chrome/browser/chromeos/login/
Dsigned_settings_helper.h92 void set_test_delegate(TestDelegate* test_delegate) { in set_test_delegate() argument
93 test_delegate_ = test_delegate; in set_test_delegate()
/external/chromium_org/ash/accelerators/
Daccelerator_filter_unittest.cc44 aura::test::TestWindowDelegate test_delegate; in TEST_F() local
46 &test_delegate, in TEST_F()
/external/chromium_org/content/browser/
Dplugin_browsertest.cc547 TestResourceDispatcherHostDelegate test_delegate; in IN_PROC_BROWSER_TEST_F() local
550 ResourceDispatcherHostImpl::Get()->SetDelegate(&test_delegate); in IN_PROC_BROWSER_TEST_F()
552 test_delegate.WaitForPluginRequest(); in IN_PROC_BROWSER_TEST_F()
553 ASSERT_TRUE(test_delegate.found_cookie()); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/chrome/browser/ui/views/bookmarks/
Dbookmark_menu_delegate_unittest.cc108 views::MenuDelegate test_delegate; in TEST_F() local
111 bookmark_menu_delegate_->Init(&test_delegate, NULL, node, 0, in TEST_F()
/external/chromium_org/chrome/browser/lifetime/
Dbrowser_close_manager_browsertest.cc701 scoped_ptr<TestDownloadManagerDelegate> test_delegate( in IN_PROC_BROWSER_TEST_P() local
705 test_delegate.PassAs<ChromeDownloadManagerDelegate>()); in IN_PROC_BROWSER_TEST_P()
/external/chromium/chrome/browser/sync/syncable/
Dsyncable_unittest.cc1416 ThreadOpenTestDelegate test_delegate(&dm); in TEST() local
1417 ASSERT_TRUE(base::PlatformThread::Create(0, &test_delegate, &thread_handle)); in TEST()