Home
last modified time | relevance | path

Searched refs:MockRenderProcessHost (Results 1 – 25 of 28) sorted by relevance

12

/external/chromium_org/content/public/test/
Dmock_render_process_host.cc22 MockRenderProcessHost::MockRenderProcessHost(BrowserContext* browser_context) in MockRenderProcessHost() function in content::MockRenderProcessHost
39 MockRenderProcessHost::~MockRenderProcessHost() { in ~MockRenderProcessHost()
54 void MockRenderProcessHost::EnableSendQueue() { in EnableSendQueue()
57 bool MockRenderProcessHost::Init() { in Init()
61 int MockRenderProcessHost::GetNextRoutingID() { in GetNextRoutingID()
65 void MockRenderProcessHost::AddRoute( in AddRoute()
71 void MockRenderProcessHost::RemoveRoute(int32 routing_id) { in RemoveRoute()
77 void MockRenderProcessHost::AddObserver(RenderProcessHostObserver* observer) { in AddObserver()
81 void MockRenderProcessHost::RemoveObserver( in RemoveObserver()
86 bool MockRenderProcessHost::WaitForBackingStoreMsg( in WaitForBackingStoreMsg()
[all …]
Dmock_render_process_host.h24 class MockRenderProcessHost : public RenderProcessHost {
26 explicit MockRenderProcessHost(BrowserContext* browser_context);
27 virtual ~MockRenderProcessHost();
115 DISALLOW_COPY_AND_ASSIGN(MockRenderProcessHost);
130 void Remove(MockRenderProcessHost* host) const;
136 mutable ScopedVector<MockRenderProcessHost> processes_;
Dtest_renderer_host.h33 class MockRenderProcessHost; variable
137 MockRenderProcessHost* process();
Dtest_renderer_host.cc114 MockRenderProcessHost* RenderViewHostTestHarness::process() { in process()
115 return static_cast<MockRenderProcessHost*>(active_rvh()->GetProcess()); in process()
/external/chromium_org/content/browser/renderer_host/
Drender_widget_host_view_guest_unittest.cc32 MockRenderProcessHost* process_host = in SetUp()
33 new MockRenderProcessHost(browser_context_.get()); in SetUp()
Drender_widget_host_view_mac_unittest.mm269 MockRenderProcessHost* process_host =
270 new MockRenderProcessHost(&browser_context);
303 MockRenderProcessHost* process_host =
304 new MockRenderProcessHost(&browser_context);
657 MockRenderProcessHost* process_host =
658 new MockRenderProcessHost(&browser_context);
702 // the MockRenderProcessHost that is set up by the test harness which mocks
705 MockRenderProcessHost* process_host =
706 new MockRenderProcessHost(&browser_context);
741 // the MockRenderProcessHost that is set up by the test harness which mocks
[all …]
Drender_process_host_unittest.cc17 MockRenderProcessHost guest_host(browser_context()); in TEST_F()
Drender_widget_host_view_mac_editcommand_helper_unittest.mm110 MockRenderProcessHost mock_process(&browser_context);
Dtext_input_client_mac_unittest.mm71 return static_cast<MockRenderProcessHost*>(widget()->GetProcess())->sink();
Drender_widget_host_view_aura_unittest.cc163 process_host_ = new MockRenderProcessHost(browser_context_.get()); in SetUp()
208 MockRenderProcessHost* process_host_;
/external/chromium_org/chrome/browser/extensions/
Dbrowser_permissions_policy_delegate_unittest.cc63 content::MockRenderProcessHost signin_process(profile_); in TEST_F()
64 content::MockRenderProcessHost normal_process(profile_); in TEST_F()
/external/chromium_org/chrome/browser/search/
Dinstant_service_unittest.cc112 scoped_ptr<content::MockRenderProcessHost> rph( in TEST_F()
113 new content::MockRenderProcessHost(profile())); in TEST_F()
117 content::Source<content::MockRenderProcessHost>(rph.get()), in TEST_F()
/external/chromium_org/content/browser/frame_host/
Drender_frame_host_manager_unittest.cc308 MockRenderProcessHost* ntp_process_host = in TEST_F()
309 static_cast<MockRenderProcessHost*>(ntp_rvh->GetProcess()); in TEST_F()
337 MockRenderProcessHost* process_host = in TEST_F()
338 static_cast<MockRenderProcessHost*>(swapped_out_rvh->GetProcess()); in TEST_F()
351 MockRenderProcessHost* process_host = in TEST_F()
352 static_cast<MockRenderProcessHost*>(swapped_out_rvh->GetProcess()); in TEST_F()
738 MockRenderProcessHost* test_process_host2 = in TEST_F()
739 static_cast<MockRenderProcessHost*>(host2->GetProcess()); in TEST_F()
749 MockRenderProcessHost* test_process_host = in TEST_F()
750 static_cast<MockRenderProcessHost*>(test_host->GetProcess()); in TEST_F()
/external/chromium_org/chrome/browser/media_galleries/
Dmedia_file_system_registry_unittest.cc196 content::MockRenderProcessHost* ReleaseRPH(
204 typedef std::map<content::BrowserContext*, content::MockRenderProcessHost*>
257 content::MockRenderProcessHost* single_rph_;
258 content::MockRenderProcessHost* shared_rph_;
391 content::MockRenderProcessHost*
397 content::MockRenderProcessHost* result = existing->second; in ReleaseRPH()
410 new content::MockRenderProcessHost(browser_context); in CreateRenderProcessHost()
/external/chromium/chrome/browser/geolocation/
Dgeolocation_permission_context_unittest.cc88 void CheckPermissionMessageSentInternal(MockRenderProcessHost* process,
130 CheckPermissionMessageSentInternal(static_cast<MockRenderProcessHost*>( in CheckPermissionMessageSentForTab()
135 MockRenderProcessHost* process, in CheckPermissionMessageSentInternal()
/external/chromium_org/chrome/browser/geolocation/
Dchrome_geolocation_permission_context_unittest.cc41 using content::MockRenderProcessHost;
120 void CheckPermissionMessageSentInternal(MockRenderProcessHost* process,
188 CheckPermissionMessageSentInternal(static_cast<MockRenderProcessHost*>( in CheckPermissionMessageSentForTab()
194 MockRenderProcessHost* process, in CheckPermissionMessageSentInternal()
/external/chromium/chrome/browser/tab_contents/
Dthumbnail_generator_unittest.cc35 process_(new MockRenderProcessHost(&profile_)),
119 MockRenderProcessHost* process_;
/external/chromium_org/components/visitedlink/test/
Dvisitedlink_unittest.cc33 using content::MockRenderProcessHost;
529 class VisitRelayingRenderProcessHost : public MockRenderProcessHost {
533 : MockRenderProcessHost(browser_context), widgets_(0) { in VisitRelayingRenderProcessHost()
/external/chromium_org/chrome/browser/ui/search/
Dinstant_search_prerenderer_unittest.cc206 content::MockRenderProcessHost* process = in MessageWasSent()
207 static_cast<content::MockRenderProcessHost*>( in MessageWasSent()
Dsearch_ipc_router_unittest.cc120 content::MockRenderProcessHost* process() { in process()
121 return static_cast<content::MockRenderProcessHost*>( in process()
/external/chromium_org/extensions/browser/
Devent_listener_map_unittest.cc36 process_(new content::MockRenderProcessHost(browser_context_.get())) { in EventListenerMapUnittest()
70 scoped_ptr<content::MockRenderProcessHost> process_;
/external/chromium/chrome/browser/visitedlink/
Dvisitedlink_unittest.cc492 class VisitCountingRenderProcessHost : public MockRenderProcessHost {
495 : MockRenderProcessHost(profile) {} in VisitCountingRenderProcessHost()
/external/chromium_org/content/browser/
Dsite_instance_impl_unittest.cc565 ScopedVector<MockRenderProcessHost> hosts; in TEST_F()
567 hosts.push_back(new MockRenderProcessHost(browser_context.get())); in TEST_F()
/external/chromium/chrome/browser/ui/cocoa/
Drwhvm_editcommand_helper_unittest.mm89 MockRenderProcessHost mock_process(&profile);
/external/chromium_org/content/browser/renderer_host/input/
Dinput_router_impl_unittest.cc119 process_.reset(new MockRenderProcessHost(browser_context_.get())); in SetUp()
279 scoped_ptr<MockRenderProcessHost> process_;

12