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

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

Issue 562603002: Move PageTransition from //content/public/common to //ui/base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 3 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
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(ui::PAGE_TRANSITION_LINK),
15 frame_tree_node_id(-1), 15 frame_tree_node_id(-1),
16 is_renderer_initiated(false), 16 is_renderer_initiated(false),
17 override_user_agent(UA_OVERRIDE_INHERIT), 17 override_user_agent(UA_OVERRIDE_INHERIT),
18 browser_initiated_post_data(NULL), 18 browser_initiated_post_data(NULL),
19 can_load_local_resources(false), 19 can_load_local_resources(false),
20 should_replace_current_entry(false), 20 should_replace_current_entry(false),
21 should_clear_history_list(false) { 21 should_clear_history_list(false) {
22 } 22 }
23 23
24 NavigationController::LoadURLParams::~LoadURLParams() { 24 NavigationController::LoadURLParams::~LoadURLParams() {
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 base_url_for_data_url = other.base_url_for_data_url; 58 base_url_for_data_url = other.base_url_for_data_url;
59 virtual_url_for_data_url = other.virtual_url_for_data_url; 59 virtual_url_for_data_url = other.virtual_url_for_data_url;
60 browser_initiated_post_data = other.browser_initiated_post_data; 60 browser_initiated_post_data = other.browser_initiated_post_data;
61 should_replace_current_entry = other.should_replace_current_entry; 61 should_replace_current_entry = other.should_replace_current_entry;
62 should_clear_history_list = other.should_clear_history_list; 62 should_clear_history_list = other.should_clear_history_list;
63 63
64 return *this; 64 return *this;
65 } 65 }
66 66
67 } // namespace content 67 } // namespace content
OLDNEW
« no previous file with comments | « content/public/browser/navigation_controller.h ('k') | content/public/browser/navigation_entry.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698