OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 #ifndef CONTENT_BROWSER_FRAME_HOST_TEST_RENDER_FRAME_HOST_H_ | 5 #ifndef CONTENT_BROWSER_FRAME_HOST_TEST_RENDER_FRAME_HOST_H_ |
6 #define CONTENT_BROWSER_FRAME_HOST_TEST_RENDER_FRAME_HOST_H_ | 6 #define CONTENT_BROWSER_FRAME_HOST_TEST_RENDER_FRAME_HOST_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "content/browser/frame_host/render_frame_host_impl.h" | 9 #include "content/browser/frame_host/render_frame_host_impl.h" |
10 | 10 |
11 namespace content { | 11 namespace content { |
12 | 12 |
13 class TestRenderFrameHost : public RenderFrameHostImpl { | 13 class TestRenderFrameHost : public RenderFrameHostImpl { |
14 public: | 14 public: |
15 TestRenderFrameHost(RenderViewHostImpl* render_view_host, | 15 TestRenderFrameHost(RenderViewHostImpl* render_view_host, |
16 FrameTree* frame_tree, | 16 FrameTree* frame_tree, |
| 17 FrameTreeNode* frame_tree_node, |
17 int routing_id, | 18 int routing_id, |
18 bool is_swapped_out); | 19 bool is_swapped_out); |
19 virtual ~TestRenderFrameHost(); | 20 virtual ~TestRenderFrameHost(); |
20 | 21 |
21 // TODO(nick): As necessary for testing, override behavior of RenderFrameHost | 22 // TODO(nick): As necessary for testing, override behavior of RenderFrameHost |
22 // here. | 23 // here. |
23 | 24 |
24 private: | 25 private: |
25 DISALLOW_COPY_AND_ASSIGN(TestRenderFrameHost); | 26 DISALLOW_COPY_AND_ASSIGN(TestRenderFrameHost); |
26 }; | 27 }; |
27 | 28 |
28 } // namespace content | 29 } // namespace content |
29 | 30 |
30 #endif // CONTENT_BROWSER_FRAME_HOST_TEST_RENDER_FRAME_HOST_H_ | 31 #endif // CONTENT_BROWSER_FRAME_HOST_TEST_RENDER_FRAME_HOST_H_ |
OLD | NEW |