| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 "chrome/browser/tab_contents/test_web_contents.h" | 5 #include "chrome/browser/tab_contents/test_web_contents.h" |
| 6 | 6 |
| 7 #include "chrome/browser/renderer_host/test_render_view_host.h" | 7 #include "chrome/browser/renderer_host/test_render_view_host.h" |
| 8 | 8 |
| 9 TestWebContents::TestWebContents(Profile* profile, SiteInstance* instance, | 9 TestWebContents::TestWebContents(Profile* profile, SiteInstance* instance) |
| 10 RenderViewHostFactory* rvh_factory) | 10 : WebContents(profile, instance, MSG_ROUTING_NONE, NULL), |
| 11 : WebContents(profile, instance, rvh_factory, MSG_ROUTING_NONE, NULL), | |
| 12 transition_cross_site(false) { | 11 transition_cross_site(false) { |
| 13 } | 12 } |
| 14 | 13 |
| 15 TestRenderViewHost* TestWebContents::pending_rvh() { | 14 TestRenderViewHost* TestWebContents::pending_rvh() { |
| 16 return static_cast<TestRenderViewHost*>( | 15 return static_cast<TestRenderViewHost*>( |
| 17 render_manager_.pending_render_view_host_); | 16 render_manager_.pending_render_view_host_); |
| 18 } | 17 } |
| OLD | NEW |