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/test_render_view_host.h" |
8 | 8 |
9 TestTabContents::TestTabContents(Profile* profile, SiteInstance* instance) | 9 TestTabContents::TestTabContents(Profile* profile, SiteInstance* instance) |
10 : TabContents(profile, instance, MSG_ROUTING_NONE, NULL), | 10 : TabContents(profile, instance, MSG_ROUTING_NONE, NULL), |
11 transition_cross_site(false) { | 11 transition_cross_site(false) { |
12 } | 12 } |
13 | 13 |
14 TestRenderViewHost* TestTabContents::pending_rvh() { | 14 TestRenderViewHost* TestTabContents::pending_rvh() { |
15 return static_cast<TestRenderViewHost*>( | 15 return static_cast<TestRenderViewHost*>( |
16 render_manager_.pending_render_view_host_); | 16 render_manager_.pending_render_view_host_); |
17 } | 17 } |
OLD | NEW |