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 26 matching lines...) Expand all Loading... |
37 public RenderFrameHostTester { | 37 public RenderFrameHostTester { |
38 public: | 38 public: |
39 TestRenderFrameHost(SiteInstance* site_instance, | 39 TestRenderFrameHost(SiteInstance* site_instance, |
40 RenderViewHostImpl* render_view_host, | 40 RenderViewHostImpl* render_view_host, |
41 RenderFrameHostDelegate* delegate, | 41 RenderFrameHostDelegate* delegate, |
42 RenderWidgetHostDelegate* rwh_delegate, | 42 RenderWidgetHostDelegate* rwh_delegate, |
43 FrameTree* frame_tree, | 43 FrameTree* frame_tree, |
44 FrameTreeNode* frame_tree_node, | 44 FrameTreeNode* frame_tree_node, |
45 int32 routing_id, | 45 int32 routing_id, |
46 int32 widget_routing_id, | 46 int32 widget_routing_id, |
47 int32 surface_id, | |
48 int flags); | 47 int flags); |
49 ~TestRenderFrameHost() override; | 48 ~TestRenderFrameHost() override; |
50 | 49 |
51 // RenderFrameHostImpl overrides (same values, but in Test*/Mock* types) | 50 // RenderFrameHostImpl overrides (same values, but in Test*/Mock* types) |
52 TestRenderViewHost* GetRenderViewHost() override; | 51 TestRenderViewHost* GetRenderViewHost() override; |
53 MockRenderProcessHost* GetProcess() override; | 52 MockRenderProcessHost* GetProcess() override; |
54 | 53 |
55 // RenderFrameHostTester implementation. | 54 // RenderFrameHostTester implementation. |
56 void InitializeRenderFrameIfNeeded() override; | 55 void InitializeRenderFrameIfNeeded() override; |
57 TestRenderFrameHost* AppendChild(const std::string& frame_name) override; | 56 TestRenderFrameHost* AppendChild(const std::string& frame_name) override; |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
145 | 144 |
146 // See set_simulate_history_list_was_cleared() above. | 145 // See set_simulate_history_list_was_cleared() above. |
147 bool simulate_history_list_was_cleared_; | 146 bool simulate_history_list_was_cleared_; |
148 | 147 |
149 DISALLOW_COPY_AND_ASSIGN(TestRenderFrameHost); | 148 DISALLOW_COPY_AND_ASSIGN(TestRenderFrameHost); |
150 }; | 149 }; |
151 | 150 |
152 } // namespace content | 151 } // namespace content |
153 | 152 |
154 #endif // CONTENT_TEST_TEST_RENDER_FRAME_HOST_H_ | 153 #endif // CONTENT_TEST_TEST_RENDER_FRAME_HOST_H_ |
OLD | NEW |