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_BROWSER_FRAME_HOST_NAVIGATION_ENTRY_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_FRAME_HOST_NAVIGATION_ENTRY_IMPL_H_ |
6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATION_ENTRY_IMPL_H_ | 6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATION_ENTRY_IMPL_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
153 // NavigationEntryImpls, we will need to support two versions of Clone: one | 153 // NavigationEntryImpls, we will need to support two versions of Clone: one |
154 // that shares the existing FrameNavigationEntries (for use within the same | 154 // that shares the existing FrameNavigationEntries (for use within the same |
155 // tab) and one that draws them from a different pool (for use in a new tab). | 155 // tab) and one that draws them from a different pool (for use in a new tab). |
156 std::unique_ptr<NavigationEntryImpl> CloneAndReplace( | 156 std::unique_ptr<NavigationEntryImpl> CloneAndReplace( |
157 FrameTreeNode* frame_tree_node, | 157 FrameTreeNode* frame_tree_node, |
158 FrameNavigationEntry* frame_entry) const; | 158 FrameNavigationEntry* frame_entry) const; |
159 | 159 |
160 // Helper functions to construct NavigationParameters for a navigation to this | 160 // Helper functions to construct NavigationParameters for a navigation to this |
161 // NavigationEntry. | 161 // NavigationEntry. |
162 CommonNavigationParams ConstructCommonNavigationParams( | 162 CommonNavigationParams ConstructCommonNavigationParams( |
| 163 const FrameNavigationEntry& frame_entry, |
163 const GURL& dest_url, | 164 const GURL& dest_url, |
164 const Referrer& dest_referrer, | 165 const Referrer& dest_referrer, |
165 FrameMsg_Navigate_Type::Value navigation_type, | 166 FrameMsg_Navigate_Type::Value navigation_type, |
166 LoFiState lofi_state, | 167 LoFiState lofi_state, |
167 const base::TimeTicks& navigation_start) const; | 168 const base::TimeTicks& navigation_start) const; |
168 StartNavigationParams ConstructStartNavigationParams() const; | 169 StartNavigationParams ConstructStartNavigationParams() const; |
169 RequestNavigationParams ConstructRequestNavigationParams( | 170 RequestNavigationParams ConstructRequestNavigationParams( |
170 const FrameNavigationEntry& frame_entry, | 171 const FrameNavigationEntry& frame_entry, |
171 bool is_same_document_history_load, | 172 bool is_same_document_history_load, |
172 bool has_committed_real_load, | 173 bool has_committed_real_load, |
(...skipping 329 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
502 // persisted, unless specific data is taken out/put back in at save/restore | 503 // persisted, unless specific data is taken out/put back in at save/restore |
503 // time (see TabNavigation for an example of this). | 504 // time (see TabNavigation for an example of this). |
504 std::map<std::string, base::string16> extra_data_; | 505 std::map<std::string, base::string16> extra_data_; |
505 | 506 |
506 DISALLOW_COPY_AND_ASSIGN(NavigationEntryImpl); | 507 DISALLOW_COPY_AND_ASSIGN(NavigationEntryImpl); |
507 }; | 508 }; |
508 | 509 |
509 } // namespace content | 510 } // namespace content |
510 | 511 |
511 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_ENTRY_IMPL_H_ | 512 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_ENTRY_IMPL_H_ |
OLD | NEW |