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_FACTORY_H_ | 5 #ifndef CONTENT_TEST_TEST_RENDER_FRAME_HOST_FACTORY_H_ |
6 #define CONTENT_TEST_TEST_RENDER_FRAME_HOST_FACTORY_H_ | 6 #define CONTENT_TEST_TEST_RENDER_FRAME_HOST_FACTORY_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
(...skipping 13 matching lines...) Expand all Loading... |
24 class TestRenderFrameHostFactory : public RenderFrameHostFactory { | 24 class TestRenderFrameHostFactory : public RenderFrameHostFactory { |
25 public: | 25 public: |
26 TestRenderFrameHostFactory(); | 26 TestRenderFrameHostFactory(); |
27 virtual ~TestRenderFrameHostFactory(); | 27 virtual ~TestRenderFrameHostFactory(); |
28 | 28 |
29 protected: | 29 protected: |
30 // RenderFrameHostFactory implementation. | 30 // RenderFrameHostFactory implementation. |
31 virtual scoped_ptr<RenderFrameHostImpl> CreateRenderFrameHost( | 31 virtual scoped_ptr<RenderFrameHostImpl> CreateRenderFrameHost( |
32 RenderViewHostImpl* render_view_host, | 32 RenderViewHostImpl* render_view_host, |
33 FrameTree* frame_tree, | 33 FrameTree* frame_tree, |
| 34 FrameTreeNode* frame_tree_node, |
34 int routing_id, | 35 int routing_id, |
35 bool is_swapped_out) OVERRIDE; | 36 bool is_swapped_out) OVERRIDE; |
36 | 37 |
37 private: | 38 private: |
38 DISALLOW_COPY_AND_ASSIGN(TestRenderFrameHostFactory); | 39 DISALLOW_COPY_AND_ASSIGN(TestRenderFrameHostFactory); |
39 }; | 40 }; |
40 | 41 |
41 } // namespace content | 42 } // namespace content |
42 | 43 |
43 #endif // CONTENT_TEST_TEST_RENDER_FRAME_HOST_FACTORY_H_ | 44 #endif // CONTENT_TEST_TEST_RENDER_FRAME_HOST_FACTORY_H_ |
OLD | NEW |