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

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

Issue 30323002: [DRAFT] Create RenderFrameHostManager. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 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 | Annotate | Revision Log
« no previous file with comments | « content/public/browser/navigation_controller.h ('k') | content/public/browser/page_navigator.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 (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
11 NavigationController::LoadURLParams::LoadURLParams(const GURL& url) 11 NavigationController::LoadURLParams::LoadURLParams(const GURL& url)
12 : url(url), 12 : url(url),
13 load_type(LOAD_TYPE_DEFAULT), 13 load_type(LOAD_TYPE_DEFAULT),
14 transition_type(PAGE_TRANSITION_LINK), 14 transition_type(PAGE_TRANSITION_LINK),
15 frame_tree_node_id(-1),
15 is_renderer_initiated(false), 16 is_renderer_initiated(false),
16 override_user_agent(UA_OVERRIDE_INHERIT), 17 override_user_agent(UA_OVERRIDE_INHERIT),
17 browser_initiated_post_data(NULL), 18 browser_initiated_post_data(NULL),
18 can_load_local_resources(false), 19 can_load_local_resources(false),
19 should_replace_current_entry(false), 20 should_replace_current_entry(false),
20 should_clear_history_list(false) { 21 should_clear_history_list(false) {
21 } 22 }
22 23
23 NavigationController::LoadURLParams::~LoadURLParams() { 24 NavigationController::LoadURLParams::~LoadURLParams() {
24 } 25 }
25 26
26 NavigationController::LoadURLParams::LoadURLParams( 27 NavigationController::LoadURLParams::LoadURLParams(
27 const NavigationController::LoadURLParams& other) 28 const NavigationController::LoadURLParams& other)
28 : url(other.url), 29 : url(other.url),
29 load_type(other.load_type), 30 load_type(other.load_type),
30 transition_type(other.transition_type), 31 transition_type(other.transition_type),
32 frame_tree_node_id(other.frame_tree_node_id),
31 referrer(other.referrer), 33 referrer(other.referrer),
32 extra_headers(other.extra_headers), 34 extra_headers(other.extra_headers),
33 is_renderer_initiated(other.is_renderer_initiated), 35 is_renderer_initiated(other.is_renderer_initiated),
34 override_user_agent(other.override_user_agent), 36 override_user_agent(other.override_user_agent),
35 transferred_global_request_id(other.transferred_global_request_id), 37 transferred_global_request_id(other.transferred_global_request_id),
36 base_url_for_data_url(other.base_url_for_data_url), 38 base_url_for_data_url(other.base_url_for_data_url),
37 virtual_url_for_data_url(other.virtual_url_for_data_url), 39 virtual_url_for_data_url(other.virtual_url_for_data_url),
38 browser_initiated_post_data(other.browser_initiated_post_data), 40 browser_initiated_post_data(other.browser_initiated_post_data),
39 should_replace_current_entry(false), 41 should_replace_current_entry(false),
40 should_clear_history_list(false) { 42 should_clear_history_list(false) {
(...skipping 14 matching lines...) Expand all
55 base_url_for_data_url = other.base_url_for_data_url; 57 base_url_for_data_url = other.base_url_for_data_url;
56 virtual_url_for_data_url = other.virtual_url_for_data_url; 58 virtual_url_for_data_url = other.virtual_url_for_data_url;
57 browser_initiated_post_data = other.browser_initiated_post_data; 59 browser_initiated_post_data = other.browser_initiated_post_data;
58 should_replace_current_entry = other.should_replace_current_entry; 60 should_replace_current_entry = other.should_replace_current_entry;
59 should_clear_history_list = other.should_clear_history_list; 61 should_clear_history_list = other.should_clear_history_list;
60 62
61 return *this; 63 return *this;
62 } 64 }
63 65
64 } // namespace content 66 } // namespace content
OLDNEW
« no previous file with comments | « content/public/browser/navigation_controller.h ('k') | content/public/browser/page_navigator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698