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

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

Issue 483773002: PlzNavigate: implement CommitNavigation on the browser side (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Split the class into structs used by IPCs 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "content/common/navigation_params.h"
6
7 namespace content {
8 CoreNavigationParams::CoreNavigationParams()
9 : transition(PAGE_TRANSITION_LINK) {
10 }
11
12 CoreNavigationParams::~CoreNavigationParams() {}
13
14 NavigationParamsWithCommitInfo::NavigationParamsWithCommitInfo()
15 : page_id(-1),
16 should_clear_history_list(false),
17 pending_history_list_offset(-1),
18 current_history_list_offset(-1),
19 current_history_list_length(-1),
20 navigation_type(FrameMsg_Navigate_Type::NORMAL),
21 is_overriding_user_agent(false) {
22 }
23
24 NavigationParamsWithCommitInfo::~NavigationParamsWithCommitInfo() {}
25
26 NavigationParamsWithRequestAndCommitInfo::
27 NavigationParamsWithRequestAndCommitInfo()
28 : is_post(false),
29 allow_download(true) {
30 }
31
32 NavigationParamsWithRequestAndCommitInfo::
33 ~NavigationParamsWithRequestAndCommitInfo() {
34 }
35
36 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698