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 326 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
499 // persisted, unless specific data is taken out/put back in at save/restore | 500 // persisted, unless specific data is taken out/put back in at save/restore |
500 // time (see TabNavigation for an example of this). | 501 // time (see TabNavigation for an example of this). |
501 std::map<std::string, base::string16> extra_data_; | 502 std::map<std::string, base::string16> extra_data_; |
502 | 503 |
503 DISALLOW_COPY_AND_ASSIGN(NavigationEntryImpl); | 504 DISALLOW_COPY_AND_ASSIGN(NavigationEntryImpl); |
504 }; | 505 }; |
505 | 506 |
506 } // namespace content | 507 } // namespace content |
507 | 508 |
508 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_ENTRY_IMPL_H_ | 509 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_ENTRY_IMPL_H_ |
OLD | NEW |