Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(174)

Side by Side Diff: content/common/navigation_params.cc

Issue 2445053002: Fix history nav to a script-injected about:blank frame. (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/common/navigation_params.h ('k') | content/renderer/render_frame_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/common/navigation_params.h" 5 #include "content/common/navigation_params.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 #include "content/common/service_worker/service_worker_types.h" 9 #include "content/common/service_worker/service_worker_types.h"
10 #include "content/public/common/browser_side_navigation_policy.h" 10 #include "content/public/common/browser_side_navigation_policy.h"
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 RequestNavigationParams::RequestNavigationParams( 143 RequestNavigationParams::RequestNavigationParams(
144 bool is_overriding_user_agent, 144 bool is_overriding_user_agent,
145 const std::vector<GURL>& redirects, 145 const std::vector<GURL>& redirects,
146 bool can_load_local_resources, 146 bool can_load_local_resources,
147 base::Time request_time, 147 base::Time request_time,
148 const PageState& page_state, 148 const PageState& page_state,
149 int32_t page_id, 149 int32_t page_id,
150 int nav_entry_id, 150 int nav_entry_id,
151 bool is_same_document_history_load, 151 bool is_same_document_history_load,
152 bool is_history_navigation_in_new_child, 152 bool is_history_navigation_in_new_child,
153 std::set<std::string> subframe_unique_names, 153 std::map<std::string, bool> subframe_unique_names,
154 bool has_committed_real_load, 154 bool has_committed_real_load,
155 bool intended_as_new_entry, 155 bool intended_as_new_entry,
156 int pending_history_list_offset, 156 int pending_history_list_offset,
157 int current_history_list_offset, 157 int current_history_list_offset,
158 int current_history_list_length, 158 int current_history_list_length,
159 bool is_view_source, 159 bool is_view_source,
160 bool should_clear_history_list, 160 bool should_clear_history_list,
161 bool has_user_gesture) 161 bool has_user_gesture)
162 : is_overriding_user_agent(is_overriding_user_agent), 162 : is_overriding_user_agent(is_overriding_user_agent),
163 redirects(redirects), 163 redirects(redirects),
(...skipping 28 matching lines...) Expand all
192 const RequestNavigationParams& request_params) 192 const RequestNavigationParams& request_params)
193 : common_params(common_params), 193 : common_params(common_params),
194 start_params(start_params), 194 start_params(start_params),
195 request_params(request_params) { 195 request_params(request_params) {
196 } 196 }
197 197
198 NavigationParams::~NavigationParams() { 198 NavigationParams::~NavigationParams() {
199 } 199 }
200 200
201 } // namespace content 201 } // namespace content
OLDNEW
« no previous file with comments | « content/common/navigation_params.h ('k') | content/renderer/render_frame_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698