| 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/navigator_impl.h" | 5 #include "content/browser/frame_host/navigator_impl.h" |
| 6 | 6 |
| 7 #include <utility> | 7 #include <utility> |
| 8 | 8 |
| 9 #include "base/logging.h" | 9 #include "base/logging.h" |
| 10 #include "base/metrics/histogram_macros.h" | 10 #include "base/metrics/histogram_macros.h" |
| (...skipping 407 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 418 FrameMsg_Navigate_Type::Value navigation_type = GetNavigationType( | 418 FrameMsg_Navigate_Type::Value navigation_type = GetNavigationType( |
| 419 controller_->GetBrowserContext(), entry, reload_type); | 419 controller_->GetBrowserContext(), entry, reload_type); |
| 420 dest_render_frame_host->Navigate( | 420 dest_render_frame_host->Navigate( |
| 421 entry.ConstructCommonNavigationParams( | 421 entry.ConstructCommonNavigationParams( |
| 422 frame_entry, post_body, dest_url, dest_referrer, navigation_type, | 422 frame_entry, post_body, dest_url, dest_referrer, navigation_type, |
| 423 lofi_state, navigation_start), | 423 lofi_state, navigation_start), |
| 424 entry.ConstructStartNavigationParams(), | 424 entry.ConstructStartNavigationParams(), |
| 425 entry.ConstructRequestNavigationParams( | 425 entry.ConstructRequestNavigationParams( |
| 426 frame_entry, is_same_document_history_load, | 426 frame_entry, is_same_document_history_load, |
| 427 is_history_navigation_in_new_child, | 427 is_history_navigation_in_new_child, |
| 428 entry.GetSubframeUniqueNames(frame_tree_node), | 428 entry.GetSubtreePageStates(frame_tree_node), |
| 429 frame_tree_node->has_committed_real_load(), | 429 frame_tree_node->has_committed_real_load(), |
| 430 controller_->GetPendingEntryIndex() == -1, | 430 controller_->GetPendingEntryIndex() == -1, |
| 431 controller_->GetIndexOfEntry(&entry), | 431 controller_->GetIndexOfEntry(&entry), |
| 432 controller_->GetLastCommittedEntryIndex(), | 432 controller_->GetLastCommittedEntryIndex(), |
| 433 controller_->GetEntryCount())); | 433 controller_->GetEntryCount())); |
| 434 } else { | 434 } else { |
| 435 dest_render_frame_host->navigation_handle()->set_is_transferring(false); | 435 dest_render_frame_host->navigation_handle()->set_is_transferring(false); |
| 436 } | 436 } |
| 437 } | 437 } |
| 438 | 438 |
| (...skipping 828 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1267 if (navigation_handle) | 1267 if (navigation_handle) |
| 1268 navigation_handle->update_entry_id_for_transfer(entry->GetUniqueID()); | 1268 navigation_handle->update_entry_id_for_transfer(entry->GetUniqueID()); |
| 1269 | 1269 |
| 1270 controller_->SetPendingEntry(std::move(entry)); | 1270 controller_->SetPendingEntry(std::move(entry)); |
| 1271 if (delegate_) | 1271 if (delegate_) |
| 1272 delegate_->NotifyChangedNavigationState(content::INVALIDATE_TYPE_URL); | 1272 delegate_->NotifyChangedNavigationState(content::INVALIDATE_TYPE_URL); |
| 1273 } | 1273 } |
| 1274 } | 1274 } |
| 1275 | 1275 |
| 1276 } // namespace content | 1276 } // namespace content |
| OLD | NEW |