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

Unified 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: Using non-inherited structs 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 side-by-side diff with in-line comments
Download patch
Index: content/common/navigation_params.cc
diff --git a/content/common/navigation_params.cc b/content/common/navigation_params.cc
new file mode 100644
index 0000000000000000000000000000000000000000..94000d55a80d4de453b5c01c0c4f129bd43b6d3c
--- /dev/null
+++ b/content/common/navigation_params.cc
@@ -0,0 +1,31 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "content/common/navigation_params.h"
+
+namespace content {
+CoreNavigationParams::CoreNavigationParams()
+ : transition(PAGE_TRANSITION_LINK),
+ navigation_type(FrameMsg_Navigate_Type::NORMAL),
+ allow_download(true) {
+}
+
+CoreNavigationParams::~CoreNavigationParams() {}
+
+RequestNavigationParams::RequestNavigationParams() : is_post(false) {}
+
+RequestNavigationParams::~RequestNavigationParams() {}
+
+CommitNavigationParams::CommitNavigationParams()
+ : page_id(-1),
+ should_clear_history_list(false),
+ pending_history_list_offset(-1),
+ current_history_list_offset(-1),
+ current_history_list_length(-1),
+ is_overriding_user_agent(false) {
+}
+
+CommitNavigationParams::~CommitNavigationParams() {}
+
+} // namespace content

Powered by Google App Engine
This is Rietveld 408576698