| 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_TEST_TEST_RENDER_FRAME_HOST_H_ | 5 #ifndef CONTENT_TEST_TEST_RENDER_FRAME_HOST_H_ |
| 6 #define CONTENT_TEST_TEST_RENDER_FRAME_HOST_H_ | 6 #define CONTENT_TEST_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 RenderFrameHostDelegate* delegate, | 16 RenderFrameHostDelegate* delegate, |
| 17 FrameTree* frame_tree, | 17 FrameTree* frame_tree, |
| 18 FrameTreeNode* frame_tree_node, |
| 18 int routing_id, | 19 int routing_id, |
| 19 bool is_swapped_out); | 20 bool is_swapped_out); |
| 20 virtual ~TestRenderFrameHost(); | 21 virtual ~TestRenderFrameHost(); |
| 21 | 22 |
| 22 // TODO(nick): As necessary for testing, override behavior of RenderFrameHost | 23 // TODO(nick): As necessary for testing, override behavior of RenderFrameHost |
| 23 // here. | 24 // here. |
| 24 | 25 |
| 25 private: | 26 private: |
| 26 DISALLOW_COPY_AND_ASSIGN(TestRenderFrameHost); | 27 DISALLOW_COPY_AND_ASSIGN(TestRenderFrameHost); |
| 27 }; | 28 }; |
| 28 | 29 |
| 29 } // namespace content | 30 } // namespace content |
| 30 | 31 |
| 31 #endif // CONTENT_TEST_TEST_RENDER_FRAME_HOST_H_ | 32 #endif // CONTENT_TEST_TEST_RENDER_FRAME_HOST_H_ |
| OLD | NEW |