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 <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <vector> | 10 #include <vector> |
(...skipping 20 matching lines...) Expand all Loading... |
31 | 31 |
32 RenderFrameHost* last_created_frame() const { return last_created_frame_; } | 32 RenderFrameHost* last_created_frame() const { return last_created_frame_; } |
33 | 33 |
34 private: | 34 private: |
35 RenderFrameHost* last_created_frame_; | 35 RenderFrameHost* last_created_frame_; |
36 }; | 36 }; |
37 | 37 |
38 class TestRenderFrameHost : public RenderFrameHostImpl, | 38 class TestRenderFrameHost : public RenderFrameHostImpl, |
39 public RenderFrameHostTester { | 39 public RenderFrameHostTester { |
40 public: | 40 public: |
41 TestRenderFrameHost(SiteInstance* site_instance, | 41 TestRenderFrameHost(SiteInstanceImpl* site_instance, |
42 RenderViewHostImpl* render_view_host, | 42 RenderViewHostImpl* render_view_host, |
43 RenderFrameHostDelegate* delegate, | 43 RenderFrameHostDelegate* delegate, |
44 RenderWidgetHostDelegate* rwh_delegate, | 44 RenderWidgetHostDelegate* rwh_delegate, |
45 FrameTree* frame_tree, | 45 FrameTree* frame_tree, |
46 FrameTreeNode* frame_tree_node, | 46 FrameTreeNode* frame_tree_node, |
47 int32_t routing_id, | 47 int32_t routing_id, |
48 int32_t widget_routing_id, | 48 int32_t widget_routing_id, |
49 int flags); | 49 int flags); |
50 ~TestRenderFrameHost() override; | 50 ~TestRenderFrameHost() override; |
51 | 51 |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
155 | 155 |
156 // See set_simulate_history_list_was_cleared() above. | 156 // See set_simulate_history_list_was_cleared() above. |
157 bool simulate_history_list_was_cleared_; | 157 bool simulate_history_list_was_cleared_; |
158 | 158 |
159 DISALLOW_COPY_AND_ASSIGN(TestRenderFrameHost); | 159 DISALLOW_COPY_AND_ASSIGN(TestRenderFrameHost); |
160 }; | 160 }; |
161 | 161 |
162 } // namespace content | 162 } // namespace content |
163 | 163 |
164 #endif // CONTENT_TEST_TEST_RENDER_FRAME_HOST_H_ | 164 #endif // CONTENT_TEST_TEST_RENDER_FRAME_HOST_H_ |
OLD | NEW |