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

Side by Side Diff: content/public/browser/navigation_controller.cc

Issue 378743002: Navigation transitions: Place transition page in same process as destination page. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 5 months 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/public/browser/navigation_controller.h" 5 #include "content/public/browser/navigation_controller.h"
6 6
7 #include "base/memory/ref_counted_memory.h" 7 #include "base/memory/ref_counted_memory.h"
8 8
9 namespace content { 9 namespace content {
10 10
(...skipping 21 matching lines...) Expand all
32 frame_tree_node_id(other.frame_tree_node_id), 32 frame_tree_node_id(other.frame_tree_node_id),
33 referrer(other.referrer), 33 referrer(other.referrer),
34 extra_headers(other.extra_headers), 34 extra_headers(other.extra_headers),
35 is_renderer_initiated(other.is_renderer_initiated), 35 is_renderer_initiated(other.is_renderer_initiated),
36 override_user_agent(other.override_user_agent), 36 override_user_agent(other.override_user_agent),
37 transferred_global_request_id(other.transferred_global_request_id), 37 transferred_global_request_id(other.transferred_global_request_id),
38 base_url_for_data_url(other.base_url_for_data_url), 38 base_url_for_data_url(other.base_url_for_data_url),
39 virtual_url_for_data_url(other.virtual_url_for_data_url), 39 virtual_url_for_data_url(other.virtual_url_for_data_url),
40 browser_initiated_post_data(other.browser_initiated_post_data), 40 browser_initiated_post_data(other.browser_initiated_post_data),
41 should_replace_current_entry(false), 41 should_replace_current_entry(false),
42 should_clear_history_list(false) { 42 should_clear_history_list(false),
43 virtual_url_for_transition(other.virtual_url_for_transition) {
43 } 44 }
44 45
45 NavigationController::LoadURLParams& 46 NavigationController::LoadURLParams&
46 NavigationController::LoadURLParams::operator=( 47 NavigationController::LoadURLParams::operator=(
47 const NavigationController::LoadURLParams& other) { 48 const NavigationController::LoadURLParams& other) {
48 url = other.url; 49 url = other.url;
49 load_type = other.load_type; 50 load_type = other.load_type;
50 transition_type = other.transition_type; 51 transition_type = other.transition_type;
51 frame_tree_node_id = other.frame_tree_node_id; 52 frame_tree_node_id = other.frame_tree_node_id;
52 referrer = other.referrer; 53 referrer = other.referrer;
53 redirect_chain = other.redirect_chain; 54 redirect_chain = other.redirect_chain;
54 extra_headers = other.extra_headers; 55 extra_headers = other.extra_headers;
55 is_renderer_initiated = other.is_renderer_initiated; 56 is_renderer_initiated = other.is_renderer_initiated;
56 override_user_agent = other.override_user_agent; 57 override_user_agent = other.override_user_agent;
57 transferred_global_request_id = other.transferred_global_request_id; 58 transferred_global_request_id = other.transferred_global_request_id;
58 base_url_for_data_url = other.base_url_for_data_url; 59 base_url_for_data_url = other.base_url_for_data_url;
59 virtual_url_for_data_url = other.virtual_url_for_data_url; 60 virtual_url_for_data_url = other.virtual_url_for_data_url;
60 browser_initiated_post_data = other.browser_initiated_post_data; 61 browser_initiated_post_data = other.browser_initiated_post_data;
61 should_replace_current_entry = other.should_replace_current_entry; 62 should_replace_current_entry = other.should_replace_current_entry;
62 should_clear_history_list = other.should_clear_history_list; 63 should_clear_history_list = other.should_clear_history_list;
64 virtual_url_for_transition = other.virtual_url_for_transition;
63 65
64 return *this; 66 return *this;
65 } 67 }
66 68
67 } // namespace content 69 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698