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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 // RenderFrameHostImpl overrides (same values, but in Test* types) | 46 // RenderFrameHostImpl overrides (same values, but in Test* types) |
47 virtual TestRenderViewHost* GetRenderViewHost() OVERRIDE; | 47 virtual TestRenderViewHost* GetRenderViewHost() OVERRIDE; |
48 | 48 |
49 // RenderFrameHostTester implementation. | 49 // RenderFrameHostTester implementation. |
50 virtual TestRenderFrameHost* AppendChild( | 50 virtual TestRenderFrameHost* AppendChild( |
51 const std::string& frame_name) OVERRIDE; | 51 const std::string& frame_name) OVERRIDE; |
52 virtual void SendNavigateWithTransition( | 52 virtual void SendNavigateWithTransition( |
53 int page_id, | 53 int page_id, |
54 const GURL& url, | 54 const GURL& url, |
55 ui::PageTransition transition) OVERRIDE; | 55 ui::PageTransition transition) OVERRIDE; |
| 56 virtual void SendBeforeUnloadACK(bool proceed) OVERRIDE; |
| 57 virtual void SimulateSwapOutACK() OVERRIDE; |
56 | 58 |
57 void SendNavigate(int page_id, const GURL& url); | 59 void SendNavigate(int page_id, const GURL& url); |
58 void SendFailedNavigate(int page_id, const GURL& url); | 60 void SendFailedNavigate(int page_id, const GURL& url); |
59 void SendNavigateWithTransitionAndResponseCode( | 61 void SendNavigateWithTransitionAndResponseCode( |
60 int page_id, | 62 int page_id, |
61 const GURL& url, ui::PageTransition transition, | 63 const GURL& url, ui::PageTransition transition, |
62 int response_code); | 64 int response_code); |
63 void SendNavigateWithOriginalRequestURL( | 65 void SendNavigateWithOriginalRequestURL( |
64 int page_id, | 66 int page_id, |
65 const GURL& url, | 67 const GURL& url, |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
108 | 110 |
109 // See set_simulate_history_list_was_cleared() above. | 111 // See set_simulate_history_list_was_cleared() above. |
110 bool simulate_history_list_was_cleared_; | 112 bool simulate_history_list_was_cleared_; |
111 | 113 |
112 DISALLOW_COPY_AND_ASSIGN(TestRenderFrameHost); | 114 DISALLOW_COPY_AND_ASSIGN(TestRenderFrameHost); |
113 }; | 115 }; |
114 | 116 |
115 } // namespace content | 117 } // namespace content |
116 | 118 |
117 #endif // CONTENT_TEST_TEST_RENDER_FRAME_HOST_H_ | 119 #endif // CONTENT_TEST_TEST_RENDER_FRAME_HOST_H_ |
OLD | NEW |