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 #include "content/browser/frame_host/navigation_entry_impl.h" | 5 #include "content/browser/frame_host/navigation_entry_impl.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 | 8 |
9 #include <queue> | 9 #include <queue> |
10 #include <utility> | 10 #include <utility> |
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
252 title_(title), | 252 title_(title), |
253 page_id_(page_id), | 253 page_id_(page_id), |
254 transition_type_(transition_type), | 254 transition_type_(transition_type), |
255 restore_type_(RESTORE_NONE), | 255 restore_type_(RESTORE_NONE), |
256 is_overriding_user_agent_(false), | 256 is_overriding_user_agent_(false), |
257 http_status_code_(0), | 257 http_status_code_(0), |
258 is_renderer_initiated_(is_renderer_initiated), | 258 is_renderer_initiated_(is_renderer_initiated), |
259 should_replace_entry_(false), | 259 should_replace_entry_(false), |
260 should_clear_history_list_(false), | 260 should_clear_history_list_(false), |
261 can_load_local_resources_(false), | 261 can_load_local_resources_(false), |
262 frame_tree_node_id_(-1) { | 262 frame_tree_node_id_(-1), |
| 263 reload_type_(NavigationController::NO_RELOAD) { |
263 #if defined(OS_ANDROID) | 264 #if defined(OS_ANDROID) |
264 has_user_gesture_ = false; | 265 has_user_gesture_ = false; |
265 #endif | 266 #endif |
266 } | 267 } |
267 | 268 |
268 NavigationEntryImpl::~NavigationEntryImpl() { | 269 NavigationEntryImpl::~NavigationEntryImpl() { |
269 } | 270 } |
270 | 271 |
271 int NavigationEntryImpl::GetUniqueID() const { | 272 int NavigationEntryImpl::GetUniqueID() const { |
272 return unique_id_; | 273 return unique_id_; |
(...skipping 620 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
893 return node; | 894 return node; |
894 | 895 |
895 // Enqueue any children and keep looking. | 896 // Enqueue any children and keep looking. |
896 for (auto* child : node->children) | 897 for (auto* child : node->children) |
897 work_queue.push(child); | 898 work_queue.push(child); |
898 } | 899 } |
899 return nullptr; | 900 return nullptr; |
900 } | 901 } |
901 | 902 |
902 } // namespace content | 903 } // namespace content |
OLD | NEW |