| Index: content/browser/frame_host/navigation_entry_impl.cc
|
| diff --git a/content/browser/frame_host/navigation_entry_impl.cc b/content/browser/frame_host/navigation_entry_impl.cc
|
| index b021d5eda18cea37a92d27924094752c5b77a5b7..fe7fe60da0c3197b898f9b9b1ce94325d392cc0a 100644
|
| --- a/content/browser/frame_host/navigation_entry_impl.cc
|
| +++ b/content/browser/frame_host/navigation_entry_impl.cc
|
| @@ -53,7 +53,8 @@ NavigationEntryImpl::NavigationEntryImpl()
|
| should_replace_entry_(false),
|
| should_clear_history_list_(false),
|
| can_load_local_resources_(false),
|
| - frame_tree_node_id_(-1) {
|
| + frame_tree_node_id_(-1),
|
| + is_transition_navigation_(false) {
|
| }
|
|
|
| NavigationEntryImpl::NavigationEntryImpl(SiteInstanceImpl* instance,
|
| @@ -82,7 +83,8 @@ NavigationEntryImpl::NavigationEntryImpl(SiteInstanceImpl* instance,
|
| should_replace_entry_(false),
|
| should_clear_history_list_(false),
|
| can_load_local_resources_(false),
|
| - frame_tree_node_id_(-1) {
|
| + frame_tree_node_id_(-1),
|
| + is_transition_navigation_(false) {
|
| }
|
|
|
| NavigationEntryImpl::~NavigationEntryImpl() {
|
| @@ -302,6 +304,15 @@ bool NavigationEntryImpl::IsRestored() const {
|
| return restore_type_ != RESTORE_NONE;
|
| }
|
|
|
| +void NavigationEntryImpl::SetIsTransitionNavigation(
|
| + bool is_transition_navigation) {
|
| + is_transition_navigation_ = is_transition_navigation;
|
| +}
|
| +
|
| +bool NavigationEntryImpl::IsTransitionNavigation() {
|
| + return is_transition_navigation_;
|
| +}
|
| +
|
| void NavigationEntryImpl::SetCanLoadLocalResources(bool allow) {
|
| can_load_local_resources_ = allow;
|
| }
|
|
|