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 <map> | 10 #include <map> |
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
173 FrameTreeNode* root_frame_tree_node) const; | 173 FrameTreeNode* root_frame_tree_node) const; |
174 | 174 |
175 // Helper functions to construct NavigationParameters for a navigation to this | 175 // Helper functions to construct NavigationParameters for a navigation to this |
176 // NavigationEntry. | 176 // NavigationEntry. |
177 CommonNavigationParams ConstructCommonNavigationParams( | 177 CommonNavigationParams ConstructCommonNavigationParams( |
178 const FrameNavigationEntry& frame_entry, | 178 const FrameNavigationEntry& frame_entry, |
179 const scoped_refptr<ResourceRequestBodyImpl>& post_body, | 179 const scoped_refptr<ResourceRequestBodyImpl>& post_body, |
180 const GURL& dest_url, | 180 const GURL& dest_url, |
181 const Referrer& dest_referrer, | 181 const Referrer& dest_referrer, |
182 FrameMsg_Navigate_Type::Value navigation_type, | 182 FrameMsg_Navigate_Type::Value navigation_type, |
183 LoFiState lofi_state, | 183 int previews_state, |
nasko
2016/12/08 22:19:32
PreviewsState
megjablon
2016/12/09 20:35:53
Done.
| |
184 const base::TimeTicks& navigation_start) const; | 184 const base::TimeTicks& navigation_start) const; |
185 StartNavigationParams ConstructStartNavigationParams() const; | 185 StartNavigationParams ConstructStartNavigationParams() const; |
186 RequestNavigationParams ConstructRequestNavigationParams( | 186 RequestNavigationParams ConstructRequestNavigationParams( |
187 const FrameNavigationEntry& frame_entry, | 187 const FrameNavigationEntry& frame_entry, |
188 bool is_same_document_history_load, | 188 bool is_same_document_history_load, |
189 bool is_history_navigation_in_new_child, | 189 bool is_history_navigation_in_new_child, |
190 const std::map<std::string, bool>& subframe_unique_names, | 190 const std::map<std::string, bool>& subframe_unique_names, |
191 bool has_committed_real_load, | 191 bool has_committed_real_load, |
192 bool intended_as_new_entry, | 192 bool intended_as_new_entry, |
193 int pending_offset_to_send, | 193 int pending_offset_to_send, |
(...skipping 348 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
542 // persisted, unless specific data is taken out/put back in at save/restore | 542 // persisted, unless specific data is taken out/put back in at save/restore |
543 // time (see TabNavigation for an example of this). | 543 // time (see TabNavigation for an example of this). |
544 std::map<std::string, base::string16> extra_data_; | 544 std::map<std::string, base::string16> extra_data_; |
545 | 545 |
546 DISALLOW_COPY_AND_ASSIGN(NavigationEntryImpl); | 546 DISALLOW_COPY_AND_ASSIGN(NavigationEntryImpl); |
547 }; | 547 }; |
548 | 548 |
549 } // namespace content | 549 } // namespace content |
550 | 550 |
551 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_ENTRY_IMPL_H_ | 551 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_ENTRY_IMPL_H_ |
OLD | NEW |