OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "content/test/test_renderer_host.h" | 5 #include "content/test/test_renderer_host.h" |
6 | 6 |
7 #include "content/browser/renderer_host/render_view_host_factory.h" | 7 #include "content/browser/renderer_host/render_view_host_factory.h" |
8 #include "content/browser/renderer_host/test_render_view_host.h" | 8 #include "content/browser/renderer_host/test_render_view_host.h" |
9 #include "content/browser/site_instance_impl.h" | 9 #include "content/browser/site_instance_impl.h" |
10 #include "content/browser/tab_contents/test_web_contents.h" | |
11 #include "content/browser/web_contents/navigation_entry_impl.h" | 10 #include "content/browser/web_contents/navigation_entry_impl.h" |
| 11 #include "content/browser/web_contents/test_web_contents.h" |
12 #include "content/public/browser/web_contents.h" | 12 #include "content/public/browser/web_contents.h" |
13 #include "content/test/mock_render_process_host.h" | 13 #include "content/test/mock_render_process_host.h" |
14 #include "content/test/test_browser_context.h" | 14 #include "content/test/test_browser_context.h" |
15 | 15 |
16 #if defined(USE_AURA) | 16 #if defined(USE_AURA) |
17 #include "ui/aura/env.h" | 17 #include "ui/aura/env.h" |
18 #include "ui/aura/monitor_manager.h" | 18 #include "ui/aura/monitor_manager.h" |
19 #include "ui/aura/root_window.h" | 19 #include "ui/aura/root_window.h" |
20 #include "ui/aura/test/single_monitor_manager.h" | 20 #include "ui/aura/test/single_monitor_manager.h" |
21 #include "ui/aura/test/test_screen.h" | 21 #include "ui/aura/test/test_screen.h" |
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
217 message_loop_.DeleteSoon(FROM_HERE, browser_context_.release()); | 217 message_loop_.DeleteSoon(FROM_HERE, browser_context_.release()); |
218 message_loop_.RunAllPending(); | 218 message_loop_.RunAllPending(); |
219 } | 219 } |
220 | 220 |
221 void RenderViewHostTestHarness::SetRenderProcessHostFactory( | 221 void RenderViewHostTestHarness::SetRenderProcessHostFactory( |
222 RenderProcessHostFactory* factory) { | 222 RenderProcessHostFactory* factory) { |
223 rvh_test_enabler_.rvh_factory_->set_render_process_host_factory(factory); | 223 rvh_test_enabler_.rvh_factory_->set_render_process_host_factory(factory); |
224 } | 224 } |
225 | 225 |
226 } // namespace content | 226 } // namespace content |
OLD | NEW |