| 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(RenderFrameHost* render_frame_host, |
| 67 int nav_entry_id, |
| 68 bool did_create_new_entry, |
| 69 const GURL& url, |
| 70 const Referrer& referrer, |
| 71 ui::PageTransition transition, |
| 72 bool was_within_same_page, |
| 73 int item_sequence_number, |
| 74 int document_sequence_number); |
| 66 const std::string& GetSaveFrameHeaders() override; | 75 const std::string& GetSaveFrameHeaders() override; |
| 67 | 76 |
| 68 // True if a cross-site navigation is pending. | 77 // True if a cross-site navigation is pending. |
| 69 bool CrossProcessNavigationPending(); | 78 bool CrossProcessNavigationPending(); |
| 70 | 79 |
| 71 // Prevent interaction with views. | 80 // Prevent interaction with views. |
| 72 bool CreateRenderViewForRenderManager( | 81 bool CreateRenderViewForRenderManager( |
| 73 RenderViewHost* render_view_host, | 82 RenderViewHost* render_view_host, |
| 74 int opener_frame_routing_id, | 83 int opener_frame_routing_id, |
| 75 int proxy_routing_id, | 84 int proxy_routing_id, |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 150 // Expectations for arguments of |SetHistoryOffsetAndLength()|. | 159 // Expectations for arguments of |SetHistoryOffsetAndLength()|. |
| 151 bool expect_set_history_offset_and_length_; | 160 bool expect_set_history_offset_and_length_; |
| 152 int expect_set_history_offset_and_length_history_offset_; | 161 int expect_set_history_offset_and_length_history_offset_; |
| 153 int expect_set_history_offset_and_length_history_length_; | 162 int expect_set_history_offset_and_length_history_length_; |
| 154 std::string save_frame_headers_; | 163 std::string save_frame_headers_; |
| 155 }; | 164 }; |
| 156 | 165 |
| 157 } // namespace content | 166 } // namespace content |
| 158 | 167 |
| 159 #endif // CONTENT_TEST_TEST_WEB_CONTENTS_H_ | 168 #endif // CONTENT_TEST_TEST_WEB_CONTENTS_H_ |
| OLD | NEW |