/external/chromium/chrome/browser/tab_contents/ |
D | tab_specific_content_settings_unittest.cc | 40 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/ |
D | protocol_manager_unittest.cc | 315 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/ |
D | zoom_bubble_controller_unittest.mm | 41 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/ |
D | context_menu_unittest.cc | 42 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/ |
D | input_method_event_filter_unittest.cc | 63 aura::test::TestWindowDelegate test_delegate; in TEST_F() local 65 &test_delegate, in TEST_F()
|
/external/chromium_org/content/shell/renderer/ |
D | shell_content_renderer_client.cc | 91 ShellRenderProcessObserver::GetInstance()->test_delegate(); in RenderViewCreated() 174 if (!ShellRenderProcessObserver::GetInstance()->test_delegate()) in WebTestProxyCreated() 179 ShellRenderProcessObserver::GetInstance()->test_delegate()); in WebTestProxyCreated()
|
D | shell_render_process_observer.h | 44 WebTestRunner::WebTestDelegate* test_delegate() const { in test_delegate() function
|
/external/chromium/chrome/browser/chromeos/login/ |
D | signed_settings_helper.h | 92 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/ |
D | accelerator_filter_unittest.cc | 44 aura::test::TestWindowDelegate test_delegate; in TEST_F() local 46 &test_delegate, in TEST_F()
|
/external/chromium_org/content/browser/ |
D | plugin_browsertest.cc | 547 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/ |
D | bookmark_menu_delegate_unittest.cc | 108 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/ |
D | browser_close_manager_browsertest.cc | 701 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/ |
D | syncable_unittest.cc | 1416 ThreadOpenTestDelegate test_delegate(&dm); in TEST() local 1417 ASSERT_TRUE(base::PlatformThread::Create(0, &test_delegate, &thread_handle)); in TEST()
|