OLD | NEW |
(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 navigation_type(FrameMsg_Navigate_Type::NORMAL), |
| 11 allow_download(true) { |
| 12 } |
| 13 |
| 14 CoreNavigationParams::~CoreNavigationParams() {} |
| 15 |
| 16 RequestNavigationParams::RequestNavigationParams() : is_post(false) {} |
| 17 |
| 18 RequestNavigationParams::~RequestNavigationParams() {} |
| 19 |
| 20 CommitNavigationParams::CommitNavigationParams() |
| 21 : page_id(-1), |
| 22 should_clear_history_list(false), |
| 23 pending_history_list_offset(-1), |
| 24 current_history_list_offset(-1), |
| 25 current_history_list_length(-1), |
| 26 is_overriding_user_agent(false) { |
| 27 } |
| 28 |
| 29 CommitNavigationParams::~CommitNavigationParams() {} |
| 30 |
| 31 } // namespace content |
OLD | NEW |