Searched refs:TestWebContents (Results 1 - 14 of 14) sorted by relevance

/external/chromium_org/content/public/test/
H A Dweb_contents_tester.cc20 return static_cast<TestWebContents*>(contents);
27 return TestWebContents::Create(browser_context, instance);
H A Dtest_renderer_host.cc152 return TestWebContents::Create(browser_context_.get(), instance);
156 static_cast<TestWebContents*>(web_contents())->NavigateAndCommit(url);
/external/chromium_org/content/test/
H A Dtest_web_contents.cc27 TestWebContents::TestWebContents(BrowserContext* browser_context) function in class:content::TestWebContents
36 TestWebContents* TestWebContents::Create(BrowserContext* browser_context,
38 TestWebContents* test_web_contents = new TestWebContents(browser_context);
43 TestWebContents::~TestWebContents() {
47 TestRenderFrameHost* TestWebContents::GetMainFrame() {
51 TestRenderViewHost* TestWebContents
[all...]
H A Dtest_web_contents.h25 class TestWebContents : public WebContentsImpl, public WebContentsTester { class in namespace:content
27 virtual ~TestWebContents();
29 static TestWebContents* Create(BrowserContext* browser_context,
67 // Returns a clone of this TestWebContents. The returned object is also a
68 // TestWebContents. The caller owns the returned object.
78 void SetOpener(TestWebContents* opener);
81 void AddPendingContents(TestWebContents* contents);
103 explicit TestWebContents(BrowserContext* browser_context);
H A Dtest_render_view_host.cc399 TestWebContents* RenderViewHostImplTestHarness::contents() {
400 return static_cast<TestWebContents*>(web_contents());
H A Dtest_render_view_host.h39 class TestWebContents;
181 // TODO(brettw) this should use a TestWebContents which should be generalized
371 // contents() is equivalent to static_cast<TestWebContents*>(web_contents())
372 TestWebContents* contents();
/external/chromium_org/content/browser/frame_host/
H A Drender_frame_host_manager_unittest.cc414 scoped_ptr<TestWebContents> contents2(
415 TestWebContents::Create(browser_context(), NULL));
636 scoped_ptr<TestWebContents> opener1(
637 TestWebContents::Create(browser_context(), instance1));
640 scoped_ptr<TestWebContents> opener2(
641 TestWebContents::Create(browser_context(), instance1));
709 TestWebContents* web_contents =
710 TestWebContents::Create(browser_context(), ntp_rfh->GetSiteInstance());
758 // Because we're using TestWebContents and TestRenderViewHost in this
786 scoped_ptr<TestWebContents> web_content
[all...]
H A Drender_frame_host_manager.h44 class TestWebContents;
336 friend class TestWebContents;
H A Dnavigation_controller_impl_unittest.cc3343 scoped_ptr<TestWebContents> other_contents(
3344 static_cast<TestWebContents*>(CreateTestWebContents()));
3406 scoped_ptr<TestWebContents> other_contents(
3407 static_cast<TestWebContents*>(CreateTestWebContents()));
3454 scoped_ptr<TestWebContents> other_contents(
3455 static_cast<TestWebContents*>(CreateTestWebContents()));
3491 scoped_ptr<TestWebContents> other_contents(
3492 static_cast<TestWebContents*>(CreateTestWebContents()));
3529 scoped_ptr<TestWebContents> other_contents(
3530 static_cast<TestWebContents*>(CreateTestWebContent
[all...]
/external/chromium_org/content/browser/renderer_host/
H A Drender_view_host_unittest.cc112 scoped_ptr<TestWebContents> new_web_contents(
113 TestWebContents::Create(browser_context(), rvh()->GetSiteInstance()));
150 TestWebContents* web_contents = contents();
/external/chromium_org/content/browser/web_contents/
H A Dweb_contents_impl_unittest.cc620 scoped_ptr<TestWebContents> contents2(
621 TestWebContents::Create(browser_context(), instance1));
887 scoped_ptr<TestWebContents> contents2(
888 TestWebContents::Create(browser_context(), instance1));
2296 scoped_ptr<TestWebContents> other_contents(
2297 static_cast<TestWebContents*>(CreateTestWebContents()));
2324 scoped_ptr<TestWebContents> other_contents(
2325 static_cast<TestWebContents*>(CreateTestWebContents()));
2372 scoped_ptr<TestWebContents> other_contents(
2373 static_cast<TestWebContents*>(CreateTestWebContent
[all...]
H A Dweb_contents_impl.h67 class TestWebContents;
718 // TODO(brettw) TestWebContents shouldn't exist!
719 friend class TestWebContents;
/external/chromium_org/content/browser/loader/
H A Dresource_scheduler_unittest.cc2120 scoped_ptr<TestWebContents> web_contents_1;
2121 scoped_ptr<TestWebContents> web_contents_2;
2133 TestWebContents::Create(browser_context.get(), site_instance_1.get()));
2135 TestWebContents::Create(browser_context.get(), site_instance_2.get()));
/external/chromium_org/content/browser/media/capture/
H A Dweb_contents_video_capture_device_unittest.cc550 TestWebContents::Create(browser_context_.get(), site_instance.get()));

Completed in 211 milliseconds