Searched refs:TestWebContents (Results 1 - 13 of 13) 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.cc96 return static_cast<TestWebContents*>(web_contents())->
138 return TestWebContents::Create(browser_context_.get(), instance);
142 static_cast<TestWebContents*>(web_contents())->NavigateAndCommit(url);
/external/chromium_org/content/test/
H A Dtest_web_contents.cc24 TestWebContents::TestWebContents(BrowserContext* browser_context) function in class:content::TestWebContents
34 TestWebContents* TestWebContents::Create(BrowserContext* browser_context,
36 TestWebContents* test_web_contents = new TestWebContents(browser_context);
41 TestWebContents::~TestWebContents() {
45 RenderViewHost* TestWebContents::GetPendingRenderViewHost() const {
49 TestRenderViewHost* TestWebContents
[all...]
H A Dtest_web_contents.h23 class TestWebContents : public WebContentsImpl, public WebContentsTester { class in namespace:content
25 virtual ~TestWebContents();
27 static TestWebContents* Create(BrowserContext* browser_context,
63 // Returns a clone of this TestWebContents. The returned object is also a
64 // TestWebContents. The caller owns the returned object.
77 void SetOpener(TestWebContents* opener);
80 void AddPendingContents(TestWebContents* contents);
104 explicit TestWebContents(BrowserContext* browser_context);
H A Dtest_render_view_host.cc443 TestWebContents* RenderViewHostImplTestHarness::contents() {
444 return static_cast<TestWebContents*>(web_contents());
H A Dtest_render_view_host.h38 class TestWebContents;
198 // TODO(brettw) this should use a TestWebContents which should be generalized
379 TestWebContents* contents();
/external/chromium_org/content/browser/frame_host/
H A Drender_frame_host_manager_unittest.cc199 scoped_ptr<TestWebContents> contents2(
200 TestWebContents::Create(browser_context(), NULL));
420 scoped_ptr<TestWebContents> opener1(
421 TestWebContents::Create(browser_context(), instance1));
424 scoped_ptr<TestWebContents> opener2(
425 TestWebContents::Create(browser_context(), instance1));
494 TestWebContents* web_contents =
495 TestWebContents::Create(browser_context(), ntp_rvh->GetSiteInstance());
541 // Because we're using TestWebContents and TestRenderViewHost in this
568 scoped_ptr<TestWebContents> web_content
[all...]
H A Drender_frame_host_manager.h32 class TestWebContents;
253 friend class TestWebContents;
H A Dnavigation_controller_impl_unittest.cc3093 scoped_ptr<TestWebContents> other_contents(
3094 static_cast<TestWebContents*>(CreateTestWebContents()));
3156 scoped_ptr<TestWebContents> other_contents(
3157 static_cast<TestWebContents*>(CreateTestWebContents()));
3204 scoped_ptr<TestWebContents> other_contents(
3205 static_cast<TestWebContents*>(CreateTestWebContents()));
3241 scoped_ptr<TestWebContents> other_contents(
3242 static_cast<TestWebContents*>(CreateTestWebContents()));
3279 scoped_ptr<TestWebContents> other_contents(
3280 static_cast<TestWebContents*>(CreateTestWebContent
[all...]
/external/chromium_org/content/browser/renderer_host/
H A Drender_view_host_unittest.cc109 scoped_ptr<TestWebContents> new_web_contents(
110 TestWebContents::Create(browser_context(), rvh()->GetSiteInstance()));
154 TestWebContents* web_contents = contents();
/external/chromium_org/content/browser/web_contents/
H A Dweb_contents_impl_unittest.cc583 scoped_ptr<TestWebContents> contents2(
584 TestWebContents::Create(browser_context(), instance1));
763 scoped_ptr<TestWebContents> contents2(
764 TestWebContents::Create(browser_context(), instance1));
2073 scoped_ptr<TestWebContents> other_contents(
2074 static_cast<TestWebContents*>(CreateTestWebContents()));
2101 scoped_ptr<TestWebContents> other_contents(
2102 static_cast<TestWebContents*>(CreateTestWebContents()));
2149 scoped_ptr<TestWebContents> other_contents(
2150 static_cast<TestWebContents*>(CreateTestWebContent
[all...]
H A Dweb_contents_impl.h62 class TestWebContents;
589 // TODO(brettw) TestWebContents shouldn't exist!
590 friend class TestWebContents;
/external/chromium_org/content/browser/renderer_host/media/
H A Dweb_contents_video_capture_device_unittest.cc504 TestWebContents::Create(browser_context_.get(), site_instance.get()));

Completed in 691 milliseconds