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 <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 19 matching lines...) Expand all Loading... |
30 | 30 |
31 private: | 31 private: |
32 RenderFrameHost* last_created_frame_; | 32 RenderFrameHost* last_created_frame_; |
33 }; | 33 }; |
34 | 34 |
35 class TestRenderFrameHost : public RenderFrameHostImpl, | 35 class TestRenderFrameHost : public RenderFrameHostImpl, |
36 public RenderFrameHostTester { | 36 public RenderFrameHostTester { |
37 public: | 37 public: |
38 TestRenderFrameHost(RenderViewHostImpl* render_view_host, | 38 TestRenderFrameHost(RenderViewHostImpl* render_view_host, |
39 RenderFrameHostDelegate* delegate, | 39 RenderFrameHostDelegate* delegate, |
| 40 RenderWidgetHostDelegate* rwh_delegate, |
40 FrameTree* frame_tree, | 41 FrameTree* frame_tree, |
41 FrameTreeNode* frame_tree_node, | 42 FrameTreeNode* frame_tree_node, |
42 int routing_id, | 43 int routing_id, |
43 int flags); | 44 int flags); |
44 ~TestRenderFrameHost() override; | 45 ~TestRenderFrameHost() override; |
45 | 46 |
46 // RenderFrameHostImpl overrides (same values, but in Test* types) | 47 // RenderFrameHostImpl overrides (same values, but in Test* types) |
47 TestRenderViewHost* GetRenderViewHost() override; | 48 TestRenderViewHost* GetRenderViewHost() override; |
48 | 49 |
49 // RenderFrameHostTester implementation. | 50 // RenderFrameHostTester implementation. |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 | 110 |
110 // See set_simulate_history_list_was_cleared() above. | 111 // See set_simulate_history_list_was_cleared() above. |
111 bool simulate_history_list_was_cleared_; | 112 bool simulate_history_list_was_cleared_; |
112 | 113 |
113 DISALLOW_COPY_AND_ASSIGN(TestRenderFrameHost); | 114 DISALLOW_COPY_AND_ASSIGN(TestRenderFrameHost); |
114 }; | 115 }; |
115 | 116 |
116 } // namespace content | 117 } // namespace content |
117 | 118 |
118 #endif // CONTENT_TEST_TEST_RENDER_FRAME_HOST_H_ | 119 #endif // CONTENT_TEST_TEST_RENDER_FRAME_HOST_H_ |
OLD | NEW |