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, | |
41 FrameTree* frame_tree, | 40 FrameTree* frame_tree, |
42 FrameTreeNode* frame_tree_node, | 41 FrameTreeNode* frame_tree_node, |
43 int routing_id, | 42 int routing_id, |
44 int flags); | 43 int flags); |
45 ~TestRenderFrameHost() override; | 44 ~TestRenderFrameHost() override; |
46 | 45 |
47 // RenderFrameHostImpl overrides (same values, but in Test* types) | 46 // RenderFrameHostImpl overrides (same values, but in Test* types) |
48 TestRenderViewHost* GetRenderViewHost() override; | 47 TestRenderViewHost* GetRenderViewHost() override; |
49 | 48 |
50 // RenderFrameHostTester implementation. | 49 // RenderFrameHostTester implementation. |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 | 109 |
111 // See set_simulate_history_list_was_cleared() above. | 110 // See set_simulate_history_list_was_cleared() above. |
112 bool simulate_history_list_was_cleared_; | 111 bool simulate_history_list_was_cleared_; |
113 | 112 |
114 DISALLOW_COPY_AND_ASSIGN(TestRenderFrameHost); | 113 DISALLOW_COPY_AND_ASSIGN(TestRenderFrameHost); |
115 }; | 114 }; |
116 | 115 |
117 } // namespace content | 116 } // namespace content |
118 | 117 |
119 #endif // CONTENT_TEST_TEST_RENDER_FRAME_HOST_H_ | 118 #endif // CONTENT_TEST_TEST_RENDER_FRAME_HOST_H_ |
OLD | NEW |