OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_WEB_CONTENTS_H_ | 5 #ifndef CONTENT_TEST_TEST_WEB_CONTENTS_H_ |
6 #define CONTENT_TEST_TEST_WEB_CONTENTS_H_ | 6 #define CONTENT_TEST_TEST_WEB_CONTENTS_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <string> | 10 #include <string> |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 int nav_entry_id, | 56 int nav_entry_id, |
57 bool did_create_new_entry, | 57 bool did_create_new_entry, |
58 const GURL& url, | 58 const GURL& url, |
59 ui::PageTransition transition) override; | 59 ui::PageTransition transition) override; |
60 void TestDidNavigateWithReferrer(RenderFrameHost* render_frame_host, | 60 void TestDidNavigateWithReferrer(RenderFrameHost* render_frame_host, |
61 int nav_entry_id, | 61 int nav_entry_id, |
62 bool did_create_new_entry, | 62 bool did_create_new_entry, |
63 const GURL& url, | 63 const GURL& url, |
64 const Referrer& referrer, | 64 const Referrer& referrer, |
65 ui::PageTransition transition) override; | 65 ui::PageTransition transition) override; |
| 66 void TestDidNavigateWithSequenceNumber( |
| 67 RenderFrameHost* render_frame_host, |
| 68 int nav_entry_id, |
| 69 bool did_create_new_entry, |
| 70 const GURL& url, |
| 71 const Referrer& referrer, |
| 72 ui::PageTransition transition, |
| 73 bool was_within_same_page, |
| 74 int item_sequence_number, |
| 75 int document_sequence_number); |
66 const std::string& GetSaveFrameHeaders() override; | 76 const std::string& GetSaveFrameHeaders() override; |
67 | 77 |
68 // True if a cross-site navigation is pending. | 78 // True if a cross-site navigation is pending. |
69 bool CrossProcessNavigationPending(); | 79 bool CrossProcessNavigationPending(); |
70 | 80 |
71 // Prevent interaction with views. | 81 // Prevent interaction with views. |
72 bool CreateRenderViewForRenderManager( | 82 bool CreateRenderViewForRenderManager( |
73 RenderViewHost* render_view_host, | 83 RenderViewHost* render_view_host, |
74 int opener_frame_routing_id, | 84 int opener_frame_routing_id, |
75 int proxy_routing_id, | 85 int proxy_routing_id, |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
150 // Expectations for arguments of |SetHistoryOffsetAndLength()|. | 160 // Expectations for arguments of |SetHistoryOffsetAndLength()|. |
151 bool expect_set_history_offset_and_length_; | 161 bool expect_set_history_offset_and_length_; |
152 int expect_set_history_offset_and_length_history_offset_; | 162 int expect_set_history_offset_and_length_history_offset_; |
153 int expect_set_history_offset_and_length_history_length_; | 163 int expect_set_history_offset_and_length_history_length_; |
154 std::string save_frame_headers_; | 164 std::string save_frame_headers_; |
155 }; | 165 }; |
156 | 166 |
157 } // namespace content | 167 } // namespace content |
158 | 168 |
159 #endif // CONTENT_TEST_TEST_WEB_CONTENTS_H_ | 169 #endif // CONTENT_TEST_TEST_WEB_CONTENTS_H_ |
OLD | NEW |