| 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 FrameTreeNode* frame_tree_node, | 44 FrameTreeNode* frame_tree_node, |
| 45 int routing_id, | 45 int routing_id, |
| 46 int flags); | 46 int flags); |
| 47 ~TestRenderFrameHost() override; | 47 ~TestRenderFrameHost() override; |
| 48 | 48 |
| 49 // RenderFrameHostImpl overrides (same values, but in Test*/Mock* types) | 49 // RenderFrameHostImpl overrides (same values, but in Test*/Mock* types) |
| 50 TestRenderViewHost* GetRenderViewHost() override; | 50 TestRenderViewHost* GetRenderViewHost() override; |
| 51 MockRenderProcessHost* GetProcess() override; | 51 MockRenderProcessHost* GetProcess() override; |
| 52 | 52 |
| 53 // RenderFrameHostTester implementation. | 53 // RenderFrameHostTester implementation. |
| 54 void InitializeRenderFrameIfNeeded() override; |
| 54 TestRenderFrameHost* AppendChild(const std::string& frame_name) override; | 55 TestRenderFrameHost* AppendChild(const std::string& frame_name) override; |
| 55 void SendNavigate(int page_id, | 56 void SendNavigate(int page_id, |
| 56 int nav_entry_id, | 57 int nav_entry_id, |
| 57 bool did_create_new_entry, | 58 bool did_create_new_entry, |
| 58 const GURL& url) override; | 59 const GURL& url) override; |
| 59 void SendFailedNavigate(int page_id, | 60 void SendFailedNavigate(int page_id, |
| 60 int nav_entry_id, | 61 int nav_entry_id, |
| 61 bool did_create_new_entry, | 62 bool did_create_new_entry, |
| 62 const GURL& url) override; | 63 const GURL& url) override; |
| 63 void SendNavigateWithTransition(int page_id, | 64 void SendNavigateWithTransition(int page_id, |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 147 | 148 |
| 148 // See set_simulate_history_list_was_cleared() above. | 149 // See set_simulate_history_list_was_cleared() above. |
| 149 bool simulate_history_list_was_cleared_; | 150 bool simulate_history_list_was_cleared_; |
| 150 | 151 |
| 151 DISALLOW_COPY_AND_ASSIGN(TestRenderFrameHost); | 152 DISALLOW_COPY_AND_ASSIGN(TestRenderFrameHost); |
| 152 }; | 153 }; |
| 153 | 154 |
| 154 } // namespace content | 155 } // namespace content |
| 155 | 156 |
| 156 #endif // CONTENT_TEST_TEST_RENDER_FRAME_HOST_H_ | 157 #endif // CONTENT_TEST_TEST_RENDER_FRAME_HOST_H_ |
| OLD | NEW |