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 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
219 FrameTreeNode* frame_tree_node, | 219 FrameTreeNode* frame_tree_node, |
220 int64_t item_sequence_number, | 220 int64_t item_sequence_number, |
221 int64_t document_sequence_number, | 221 int64_t document_sequence_number, |
222 SiteInstanceImpl* site_instance, | 222 SiteInstanceImpl* site_instance, |
223 scoped_refptr<SiteInstanceImpl> source_site_instance, | 223 scoped_refptr<SiteInstanceImpl> source_site_instance, |
224 const GURL& url, | 224 const GURL& url, |
225 const Referrer& referrer, | 225 const Referrer& referrer, |
226 const std::vector<GURL>& redirect_chain, | 226 const std::vector<GURL>& redirect_chain, |
227 const PageState& page_state, | 227 const PageState& page_state, |
228 const std::string& method, | 228 const std::string& method, |
229 int64_t post_id); | 229 int64_t post_id, |
| 230 bool is_srcdoc); |
230 | 231 |
231 // Returns the FrameNavigationEntry corresponding to |frame_tree_node|, if | 232 // Returns the FrameNavigationEntry corresponding to |frame_tree_node|, if |
232 // there is one in this NavigationEntry. | 233 // there is one in this NavigationEntry. |
233 FrameNavigationEntry* GetFrameEntry(FrameTreeNode* frame_tree_node) const; | 234 FrameNavigationEntry* GetFrameEntry(FrameTreeNode* frame_tree_node) const; |
234 | 235 |
235 // Returns a map of frame unique names to |is_about_blank| for immediate | 236 // Returns a map of frame unique names to |is_about_blank| for immediate |
236 // children of the TreeNode associated with |frame_tree_node|. The renderer | 237 // children of the TreeNode associated with |frame_tree_node|. The renderer |
237 // process will use this list of names to know whether to ask the browser | 238 // process will use this list of names to know whether to ask the browser |
238 // process for a history item when new subframes are created during a | 239 // process for a history item when new subframes are created during a |
239 // back/forward navigation. (|is_about_blank| can be used to skip the request | 240 // back/forward navigation. (|is_about_blank| can be used to skip the request |
(...skipping 302 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 | 543 // persisted, unless specific data is taken out/put back in at save/restore |
543 // time (see TabNavigation for an example of this). | 544 // time (see TabNavigation for an example of this). |
544 std::map<std::string, base::string16> extra_data_; | 545 std::map<std::string, base::string16> extra_data_; |
545 | 546 |
546 DISALLOW_COPY_AND_ASSIGN(NavigationEntryImpl); | 547 DISALLOW_COPY_AND_ASSIGN(NavigationEntryImpl); |
547 }; | 548 }; |
548 | 549 |
549 } // namespace content | 550 } // namespace content |
550 | 551 |
551 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_ENTRY_IMPL_H_ | 552 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_ENTRY_IMPL_H_ |
OLD | NEW |