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/browser/renderer_host/test_backing_store.h" | 5 #include "content/browser/renderer_host/test_backing_store.h" |
6 #include "content/browser/renderer_host/test_render_view_host.h" | 6 #include "content/browser/renderer_host/test_render_view_host.h" |
7 #include "content/browser/site_instance_impl.h" | 7 #include "content/browser/site_instance_impl.h" |
8 #include "content/browser/tab_contents/navigation_controller_impl.h" | 8 #include "content/browser/tab_contents/navigation_controller_impl.h" |
9 #include "content/browser/tab_contents/test_tab_contents.h" | 9 #include "content/browser/tab_contents/test_tab_contents.h" |
10 #include "content/common/dom_storage_common.h" | 10 #include "content/common/dom_storage_common.h" |
(...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
312 } | 312 } |
313 | 313 |
314 TestRenderViewHost* RenderViewHostImplTestHarness::pending_test_rvh() { | 314 TestRenderViewHost* RenderViewHostImplTestHarness::pending_test_rvh() { |
315 return static_cast<TestRenderViewHost*>(pending_rvh()); | 315 return static_cast<TestRenderViewHost*>(pending_rvh()); |
316 } | 316 } |
317 | 317 |
318 TestRenderViewHost* RenderViewHostImplTestHarness::active_test_rvh() { | 318 TestRenderViewHost* RenderViewHostImplTestHarness::active_test_rvh() { |
319 return static_cast<TestRenderViewHost*>(active_rvh()); | 319 return static_cast<TestRenderViewHost*>(active_rvh()); |
320 } | 320 } |
321 | 321 |
| 322 TestTabContents* RenderViewHostImplTestHarness::contents() { |
| 323 return static_cast<TestTabContents*>(web_contents()); |
| 324 } |
| 325 |
322 } // namespace content | 326 } // namespace content |
OLD | NEW |