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

Side by Side Diff: content/public/renderer/navigation_state.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
« no previous file with comments | « content/public/renderer/navigation_state.h ('k') | content/public/test/mock_download_item.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/renderer/navigation_state.h" 5 #include "content/public/renderer/navigation_state.h"
6 6
7 namespace content { 7 namespace content {
8 8
9 NavigationState::NavigationState(content::PageTransition transition_type, 9 NavigationState::NavigationState(ui::PageTransition transition_type,
10 bool is_content_initiated, 10 bool is_content_initiated,
11 int32 pending_page_id, 11 int32 pending_page_id,
12 int pending_history_list_offset, 12 int pending_history_list_offset,
13 bool history_list_was_cleared) 13 bool history_list_was_cleared)
14 : transition_type_(transition_type), 14 : transition_type_(transition_type),
15 request_committed_(false), 15 request_committed_(false),
16 is_content_initiated_(is_content_initiated), 16 is_content_initiated_(is_content_initiated),
17 pending_page_id_(pending_page_id), 17 pending_page_id_(pending_page_id),
18 pending_history_list_offset_(pending_history_list_offset), 18 pending_history_list_offset_(pending_history_list_offset),
19 history_list_was_cleared_(history_list_was_cleared), 19 history_list_was_cleared_(history_list_was_cleared),
20 should_replace_current_entry_(false), 20 should_replace_current_entry_(false),
21 was_within_same_page_(false), 21 was_within_same_page_(false),
22 transferred_request_child_id_(-1), 22 transferred_request_child_id_(-1),
23 transferred_request_request_id_(-1), 23 transferred_request_request_id_(-1),
24 allow_download_(true) { 24 allow_download_(true) {
25 } 25 }
26 26
27 NavigationState::~NavigationState() {} 27 NavigationState::~NavigationState() {}
28 28
29 } // namespace content 29 } // namespace content
OLDNEW
« no previous file with comments | « content/public/renderer/navigation_state.h ('k') | content/public/test/mock_download_item.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698