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 int flags); | 47 int flags, |
| 48 const GURL& dest_url, |
| 49 int past_bindings); |
48 ~TestRenderFrameHost() override; | 50 ~TestRenderFrameHost() override; |
49 | 51 |
50 // RenderFrameHostImpl overrides (same values, but in Test*/Mock* types) | 52 // RenderFrameHostImpl overrides (same values, but in Test*/Mock* types) |
51 TestRenderViewHost* GetRenderViewHost() override; | 53 TestRenderViewHost* GetRenderViewHost() override; |
52 MockRenderProcessHost* GetProcess() override; | 54 MockRenderProcessHost* GetProcess() override; |
53 | 55 |
54 // RenderFrameHostTester implementation. | 56 // RenderFrameHostTester implementation. |
55 void InitializeRenderFrameIfNeeded() override; | 57 void InitializeRenderFrameIfNeeded() override; |
56 TestRenderFrameHost* AppendChild(const std::string& frame_name) override; | 58 TestRenderFrameHost* AppendChild(const std::string& frame_name) override; |
57 void SimulateNavigationStart(const GURL& url) override; | 59 void SimulateNavigationStart(const GURL& url) override; |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
144 | 146 |
145 // See set_simulate_history_list_was_cleared() above. | 147 // See set_simulate_history_list_was_cleared() above. |
146 bool simulate_history_list_was_cleared_; | 148 bool simulate_history_list_was_cleared_; |
147 | 149 |
148 DISALLOW_COPY_AND_ASSIGN(TestRenderFrameHost); | 150 DISALLOW_COPY_AND_ASSIGN(TestRenderFrameHost); |
149 }; | 151 }; |
150 | 152 |
151 } // namespace content | 153 } // namespace content |
152 | 154 |
153 #endif // CONTENT_TEST_TEST_RENDER_FRAME_HOST_H_ | 155 #endif // CONTENT_TEST_TEST_RENDER_FRAME_HOST_H_ |
OLD | NEW |